src/Entity/Main/ApiZones.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ApiZones
  6.  *
  7.  * @ORM\Table(name="api_zones")
  8.  * @ORM\Entity(repositoryClass="App\Repository\Main\ApiZonesRepository")
  9.  */
  10. class ApiZones
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="location", type="integer", nullable=false)
  24.      */
  25.     private $location;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="name", type="string", length=255, nullable=false)
  30.      */
  31.     private $name;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="friendly", type="string", length=250, nullable=false)
  36.      */
  37.     private $friendly;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="coord", type="text", length=16777215, nullable=false)
  42.      */
  43.     private $coord;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getLocation(): ?int
  49.     {
  50.         return $this->location;
  51.     }
  52.     public function setLocation(int $location): self
  53.     {
  54.         $this->location $location;
  55.         return $this;
  56.     }
  57.     public function getName(): ?string
  58.     {
  59.         return $this->name;
  60.     }
  61.     public function setName(string $name): self
  62.     {
  63.         $this->name $name;
  64.         return $this;
  65.     }
  66.     public function getFriendly(): ?string
  67.     {
  68.         return $this->friendly;
  69.     }
  70.     public function setFriendly(string $friendly): self
  71.     {
  72.         $this->friendly $friendly;
  73.         return $this;
  74.     }
  75.     public function getCoord(): ?string
  76.     {
  77.         return $this->coord;
  78.     }
  79.     public function setCoord(string $coord): self
  80.     {
  81.         $this->coord $coord;
  82.         return $this;
  83.     }
  84. }