X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/09388c0e8247c60b1f01360944d9ad416810b77b..b303dcc7dbce3020c49aaa823ac60e4e90ad062e:/Entity/User.php?ds=inline diff --git a/Entity/User.php b/Entity/User.php index 380c7ff..5220e77 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -15,33 +15,33 @@ use Doctrine\Common\Collections\Collection; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Event\PreUpdateEventArgs; -use Symfony\Component\Security\Core\User\UserInterface; -use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface; - use Rapsys\UserBundle\Entity\Civility; use Rapsys\UserBundle\Entity\Group; +use Symfony\Component\Security\Core\User\UserInterface; +use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface; + /** * User */ class User implements UserInterface, PasswordAuthenticatedUserInterface { /** - * @var ?integer + * Primary key */ - protected ?int $id; + protected ?int $id = null; /** - * @var \DateTime + * Create datetime */ protected \DateTime $created; /** - * @var \DateTime + * Update datetime */ protected \DateTime $updated; /** - * @var Doctrine\Common\Collections\Collection + * Groups collection */ protected Collection $groups;