| 1 | <?php |
||
| 8 | class EmailLink |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @Id @Column(type="integer") |
||
| 12 | * @GeneratedValue |
||
| 13 | */ |
||
| 14 | private $id; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @ManyToOne(targetEntity="Del\Entity\User") |
||
| 18 | */ |
||
| 19 | private $user; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @Column(type="datetime") |
||
| 23 | */ |
||
| 24 | private $expiry_date; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @Column(type="string") |
||
| 28 | */ |
||
| 29 | private $token; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function getId() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param mixed $id |
||
| 41 | * @return EmailLink |
||
| 42 | */ |
||
| 43 | public function setId($id) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return mixed |
||
| 51 | */ |
||
| 52 | public function getUser() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param mixed $user |
||
| 59 | * @return EmailLink |
||
| 60 | */ |
||
| 61 | public function setUser($user) |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return mixed |
||
| 69 | */ |
||
| 70 | public function getExpiryDate() |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @param mixed $expiry_date |
||
| 77 | * @return EmailLink |
||
| 78 | */ |
||
| 79 | public function setExpiryDate($expiry_date) |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @return mixed |
||
| 87 | */ |
||
| 88 | public function getToken() |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @param mixed $token |
||
| 95 | * @return EmailLink |
||
| 96 | */ |
||
| 97 | public function setToken($token) |
||
| 102 | |||
| 103 | |||
| 104 | } |
||
| 105 | |||
| 107 |