From 2e41c1ed839f1c2f4af5bbf8565b539da31bcf96 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Wed, 22 Jan 2025 21:28:27 -0500 Subject: [PATCH] fix: CompanyDocument Add Property * add selected property to support edit-member functionality --- src/Entity/CompanyDocument.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Entity/CompanyDocument.php b/src/Entity/CompanyDocument.php index e956b16..7edf943 100644 --- a/src/Entity/CompanyDocument.php +++ b/src/Entity/CompanyDocument.php @@ -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;