feat: special agreements for disposition

This commit is contained in:
Björn Fromme
2024-04-04 13:06:35 +02:00
parent 4d1ea7aad7
commit 26239488ba
19 changed files with 310 additions and 31 deletions
+15
View File
@@ -50,6 +50,9 @@ class Disposition implements BlameableEntityInterface, TimestampableEntityInterf
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $remarks;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $specialAgreements;
#[ORM\OneToMany(mappedBy: 'disposition', targetEntity: Upload::class, cascade: ['persist', 'remove'])]
private Collection $documents;
@@ -137,6 +140,18 @@ class Disposition implements BlameableEntityInterface, TimestampableEntityInterf
return $this;
}
public function getSpecialAgreements(): ?string
{
return $this->specialAgreements;
}
public function setSpecialAgreements(?string $specialAgreements): static
{
$this->specialAgreements = $specialAgreements;
return $this;
}
/**
* @return Collection<int, Upload>
*/