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