src/Entity/PointsOfSale.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * PointsOfSale
  6.  *
  7.  * @ORM\Table(name="points_of_sale")
  8.  * @ORM\Entity(repositoryClass="App\Repository\PointsOfSaleRepository")
  9.  */
  10. class PointsOfSale
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int|null
  22.      *
  23.      * @ORM\Column(name="id_cashmag", type="integer", nullable=true)
  24.      */
  25.     private $idCashmag;
  26.     /**
  27.      * @var int|null
  28.      *
  29.      * @ORM\Column(name="id_country", type="integer", nullable=true)
  30.      */
  31.     private $idCountry;
  32.     /**
  33.      * @var string|null
  34.      *
  35.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  36.      */
  37.     private $name;
  38.     /**
  39.      * @var string|null
  40.      *
  41.      * @ORM\Column(name="name_webshop", type="string", length=255, nullable=true)
  42.      */
  43.     private $nameWebshop;
  44.     /**
  45.      * @var string|null
  46.      *
  47.      * @ORM\Column(name="address", type="string", length=255, nullable=true)
  48.      */
  49.     private $address;
  50.     /**
  51.      * @var string|null
  52.      *
  53.      * @ORM\Column(name="postal", type="string", length=255, nullable=true)
  54.      */
  55.     private $postal;
  56.     /**
  57.      * @var bool|null
  58.      *
  59.      * @ORM\Column(name="enable_credit", type="boolean", nullable=true)
  60.      */
  61.     private $enableCredit;
  62.     /**
  63.      * @var bool|null
  64.      *
  65.      * @ORM\Column(name="enable_order", type="boolean", nullable=true)
  66.      */
  67.     private $enableOrder;
  68.     /**
  69.      * @var bool|null
  70.      *
  71.      * @ORM\Column(name="has_alcool", type="boolean", nullable=true)
  72.      */
  73.     private $hasAlcool;
  74.     /**
  75.      * @var bool|null
  76.      *
  77.      * @ORM\Column(name="webshop_display_mode", type="boolean", nullable=true)
  78.      */
  79.     private $webshopDisplayMode;
  80.     /**
  81.      * @var int|null
  82.      *
  83.      * @ORM\Column(name="share_capital", type="integer", nullable=true)
  84.      */
  85.     private $shareCapital;
  86.     /**
  87.      * @var string|null
  88.      *
  89.      * @ORM\Column(name="legal_form", type="string", length=255, nullable=true)
  90.      */
  91.     private $legalForm;
  92.     /**
  93.      * @var string|null
  94.      *
  95.      * @ORM\Column(name="logo_base64", type="blob", length=0, nullable=true)
  96.      */
  97.     private $logoBase64;
  98.     /**
  99.      * @var string|null
  100.      *
  101.      * @ORM\Column(name="tax_identification", type="string", length=255, nullable=true)
  102.      */
  103.     private $taxIdentification;
  104.     /**
  105.      * @var string|null
  106.      *
  107.      * @ORM\Column(name="activity_identification", type="string", length=255, nullable=true)
  108.      */
  109.     private $activityIdentification;
  110.     /**
  111.      * @var string|null
  112.      *
  113.      * @ORM\Column(name="company_identification", type="string", length=255, nullable=true)
  114.      */
  115.     private $companyIdentification;
  116.     /**
  117.      * @var string|null
  118.      *
  119.      * @ORM\Column(name="phone_2", type="string", length=255, nullable=true)
  120.      */
  121.     private $phone2;
  122.     /**
  123.      * @var string|null
  124.      *
  125.      * @ORM\Column(name="phone", type="string", length=255, nullable=true)
  126.      */
  127.     private $phone;
  128.     /**
  129.      * @var string|null
  130.      *
  131.      * @ORM\Column(name="website", type="string", length=255, nullable=true)
  132.      */
  133.     private $website;
  134.     /**
  135.      * @var string|null
  136.      *
  137.      * @ORM\Column(name="city", type="string", length=255, nullable=true)
  138.      */
  139.     private $city;
  140.     public function getId(): ?int
  141.     {
  142.         return $this->id;
  143.     }
  144.     public function getIdCashmag(): ?int
  145.     {
  146.         return $this->idCashmag;
  147.     }
  148.     public function setIdCashmag(?int $idCashmag): self
  149.     {
  150.         $this->idCashmag $idCashmag;
  151.         return $this;
  152.     }
  153.     public function getIdCountry(): ?int
  154.     {
  155.         return $this->idCountry;
  156.     }
  157.     public function setIdCountry(?int $idCountry): self
  158.     {
  159.         $this->idCountry $idCountry;
  160.         return $this;
  161.     }
  162.     public function getName(): ?string
  163.     {
  164.         return $this->name;
  165.     }
  166.     public function setName(?string $name): self
  167.     {
  168.         $this->name $name;
  169.         return $this;
  170.     }
  171.     public function getNameWebshop(): ?string
  172.     {
  173.         return $this->nameWebshop;
  174.     }
  175.     public function setNameWebshop(?string $nameWebshop): self
  176.     {
  177.         $this->nameWebshop $nameWebshop;
  178.         return $this;
  179.     }
  180.     public function getAddress(): ?string
  181.     {
  182.         return $this->address;
  183.     }
  184.     public function setAddress(?string $address): self
  185.     {
  186.         $this->address $address;
  187.         return $this;
  188.     }
  189.     public function getPostal(): ?string
  190.     {
  191.         return $this->postal;
  192.     }
  193.     public function setPostal(?string $postal): self
  194.     {
  195.         $this->postal $postal;
  196.         return $this;
  197.     }
  198.     public function isEnableCredit(): ?bool
  199.     {
  200.         return $this->enableCredit;
  201.     }
  202.     public function setEnableCredit(?bool $enableCredit): self
  203.     {
  204.         $this->enableCredit $enableCredit;
  205.         return $this;
  206.     }
  207.     public function isEnableOrder(): ?bool
  208.     {
  209.         return $this->enableOrder;
  210.     }
  211.     public function setEnableOrder(?bool $enableOrder): self
  212.     {
  213.         $this->enableOrder $enableOrder;
  214.         return $this;
  215.     }
  216.     public function isHasAlcool(): ?bool
  217.     {
  218.         return $this->hasAlcool;
  219.     }
  220.     public function setHasAlcool(?bool $hasAlcool): self
  221.     {
  222.         $this->hasAlcool $hasAlcool;
  223.         return $this;
  224.     }
  225.     public function isWebshopDisplayMode(): ?bool
  226.     {
  227.         return $this->webshopDisplayMode;
  228.     }
  229.     public function setWebshopDisplayMode(?bool $webshopDisplayMode): self
  230.     {
  231.         $this->webshopDisplayMode $webshopDisplayMode;
  232.         return $this;
  233.     }
  234.     public function getShareCapital(): ?int
  235.     {
  236.         return $this->shareCapital;
  237.     }
  238.     public function setShareCapital(?int $shareCapital): self
  239.     {
  240.         $this->shareCapital $shareCapital;
  241.         return $this;
  242.     }
  243.     public function getLegalForm(): ?string
  244.     {
  245.         return $this->legalForm;
  246.     }
  247.     public function setLegalForm(?string $legalForm): self
  248.     {
  249.         $this->legalForm $legalForm;
  250.         return $this;
  251.     }
  252.     public function getLogoBase64()
  253.     {
  254.         return $this->logoBase64;
  255.     }
  256.     public function setLogoBase64($logoBase64): self
  257.     {
  258.         $this->logoBase64 $logoBase64;
  259.         return $this;
  260.     }
  261.     public function getTaxIdentification(): ?string
  262.     {
  263.         return $this->taxIdentification;
  264.     }
  265.     public function setTaxIdentification(?string $taxIdentification): self
  266.     {
  267.         $this->taxIdentification $taxIdentification;
  268.         return $this;
  269.     }
  270.     public function getActivityIdentification(): ?string
  271.     {
  272.         return $this->activityIdentification;
  273.     }
  274.     public function setActivityIdentification(?string $activityIdentification): self
  275.     {
  276.         $this->activityIdentification $activityIdentification;
  277.         return $this;
  278.     }
  279.     public function getCompanyIdentification(): ?string
  280.     {
  281.         return $this->companyIdentification;
  282.     }
  283.     public function setCompanyIdentification(?string $companyIdentification): self
  284.     {
  285.         $this->companyIdentification $companyIdentification;
  286.         return $this;
  287.     }
  288.     public function getPhone2(): ?string
  289.     {
  290.         return $this->phone2;
  291.     }
  292.     public function setPhone2(?string $phone2): self
  293.     {
  294.         $this->phone2 $phone2;
  295.         return $this;
  296.     }
  297.     public function getPhone(): ?string
  298.     {
  299.         return $this->phone;
  300.     }
  301.     public function setPhone(?string $phone): self
  302.     {
  303.         $this->phone $phone;
  304.         return $this;
  305.     }
  306.     public function getWebsite(): ?string
  307.     {
  308.         return $this->website;
  309.     }
  310.     public function setWebsite(?string $website): self
  311.     {
  312.         $this->website $website;
  313.         return $this;
  314.     }
  315.     public function getCity(): ?string
  316.     {
  317.         return $this->city;
  318.     }
  319.     public function setCity(?string $city): self
  320.     {
  321.         $this->city $city;
  322.         return $this;
  323.     }
  324. }