<?php
namespace App\Entity\Main;
use Doctrine\ORM\Mapping as ORM;
/**
* ApiLocationsGps
*
* @ORM\Table(name="api_locations_gps", indexes={@ORM\Index(name="id", columns={"id"})})
* @ORM\Entity(repositoryClass="App\Repository\Main\ApiLocationsGpsRepository")
*/
class ApiLocationsGps
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="name", type="string", length=255, nullable=true, options={"default"="NULL"})
*/
private $name = 'NULL';
/**
* @var string|null
*
* @ORM\Column(name="glat", type="string", length=15, nullable=true, options={"default"="NULL"})
*/
private $glat = 'NULL';
/**
* @var string|null
*
* @ORM\Column(name="glon", type="string", length=15, nullable=true, options={"default"="NULL"})
*/
private $glon = 'NULL';
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getGlat(): ?string
{
return $this->glat;
}
public function setGlat(?string $glat): self
{
$this->glat = $glat;
return $this;
}
public function getGlon(): ?string
{
return $this->glon;
}
public function setGlon(?string $glon): self
{
$this->glon = $glon;
return $this;
}
}