<?php
namespace App\Entity\Main;
use Doctrine\ORM\Mapping as ORM;
/**
* ApiZones
*
* @ORM\Table(name="api_zones")
* @ORM\Entity(repositoryClass="App\Repository\Main\ApiZonesRepository")
*/
class ApiZones
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="location", type="integer", nullable=false)
*/
private $location;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="friendly", type="string", length=250, nullable=false)
*/
private $friendly;
/**
* @var string
*
* @ORM\Column(name="coord", type="text", length=16777215, nullable=false)
*/
private $coord;
public function getId(): ?int
{
return $this->id;
}
public function getLocation(): ?int
{
return $this->location;
}
public function setLocation(int $location): self
{
$this->location = $location;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getFriendly(): ?string
{
return $this->friendly;
}
public function setFriendly(string $friendly): self
{
$this->friendly = $friendly;
return $this;
}
public function getCoord(): ?string
{
return $this->coord;
}
public function setCoord(string $coord): self
{
$this->coord = $coord;
return $this;
}
}