<?php
namespace App\Entity;
use App\Repository\CoordonneRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CoordonneRepository::class)
*/
class Coordonne
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $title;
/**
* @ORM\Column(type="string", length=255)
*/
private $latitude;
/**
* @ORM\Column(type="string", length=255)
*/
private $longitude;
/**
* @ORM\ManyToOne(targetEntity=StateDeliveryOrder::class)
*/
private $refArticle;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getLatitude(): ?string
{
return $this->latitude;
}
public function setLatitude(string $latitude): self
{
$this->latitude = $latitude;
return $this;
}
public function getLongitude(): ?string
{
return $this->longitude;
}
public function setLongitude(string $longitude): self
{
$this->longitude = $longitude;
return $this;
}
public function getRefArticle(): ?StateDeliveryOrder
{
return $this->refArticle;
}
public function setRefArticle(?StateDeliveryOrder $refArticle): self
{
$this->refArticle = $refArticle;
return $this;
}
}