1 | <?php |
||
12 | class User extends Entities\BaseEntity |
||
13 | { |
||
14 | |||
15 | use Entities\Attributes\Identifier; |
||
16 | |||
17 | /** |
||
18 | * @ORM\Column(name="firstname",type="text") |
||
19 | */ |
||
20 | public $firstName; |
||
21 | |||
22 | /** |
||
23 | * @ORM\Column(name="lastname",type="text") |
||
24 | */ |
||
25 | public $lastName; |
||
26 | |||
27 | /** |
||
28 | * @ORM\Column(type="text") |
||
29 | */ |
||
30 | public $email; |
||
31 | |||
32 | /** |
||
33 | * @ORM\Column(type="boolean") |
||
34 | */ |
||
35 | public $active; |
||
36 | |||
37 | /** |
||
38 | * @ORM\Column(type="text") |
||
39 | */ |
||
40 | public $username; |
||
41 | |||
42 | /** |
||
43 | * @ORM\Column(type="text") |
||
44 | */ |
||
45 | public $role; |
||
46 | |||
47 | /** |
||
48 | * @ORM\Column(type="bigint") |
||
49 | */ |
||
50 | public $facebookId; |
||
51 | |||
52 | /** |
||
53 | * @ORM\Column(type="text") |
||
54 | */ |
||
55 | public $facebookToken; |
||
56 | |||
57 | public function getFullName() |
||
61 | } |
||
62 |