up: Company
* add vendorId property and methods, may need to add more for reporting data
This commit is contained in:
parent
c4d1a33272
commit
428304e5af
@ -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<int, User>
|
||||
*/
|
||||
@ -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 ? "<br/><a href='$this->url' target='_blank'>$this->url</a>" : '');
|
||||
|
Loading…
Reference in New Issue
Block a user