fix: CompanyDocument

Add Property
* add selected property to support edit-member functionality
This commit is contained in:
Ryan Prather 2025-01-22 21:28:27 -05:00
parent 6ecb76a829
commit 2e41c1ed83

View File

@ -34,6 +34,8 @@ class CompanyDocument
#[ORM\Column(type: Types::JSON, enumType: DocumentExtras::class, nullable: true)]
private array $extras = [];
private bool $selected = false;
public function getId(): ?Uuid
{
return $this->id;
@ -87,6 +89,18 @@ class CompanyDocument
return $this;
}
public function isSelected(): bool
{
return $this->selected;
}
public function setSelected(): static
{
$this->selected = true;
return $this;
}
public function getExtras(): array
{
return $this->extras;