feat: special agreements for disposition
This commit is contained in:
1 parent
4d1ea7aad7
commit
26239488ba
19 files changed
+310
-31
No files matched your search
@@ -9,11 +9,13 @@ class DocumentCheckDto
|
||||
private Upload $upload;
|
||||
private ?string $status = null;
|
||||
private ?string $comment;
|
||||
private ?string $specialAgreements;
|
||||
|
||||
public function __construct(Upload $upload)
|
||||
{
|
||||
$this->upload = $upload;
|
||||
$this->comment = $upload->getComment();
|
||||
$this->specialAgreements = $upload->getDisposition()?->getSpecialAgreements();
|
||||
}
|
||||
|
||||
public function getUpload(): Upload
|
||||
@@ -44,4 +46,16 @@ class DocumentCheckDto
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSpecialAgreements(): ?string
|
||||
{
|
||||
return $this->specialAgreements;
|
||||
}
|
||||
|
||||
public function setSpecialAgreements(?string $specialAgreements): static
|
||||
{
|
||||
$this->specialAgreements = $specialAgreements;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user