|
@@ -54,6 +54,7 @@ class User implements UserInterface
|
|
* @var string
|
|
* @var string
|
|
*
|
|
*
|
|
* @ORM\Column(name="mail", type="string", length=255, unique=true)
|
|
* @ORM\Column(name="mail", type="string", length=255, unique=true)
|
|
|
|
+ * @Assert\Email()
|
|
*/
|
|
*/
|
|
private $mail;
|
|
private $mail;
|
|
|
|
|
|
@@ -75,6 +76,7 @@ class User implements UserInterface
|
|
* @var \DateTime
|
|
* @var \DateTime
|
|
*
|
|
*
|
|
* @ORM\Column(name="token_validity", type="datetime")
|
|
* @ORM\Column(name="token_validity", type="datetime")
|
|
|
|
+ * @Assert\DateTime()
|
|
*/
|
|
*/
|
|
private $tokenValidity;
|
|
private $tokenValidity;
|
|
|
|
|
|
@@ -96,6 +98,7 @@ class User implements UserInterface
|
|
* @var \DateTime
|
|
* @var \DateTime
|
|
*
|
|
*
|
|
* @ORM\Column(name="last_activity", type="datetime")
|
|
* @ORM\Column(name="last_activity", type="datetime")
|
|
|
|
+ * @Assert\DateTime()
|
|
*/
|
|
*/
|
|
private $lastActivity;
|
|
private $lastActivity;
|
|
|
|
|