X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FEntity%2FPerson.php;h=934b2be550db9866fda3b712ed807ae994ae6da4;hb=eaccb96ea30d1e2f0789ab34d87deb8049df62b9;hp=d1c7886bf2dfab2cda322d0a2d35322077b85465;hpb=d68c207331ee5c52769c538984e69ca7bbe5e902;p=Project_proches_de_moi-server.git diff --git a/src/Entity/Person.php b/src/Entity/Person.php index d1c7886..934b2be 100644 --- a/src/Entity/Person.php +++ b/src/Entity/Person.php @@ -3,11 +3,13 @@ namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; +use JMS\Serializer\Annotation\ExclusionPolicy; +use JMS\Serializer\Annotation\Expose; /** * @ORM\Entity() * @ORM\Table(name="Person", indexes={@ORM\Index(name="authentification_idx", columns={"email", "password"}), - * @ORM\Index(name="search_idx", columns={"firstname", "lastname"})}); + * @ORM\Index(name="search_idx", columns={"firstname", "lastname", "email"})}); */ class Person {