<?phpnamespace App\Entity;use App\Repository\BrandRepository;use App\Service\BrandService;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: BrandRepository::class)]class Brand{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $code = null; #[ORM\Column(length: 255)] private ?string $name = null; #[ORM\Column(length: 255)] private ?string $website = null; #[ORM\Column(length: 255)] private ?string $logo = null; #[ORM\Column(length: 255)] private ?string $favicon = null; #[ORM\Column(length: 255)] private ?string $stylesheet = null; #[ORM\Column(length: 255)] private ?string $contact = null; #[ORM\Column(length: 255)] private ?string $supportContact = null; #[ORM\Column] private ?bool $enableTierCharge = true; #[ORM\Column] private ?bool $enableLocationCheck = false; #[ORM\Column] private ?bool $splitShipmentPayment = false; #[ORM\Column(length: 255)] private ?string $phone = null; #[ORM\Column(length: 255, nullable: true)] private ?string $siren = null; #[ORM\Column(length: 255, nullable: true)] private ?string $siret = null; #[ORM\Column(length: 255)] private ?string $companyName = null; #[ORM\Column(length: 255, nullable: true)] private ?string $rcs = null; #[ORM\Column(length: 255, nullable: true)] private ?string $vatNumber = null; #[ORM\Column(nullable: true)] private ?float $shareCapital = null; #[ORM\Column(length: 10, nullable: true)] private ?string $apeCode = null; #[ORM\Column(type: "json", nullable: true)] private ?array $bankData = []; #[ORM\OneToOne(cascade: ['persist', 'remove'])] private ?Address $address = null; #[ORM\OneToOne(cascade: ['persist', 'remove'])] private ?Address $warehouseAddress = null; #[ORM\Column(length: 255, nullable: true)] private ?string $dashboardLink = null; public function getId(): ?int { return $this->id; } public function getCode(): ?string { return $this->code; } public function setCode(string $code): self { $this->code = $code; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getWebsite(): ?string { return $this->website; } public function setWebsite(string $website): self { $this->website = $website; return $this; } public function getLogo(): ?string { return $this->logo; } public function setLogo(string $logo): self { $this->logo = $logo; return $this; } public function getFavicon(): ?string { return $this->favicon; } public function setFavicon(string $favicon): self { $this->favicon = $favicon; return $this; } public function getStylesheet(): ?string { return $this->stylesheet; } public function setStylesheet(string $stylesheet): self { $this->stylesheet = $stylesheet; return $this; } public function getContact(): ?string { return $this->contact; } public function setContact(string $contact): self { $this->contact = $contact; return $this; } /** * @return string|null */ public function getSupportContact(): ?string { return $this->supportContact; } /** * @param string|null $supportContact * @return Brand */ public function setSupportContact(?string $supportContact): Brand { $this->supportContact = $supportContact; return $this; } public function isEnableTierCharge(): ?bool { return $this->enableTierCharge; } public function setEnableTierCharge(bool $enableTierCharge): self { $this->enableTierCharge = $enableTierCharge; return $this; } public function getEnableLocationCheck(): ?bool { return $this->enableLocationCheck; } public function setEnableLocationCheck(?bool $enableLocationCheck): Brand { $this->enableLocationCheck = $enableLocationCheck; return $this; } public function getSplitShipmentPayment(): ?bool { return $this->splitShipmentPayment; } public function setSplitShipmentPayment(?bool $splitShipmentPayment): Brand { $this->splitShipmentPayment = $splitShipmentPayment; return $this; } public function isEnableLocationCheck(): ?bool { return $this->enableLocationCheck; } public function isSplitShipmentPayment(): ?bool { return $this->splitShipmentPayment; } public function getPhone(): ?string { return $this->phone; } public function setPhone(string $phone): self { $this->phone = $phone; return $this; } public function getSiren(): ?string { return $this->siren; } public function setSiren(string $siren): self { $this->siren = $siren; return $this; } public function getSiret(): ?string { return $this->siret; } public function setSiret(string $siret): self { $this->siret = $siret; return $this; } public function getCompanyName(): ?string { return $this->companyName; } public function setCompanyName(string $companyName): self { $this->companyName = $companyName; return $this; } public function getRcs(): ?string { return $this->rcs; } public function setRcs(string $rcs): self { $this->rcs = $rcs; return $this; } public function getVatNumber(): ?string { return $this->vatNumber; } public function setVatNumber(string $vatNumber): self { $this->vatNumber = $vatNumber; return $this; } public function getShareCapital(): ?float { return $this->shareCapital; } public function setShareCapital(float $shareCapital): self { $this->shareCapital = $shareCapital; return $this; } public function getApeCode(): ?string { return $this->apeCode; } public function setApeCode(string $apeCode): self { $this->apeCode = $apeCode; return $this; } public function getBankData(): ?array { return $this->bankData; } public function setBankData(?array $bankData): Brand { $this->bankData = $bankData; return $this; } public function getAddress(): ?Address { return $this->address; } public function setAddress(?Address $address): self { $this->address = $address; return $this; } public function getWarehouseAddress(): ?Address { return $this->warehouseAddress; } public function setWarehouseAddress(?Address $address): self { $this->warehouseAddress = $address; return $this; } public function getDashboardLink(): ?string { return $this->dashboardLink; } public function setDashboardLink(string $dashboardLink): static { $this->dashboardLink = $dashboardLink; return $this; }}