4 use Doctrine\ORM\Mapping
as ORM
;
5 use JMS\Serializer\Annotation
as Serializer
;
9 * @ORM\Table(name="Localisation")
10 * @Serializer\ExclusionPolicy("all")
16 * @ORM\Column(type="bigint")
17 * @ORM\GeneratedValue(strategy="AUTO")
22 * @ORM\ManyToOne(targetEntity="App\Entity\Person")
27 * @ORM\Column(type="datetime")
33 * @ORM\Column(type="float")
39 * @ORM\Column(type="float")
44 public function getId()
49 public function getPerson()
54 public function getTimestamp()
56 return $this->timestamp
;
59 public function getLatitude()
61 return $this->latitude
;
64 public function getLongitude()
66 return $this->longitude
;
69 public function setId($id)
75 public function setPerson($person)
77 $this->person
= $person;
81 public function setTimestamp($timestamp)
83 $this->timestamp
= $timestamp;
87 public function setLatitude($latitude)
89 $this->latitude
= $latitude;
93 public function setLongitude($longitude)
95 $this->longitude
= $longitude;