Feat: Implement disposition document handling for admins

This commit is contained in:
Björn Fromme
2023-10-13 17:20:13 +02:00
parent 789249cba7
commit 194cd4e59d
12 changed files with 282 additions and 39 deletions
+46
View File
@@ -0,0 +1,46 @@
<?php
namespace App\Model;
use App\Entity\Upload;
class DocumentCheckDto
{
private Upload $upload;
private ?string $status = null;
private ?string $comment = null;
public function __construct(Upload $upload)
{
$this->upload = $upload;
}
public function getUpload(): Upload
{
return $this->upload;
}
public function getStatus(): string
{
return $this->status;
}
public function setStatus(string $status): static
{
$this->status = $status;
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): static
{
$this->comment = $comment;
return $this;
}
}