From 428304e5af4d0444bee0f133741f7785d909198b Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sun, 9 Feb 2025 18:16:14 -0500 Subject: [PATCH] up: Company * add vendorId property and methods, may need to add more for reporting data --- src/Entity/Company/Company.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Entity/Company/Company.php b/src/Entity/Company/Company.php index 9e1f1c4..1084e4c 100644 --- a/src/Entity/Company/Company.php +++ b/src/Entity/Company/Company.php @@ -52,6 +52,9 @@ class Company #[ORM\Column(type: Types::STRING, length: 255, nullable: true)] private ?string $companyLogo = null; + #[ORM\Column(length: 64)] + private ?string $vendorId = null; + /** * @var Collection */ @@ -234,6 +237,18 @@ class Company return $this; } + public function getVendorId(): ?string + { + return $this->vendorId; + } + + public function setVendorId(string $vendorId): static + { + $this->vendorId = $vendorId; + + return $this; + } + public function __toString(): string { $url = ($this->url ? "
$this->url" : '');