fix: CompanyDocument
Add Property * add selected property to support edit-member functionality
This commit is contained in:
parent
6ecb76a829
commit
2e41c1ed83
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user