Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

src/Entity/Brand.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BrandRepository;
  4. use App\Service\BrandService;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassBrandRepository::class)]
  7. class Brand
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $code null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $name null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $website null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $logo null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $favicon null;
  23.     #[ORM\Column(length255)]
  24.     private ?string $stylesheet null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $contact null;
  27.     #[ORM\Column(length255)]
  28.     private ?string $supportContact null;
  29.     #[ORM\Column]
  30.     private ?bool $enableTierCharge true;
  31.     #[ORM\Column]
  32.     private ?bool $enableLocationCheck false;
  33.     #[ORM\Column]
  34.     private ?bool $splitShipmentPayment false;
  35.     #[ORM\Column(length255)]
  36.     private ?string $phone null;
  37.     #[ORM\Column(length255nullabletrue)]
  38.     private ?string $siren null;
  39.     #[ORM\Column(length255nullabletrue)]
  40.     private ?string $siret null;
  41.     #[ORM\Column(length255)]
  42.     private ?string $companyName null;
  43.     #[ORM\Column(length255nullabletrue)]
  44.     private ?string $rcs null;
  45.     #[ORM\Column(length255nullabletrue)]
  46.     private ?string $vatNumber null;
  47.     #[ORM\Column(nullabletrue)]
  48.     private ?float $shareCapital null;
  49.     #[ORM\Column(length10nullabletrue)]
  50.     private ?string $apeCode null;
  51.     #[ORM\Column(type"json"nullabletrue)]
  52.     private ?array $bankData = [];
  53.     #[ORM\OneToOne(cascade: ['persist''remove'])]
  54.     private ?Address $address null;
  55.     #[ORM\OneToOne(cascade: ['persist''remove'])]
  56.     private ?Address $warehouseAddress null;
  57.     #[ORM\Column(length255nullabletrue)]
  58.     private ?string $dashboardLink null;
  59.     public function getId(): ?int
  60.     {
  61.         return $this->id;
  62.     }
  63.     public function getCode(): ?string
  64.     {
  65.         return $this->code;
  66.     }
  67.     public function setCode(string $code): self
  68.     {
  69.         $this->code $code;
  70.         return $this;
  71.     }
  72.     public function getName(): ?string
  73.     {
  74.         return $this->name;
  75.     }
  76.     public function setName(string $name): self
  77.     {
  78.         $this->name $name;
  79.         return $this;
  80.     }
  81.     public function getWebsite(): ?string
  82.     {
  83.         return $this->website;
  84.     }
  85.     public function setWebsite(string $website): self
  86.     {
  87.         $this->website $website;
  88.         return $this;
  89.     }
  90.     public function getLogo(): ?string
  91.     {
  92.         return $this->logo;
  93.     }
  94.     public function setLogo(string $logo): self
  95.     {
  96.         $this->logo $logo;
  97.         return $this;
  98.     }
  99.     public function getFavicon(): ?string
  100.     {
  101.         return $this->favicon;
  102.     }
  103.     public function setFavicon(string $favicon): self
  104.     {
  105.         $this->favicon $favicon;
  106.         return $this;
  107.     }
  108.     public function getStylesheet(): ?string
  109.     {
  110.         return $this->stylesheet;
  111.     }
  112.     public function setStylesheet(string $stylesheet): self
  113.     {
  114.         $this->stylesheet $stylesheet;
  115.         return $this;
  116.     }
  117.     public function getContact(): ?string
  118.     {
  119.         return $this->contact;
  120.     }
  121.     public function setContact(string $contact): self
  122.     {
  123.         $this->contact $contact;
  124.         return $this;
  125.     }
  126.     /**
  127.      * @return string|null
  128.      */
  129.     public function getSupportContact(): ?string
  130.     {
  131.         return $this->supportContact;
  132.     }
  133.     /**
  134.      * @param string|null $supportContact
  135.      * @return Brand
  136.      */
  137.     public function setSupportContact(?string $supportContact): Brand
  138.     {
  139.         $this->supportContact $supportContact;
  140.         return $this;
  141.     }
  142.     public function isEnableTierCharge(): ?bool
  143.     {
  144.         return $this->enableTierCharge;
  145.     }
  146.     public function setEnableTierCharge(bool $enableTierCharge): self
  147.     {
  148.         $this->enableTierCharge $enableTierCharge;
  149.         return $this;
  150.     }
  151.     public function getEnableLocationCheck(): ?bool
  152.     {
  153.         return $this->enableLocationCheck;
  154.     }
  155.     public function setEnableLocationCheck(?bool $enableLocationCheck): Brand
  156.     {
  157.         $this->enableLocationCheck $enableLocationCheck;
  158.         return $this;
  159.     }
  160.     public function getSplitShipmentPayment(): ?bool
  161.     {
  162.         return $this->splitShipmentPayment;
  163.     }
  164.     public function setSplitShipmentPayment(?bool $splitShipmentPayment): Brand
  165.     {
  166.         $this->splitShipmentPayment $splitShipmentPayment;
  167.         return $this;
  168.     }
  169.     public function isEnableLocationCheck(): ?bool
  170.     {
  171.         return $this->enableLocationCheck;
  172.     }
  173.     public function isSplitShipmentPayment(): ?bool
  174.     {
  175.         return $this->splitShipmentPayment;
  176.     }
  177.     public function getPhone(): ?string
  178.     {
  179.         return $this->phone;
  180.     }
  181.     public function setPhone(string $phone): self
  182.     {
  183.         $this->phone $phone;
  184.         return $this;
  185.     }
  186.     public function getSiren(): ?string
  187.     {
  188.         return $this->siren;
  189.     }
  190.     public function setSiren(string $siren): self
  191.     {
  192.         $this->siren $siren;
  193.         return $this;
  194.     }
  195.     public function getSiret(): ?string
  196.     {
  197.         return $this->siret;
  198.     }
  199.     public function setSiret(string $siret): self
  200.     {
  201.         $this->siret $siret;
  202.         return $this;
  203.     }
  204.     public function getCompanyName(): ?string
  205.     {
  206.         return $this->companyName;
  207.     }
  208.     public function setCompanyName(string $companyName): self
  209.     {
  210.         $this->companyName $companyName;
  211.         return $this;
  212.     }
  213.     public function getRcs(): ?string
  214.     {
  215.         return $this->rcs;
  216.     }
  217.     public function setRcs(string $rcs): self
  218.     {
  219.         $this->rcs $rcs;
  220.         return $this;
  221.     }
  222.     public function getVatNumber(): ?string
  223.     {
  224.         return $this->vatNumber;
  225.     }
  226.     public function setVatNumber(string $vatNumber): self
  227.     {
  228.         $this->vatNumber $vatNumber;
  229.         return $this;
  230.     }
  231.     public function getShareCapital(): ?float
  232.     {
  233.         return $this->shareCapital;
  234.     }
  235.     public function setShareCapital(float $shareCapital): self
  236.     {
  237.         $this->shareCapital $shareCapital;
  238.         return $this;
  239.     }
  240.     public function getApeCode(): ?string
  241.     {
  242.         return $this->apeCode;
  243.     }
  244.     public function setApeCode(string $apeCode): self
  245.     {
  246.         $this->apeCode $apeCode;
  247.         return $this;
  248.     }
  249.     public function getBankData(): ?array
  250.     {
  251.         return $this->bankData;
  252.     }
  253.     public function setBankData(?array $bankData): Brand
  254.     {
  255.         $this->bankData $bankData;
  256.         return $this;
  257.     }
  258.     public function getAddress(): ?Address
  259.     {
  260.         return $this->address;
  261.     }
  262.     public function setAddress(?Address $address): self
  263.     {
  264.         $this->address $address;
  265.         return $this;
  266.     }
  267.     public function getWarehouseAddress(): ?Address
  268.     {
  269.         return $this->warehouseAddress;
  270.     }
  271.     public function setWarehouseAddress(?Address $address): self
  272.     {
  273.         $this->warehouseAddress $address;
  274.         return $this;
  275.     }
  276.     public function getDashboardLink(): ?string
  277.     {
  278.         return $this->dashboardLink;
  279.     }
  280.     public function setDashboardLink(string $dashboardLink): static
  281.     {
  282.         $this->dashboardLink $dashboardLink;
  283.         return $this;
  284.     }
  285. }