src/Entity/ObjectValue/Store.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\ObjectValue;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Embeddable
  6.  */
  7. class Store
  8. {
  9.     /**
  10.      * @ORM\Column(type="string", nullable=true)
  11.      *
  12.      * @var string
  13.      */
  14.     protected $code;
  15.     /**
  16.      * @ORM\Column(type="string", nullable=true)
  17.      *
  18.      * @var string
  19.      */
  20.     protected $name;
  21.     /**
  22.      * @ORM\Column(type="string", nullable=true)
  23.      *
  24.      * @var string
  25.      */
  26.     protected $location;
  27.     /**
  28.      * @ORM\Column(type="string", nullable=true)
  29.      *
  30.      * @var string
  31.      */
  32.     protected $email;
  33.     /**
  34.      * @ORM\Column(type="string", nullable=true)
  35.      *
  36.      * @var string
  37.      */
  38.     protected $address;
  39.     /**
  40.      * @ORM\Column(type="float", nullable=true)
  41.      */
  42.     protected $latitude;
  43.     /**
  44.      * @ORM\Column(type="float", nullable=true)
  45.      */
  46.     protected $longitude;
  47.     public function getCode(): ?string
  48.     {
  49.         return $this->code;
  50.     }
  51.     /**
  52.      * @return Store
  53.      */
  54.     public function setCode(string $code): self
  55.     {
  56.         $this->code $code;
  57.         return $this;
  58.     }
  59.     /**
  60.      * @return string
  61.      */
  62.     public function getName(): ?string
  63.     {
  64.         return $this->name;
  65.     }
  66.     /**
  67.      * @return Store
  68.      */
  69.     public function setName(string $name): self
  70.     {
  71.         $this->name $name;
  72.         return $this;
  73.     }
  74.     public function getLocation(): ?string
  75.     {
  76.         return $this->location;
  77.     }
  78.     /**
  79.      * @return Store
  80.      */
  81.     public function setLocation(string $location): self
  82.     {
  83.         $this->location $location;
  84.         return $this;
  85.     }
  86.     public function getEmail(): ?string
  87.     {
  88.         return $this->email;
  89.     }
  90.     /**
  91.      * @return Store
  92.      */
  93.     public function setEmail(string $email): self
  94.     {
  95.         $this->email $email;
  96.         return $this;
  97.     }
  98.     /**
  99.      * @return string
  100.      */
  101.     public function getAddress(): ?string
  102.     {
  103.         return $this->address;
  104.     }
  105.     /**
  106.      * @return Store
  107.      */
  108.     public function setAddress(string $address): self
  109.     {
  110.         $this->address $address;
  111.         return $this;
  112.     }
  113.     public function getLatitude(): ?float
  114.     {
  115.         return $this->latitude;
  116.     }
  117.     public function setLatitude(?float $latitude): self
  118.     {
  119.         $this->latitude $latitude;
  120.         return $this;
  121.     }
  122.     public function getLongitude(): ?float
  123.     {
  124.         return $this->longitude;
  125.     }
  126.     public function setLongitude(?float $longitude): self
  127.     {
  128.         $this->longitude $longitude;
  129.         return $this;
  130.     }
  131. }