diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/User.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/User.php | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/User.php b/src/Wallabag/CoreBundle/Entity/User.php index f05c8760..6a7619ac 100644 --- a/src/Wallabag/CoreBundle/Entity/User.php +++ b/src/Wallabag/CoreBundle/Entity/User.php | |||
@@ -78,6 +78,16 @@ class User implements AdvancedUserInterface, \Serializable | |||
78 | private $isActive = true; | 78 | private $isActive = true; |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * @ORM\Column(name="confirmation_token", type="string", nullable=true) | ||
82 | */ | ||
83 | private $confirmationToken; | ||
84 | |||
85 | /** | ||
86 | * @ORM\Column(name="password_requested_at", type="datetime", nullable=true) | ||
87 | */ | ||
88 | private $passwordRequestedAt; | ||
89 | |||
90 | /** | ||
81 | * @var date | 91 | * @var date |
82 | * | 92 | * |
83 | * @ORM\Column(name="created_at", type="datetime") | 93 | * @ORM\Column(name="created_at", type="datetime") |
@@ -377,4 +387,50 @@ class User implements AdvancedUserInterface, \Serializable | |||
377 | { | 387 | { |
378 | return $this->config; | 388 | return $this->config; |
379 | } | 389 | } |
390 | |||
391 | /** | ||
392 | * Set confirmationToken | ||
393 | * | ||
394 | * @param string $confirmationToken | ||
395 | * @return User | ||
396 | */ | ||
397 | public function setConfirmationToken($confirmationToken) | ||
398 | { | ||
399 | $this->confirmationToken = $confirmationToken; | ||
400 | |||
401 | return $this; | ||
402 | } | ||
403 | |||
404 | /** | ||
405 | * Get confirmationToken | ||
406 | * | ||
407 | * @return string | ||
408 | */ | ||
409 | public function getConfirmationToken() | ||
410 | { | ||
411 | return $this->confirmationToken; | ||
412 | } | ||
413 | |||
414 | /** | ||
415 | * Set passwordRequestedAt | ||
416 | * | ||
417 | * @param \DateTime $passwordRequestedAt | ||
418 | * @return User | ||
419 | */ | ||
420 | public function setPasswordRequestedAt($passwordRequestedAt) | ||
421 | { | ||
422 | $this->passwordRequestedAt = $passwordRequestedAt; | ||
423 | |||
424 | return $this; | ||
425 | } | ||
426 | |||
427 | /** | ||
428 | * Get passwordRequestedAt | ||
429 | * | ||
430 | * @return \DateTime | ||
431 | */ | ||
432 | public function getPasswordRequestedAt() | ||
433 | { | ||
434 | return $this->passwordRequestedAt; | ||
435 | } | ||
380 | } | 436 | } |