1 | <?php |
||
10 | class Manager |
||
11 | { |
||
12 | const ROLE_SUPERUSER = 'SUPERUSER'; |
||
13 | const ROLE_ADMIN = 'ADMIN'; |
||
14 | const ROLE_OPERATOR = 'OPERATOR'; |
||
15 | |||
16 | /** |
||
17 | * The manager ID. |
||
18 | * |
||
19 | * @var string |
||
20 | * |
||
21 | * @JMS\Type("string") |
||
22 | * @JMS\SerializedName("id") |
||
23 | */ |
||
24 | protected $id; |
||
25 | |||
26 | /** |
||
27 | * The manager unique ID. |
||
28 | * |
||
29 | * @var string |
||
30 | * |
||
31 | * @JMS\Type("string") |
||
32 | * @JMS\SerializedName("uniqueId") |
||
33 | */ |
||
34 | protected $uniqueId; |
||
35 | |||
36 | /** |
||
37 | * First name. |
||
38 | * |
||
39 | * @var string |
||
40 | * |
||
41 | * @JMS\Type("string") |
||
42 | * @JMS\SerializedName("firstName") |
||
43 | */ |
||
44 | protected $firstName; |
||
45 | |||
46 | /** |
||
47 | * Last name. |
||
48 | * |
||
49 | * @var string |
||
50 | * |
||
51 | * @JMS\Type("string") |
||
52 | * @JMS\SerializedName("lastName") |
||
53 | */ |
||
54 | protected $lastName; |
||
55 | |||
56 | /** |
||
57 | * Manager role. One of the ROLE_* constants. |
||
58 | * |
||
59 | * @var string |
||
60 | * |
||
61 | * @JMS\Type("string") |
||
62 | * @JMS\SerializedName("role") |
||
63 | */ |
||
64 | protected $role; |
||
65 | |||
66 | /** |
||
67 | * Email address. |
||
68 | * |
||
69 | * @var string |
||
70 | * |
||
71 | * @JMS\Type("string") |
||
72 | * @JMS\SerializedName("email") |
||
73 | */ |
||
74 | protected $email; |
||
75 | |||
76 | /** |
||
77 | * Get the ID. |
||
78 | * |
||
79 | * @return string |
||
80 | */ |
||
81 | public function getId() |
||
85 | |||
86 | /** |
||
87 | * Set the ID. |
||
88 | * |
||
89 | * @param string $id The ID. |
||
90 | * @return Manager |
||
91 | */ |
||
92 | public function setId($id) |
||
98 | |||
99 | /** |
||
100 | * Get the unique ID. |
||
101 | * |
||
102 | * @return string |
||
103 | */ |
||
104 | public function getUniqueId() |
||
108 | |||
109 | /** |
||
110 | * Set the unique ID. |
||
111 | * |
||
112 | * @param string $uniqueId The unique ID. |
||
113 | * @return Manager |
||
114 | */ |
||
115 | public function setUniqueId($uniqueId) |
||
121 | |||
122 | /** |
||
123 | * Get the first name. |
||
124 | * |
||
125 | * @return string |
||
126 | */ |
||
127 | public function getFirstName() |
||
131 | |||
132 | /** |
||
133 | * Set the first name. |
||
134 | * |
||
135 | * @param string $firstName The first name. |
||
136 | * @return Manager |
||
137 | */ |
||
138 | public function setFirstName($firstName) |
||
144 | |||
145 | /** |
||
146 | * Get the last name. |
||
147 | * |
||
148 | * @return string |
||
149 | */ |
||
150 | public function getLastName() |
||
154 | |||
155 | /** |
||
156 | * Set the last name. |
||
157 | * |
||
158 | * @param string $lastName The last name. |
||
159 | * @return Manager |
||
160 | */ |
||
161 | public function setLastName($lastName) |
||
167 | |||
168 | /** |
||
169 | * Get the role. |
||
170 | * |
||
171 | * @return string |
||
172 | */ |
||
173 | public function getRole() |
||
177 | |||
178 | /** |
||
179 | * Set the role. |
||
180 | * |
||
181 | * @param string $role The role. One of the ROLE_* constants. |
||
182 | * @return Manager |
||
183 | */ |
||
184 | public function setRole($role) |
||
190 | |||
191 | /** |
||
192 | * Get the email address. |
||
193 | * |
||
194 | * @return string |
||
195 | */ |
||
196 | public function getEmail() |
||
200 | |||
201 | /** |
||
202 | * Set the email address. |
||
203 | * |
||
204 | * @param string $email The email address. |
||
205 | * @return Manager |
||
206 | */ |
||
207 | public function setEmail($email) |
||
213 | } |
||
214 |