namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
+use JMS\Serializer\Annotation as Serializer;
/**
* @ORM\Entity()
* @ORM\Table(name="Localisation")
+ * @Serializer\ExclusionPolicy("all")
*/
class Localisation
{
/**
* @ORM\Column(type="datetime")
+ * @Serializer\Expose
*/
protected $timestamp;
/**
* @ORM\Column(type="float")
+ * @Serializer\Expose
*/
protected $latitude;
/**
* @ORM\Column(type="float")
+ * @Serializer\Expose
*/
protected $longitude;