1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AppBundle\Entity; |
4
|
|
|
|
5
|
|
|
use DateTime; |
6
|
|
|
use Doctrine\ORM\Mapping as ORM; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* User |
10
|
|
|
* |
11
|
|
|
* @ORM\Table(name="user", uniqueConstraints={@ORM\UniqueConstraint(name="username", columns={"username"}), @ORM\UniqueConstraint(name="uuid", columns={"uuid"}), @ORM\UniqueConstraint(name="email", columns={"email"})}, indexes={@ORM\Index(name="notify_radius", columns={"notify_radius"})}) |
12
|
|
|
* @ORM\Entity |
13
|
|
|
*/ |
14
|
|
|
class User |
15
|
|
|
{ |
16
|
|
|
/** |
17
|
|
|
* @var string |
18
|
|
|
* |
19
|
|
|
* @ORM\Column(name="uuid", type="string", length=36, nullable=false) |
20
|
|
|
*/ |
21
|
|
|
private $uuid; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* @var int |
25
|
|
|
* |
26
|
|
|
* @ORM\Column(name="node", type="smallint", nullable=false) |
27
|
|
|
*/ |
28
|
|
|
private $node = 0; |
29
|
|
|
|
30
|
|
|
/** |
31
|
|
|
* @var \DateTime |
32
|
|
|
* |
33
|
|
|
* @ORM\Column(name="date_created", type="datetime", nullable=false) |
34
|
|
|
*/ |
35
|
|
|
private $dateCreated; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @var \DateTime |
39
|
|
|
* |
40
|
|
|
* @ORM\Column(name="last_modified", type="datetime", nullable=false) |
41
|
|
|
*/ |
42
|
|
|
private $lastModified; |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* @var \DateTime |
46
|
|
|
* |
47
|
|
|
* @ORM\Column(name="last_login", type="date", nullable=true) |
48
|
|
|
*/ |
49
|
|
|
private $lastLogin; |
50
|
|
|
|
51
|
|
|
/** |
52
|
|
|
* @var string |
53
|
|
|
* |
54
|
|
|
* @ORM\Column(name="username", type="string", length=60, nullable=false) |
55
|
|
|
*/ |
56
|
|
|
private $username; |
57
|
|
|
|
58
|
|
|
/** |
59
|
|
|
* @var string |
60
|
|
|
* |
61
|
|
|
* @ORM\Column(name="password", type="string", length=128, nullable=true) |
62
|
|
|
*/ |
63
|
|
|
private $password; |
64
|
|
|
|
65
|
|
|
/** |
66
|
|
|
* @var string |
67
|
|
|
* |
68
|
|
|
* @ORM\Column(name="email", type="string", length=60, nullable=true) |
69
|
|
|
*/ |
70
|
|
|
private $email; |
71
|
|
|
|
72
|
|
|
/** |
73
|
|
|
* @var int |
74
|
|
|
* |
75
|
|
|
* @ORM\Column(name="email_problems", type="integer", nullable=false) |
76
|
|
|
*/ |
77
|
|
|
private $emailProblems = 0; |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* @var \DateTime |
81
|
|
|
* |
82
|
|
|
* @ORM\Column(name="first_email_problem", type="date", nullable=true) |
83
|
|
|
*/ |
84
|
|
|
private $firstEmailProblem; |
85
|
|
|
|
86
|
|
|
/** |
87
|
|
|
* @var \DateTime |
88
|
|
|
* |
89
|
|
|
* @ORM\Column(name="last_email_problem", type="datetime", nullable=true) |
90
|
|
|
*/ |
91
|
|
|
private $lastEmailProblem; |
92
|
|
|
|
93
|
|
|
/** |
94
|
|
|
* @var int |
95
|
|
|
* |
96
|
|
|
* @ORM\Column(name="mailing_problems", type="integer", nullable=false) |
97
|
|
|
*/ |
98
|
|
|
private $mailingProblems = 0; |
99
|
|
|
|
100
|
|
|
/** |
101
|
|
|
* @var bool |
102
|
|
|
* |
103
|
|
|
* @ORM\Column(name="accept_mailing", type="boolean", nullable=false) |
104
|
|
|
*/ |
105
|
|
|
private $acceptMailing = true; |
106
|
|
|
|
107
|
|
|
/** |
108
|
|
|
* @var bool |
109
|
|
|
* |
110
|
|
|
* @ORM\Column(name="usermail_send_addr", type="boolean", nullable=false) |
111
|
|
|
*/ |
112
|
|
|
private $usermailSendAddr = false; |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* @var float |
116
|
|
|
* |
117
|
|
|
* @ORM\Column(name="latitude", type="float", precision=10, scale=0, nullable=false) |
118
|
|
|
*/ |
119
|
|
|
private $latitude; |
120
|
|
|
|
121
|
|
|
/** |
122
|
|
|
* @var float |
123
|
|
|
* |
124
|
|
|
* @ORM\Column(name="longitude", type="float", precision=10, scale=0, nullable=false) |
125
|
|
|
*/ |
126
|
|
|
private $longitude; |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @var bool |
130
|
|
|
* |
131
|
|
|
* @ORM\Column(name="is_active_flag", type="boolean", nullable=false) |
132
|
|
|
*/ |
133
|
|
|
private $isActiveFlag; |
134
|
|
|
|
135
|
|
|
/** |
136
|
|
|
* @var string |
137
|
|
|
* |
138
|
|
|
* @ORM\Column(name="last_name", type="string", length=60, nullable=false) |
139
|
|
|
*/ |
140
|
|
|
private $lastName; |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* @var string |
144
|
|
|
* |
145
|
|
|
* @ORM\Column(name="first_name", type="string", length=60, nullable=false) |
146
|
|
|
*/ |
147
|
|
|
private $firstName; |
148
|
|
|
|
149
|
|
|
/** |
150
|
|
|
* @var string |
151
|
|
|
* |
152
|
|
|
* @ORM\Column(name="country", type="string", length=2, nullable=true) |
153
|
|
|
*/ |
154
|
|
|
private $country; |
155
|
|
|
|
156
|
|
|
/** |
157
|
|
|
* @var bool |
158
|
|
|
* |
159
|
|
|
* @ORM\Column(name="pmr_flag", type="boolean", nullable=false) |
160
|
|
|
*/ |
161
|
|
|
private $pmrFlag; |
162
|
|
|
|
163
|
|
|
/** |
164
|
|
|
* @var string |
165
|
|
|
* |
166
|
|
|
* @ORM\Column(name="new_pw_code", type="string", length=13, nullable=true) |
167
|
|
|
*/ |
168
|
|
|
private $newPwCode; |
169
|
|
|
|
170
|
|
|
/** |
171
|
|
|
* @var \DateTime |
172
|
|
|
* |
173
|
|
|
* @ORM\Column(name="new_pw_date", type="datetime", nullable=true) |
174
|
|
|
*/ |
175
|
|
|
private $newPwDate; |
176
|
|
|
|
177
|
|
|
/** |
178
|
|
|
* @var string |
179
|
|
|
* |
180
|
|
|
* @ORM\Column(name="new_email_code", type="string", length=13, nullable=true) |
181
|
|
|
*/ |
182
|
|
|
private $newEmailCode; |
183
|
|
|
|
184
|
|
|
/** |
185
|
|
|
* @var \DateTime |
186
|
|
|
* |
187
|
|
|
* @ORM\Column(name="new_email_date", type="datetime", nullable=true) |
188
|
|
|
*/ |
189
|
|
|
private $newEmailDate; |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* @var string |
193
|
|
|
* |
194
|
|
|
* @ORM\Column(name="new_email", type="string", length=60, nullable=true) |
195
|
|
|
*/ |
196
|
|
|
private $newEmail; |
197
|
|
|
|
198
|
|
|
/** |
199
|
|
|
* @var bool |
200
|
|
|
* |
201
|
|
|
* @ORM\Column(name="permanent_login_flag", type="boolean", nullable=false) |
202
|
|
|
*/ |
203
|
|
|
private $permanentLoginFlag; |
204
|
|
|
|
205
|
|
|
/** |
206
|
|
|
* @var bool |
207
|
|
|
* |
208
|
|
|
* @ORM\Column(name="watchmail_mode", type="boolean", nullable=false) |
209
|
|
|
*/ |
210
|
|
|
private $watchmailMode = true; |
211
|
|
|
|
212
|
|
|
/** |
213
|
|
|
* @var bool |
214
|
|
|
* |
215
|
|
|
* @ORM\Column(name="watchmail_hour", type="boolean", nullable=false) |
216
|
|
|
*/ |
217
|
|
|
private $watchmailHour = false; |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @var \DateTime|string |
221
|
|
|
* |
222
|
|
|
* @ORM\Column(name="watchmail_nextmail", type="datetime", nullable=false) |
223
|
|
|
*/ |
224
|
|
|
private $watchmailNextmail = '0000-00-00 00:00:00'; |
225
|
|
|
|
226
|
|
|
/** |
227
|
|
|
* @var bool |
228
|
|
|
* |
229
|
|
|
* @ORM\Column(name="watchmail_day", type="boolean", nullable=false) |
230
|
|
|
*/ |
231
|
|
|
private $watchmailDay = false; |
232
|
|
|
|
233
|
|
|
/** |
234
|
|
|
* @var string |
235
|
|
|
* |
236
|
|
|
* @ORM\Column(name="activation_code", type="string", length=13, nullable=false) |
237
|
|
|
*/ |
238
|
|
|
private $activationCode; |
239
|
|
|
|
240
|
|
|
/** |
241
|
|
|
* @var bool |
242
|
|
|
* |
243
|
|
|
* @ORM\Column(name="statpic_logo", type="boolean", nullable=false) |
244
|
|
|
*/ |
245
|
|
|
private $statpicLogo = false; |
246
|
|
|
|
247
|
|
|
/** |
248
|
|
|
* @var string |
249
|
|
|
* |
250
|
|
|
* @ORM\Column(name="statpic_text", type="string", length=30, nullable=false) |
251
|
|
|
*/ |
252
|
|
|
private $statpicText = 'Opencaching'; |
253
|
|
|
|
254
|
|
|
/** |
255
|
|
|
* @var bool |
256
|
|
|
* |
257
|
|
|
* @ORM\Column(name="no_htmledit_flag", type="boolean", nullable=false) |
258
|
|
|
*/ |
259
|
|
|
private $noHtmleditFlag = false; |
260
|
|
|
|
261
|
|
|
/** |
262
|
|
|
* @var int |
263
|
|
|
* |
264
|
|
|
* @ORM\Column(name="notify_radius", type="integer", nullable=false) |
265
|
|
|
*/ |
266
|
|
|
private $notifyRadius = 0; |
267
|
|
|
|
268
|
|
|
/** |
269
|
|
|
* @var bool |
270
|
|
|
* |
271
|
|
|
* @ORM\Column(name="notify_oconly", type="boolean", nullable=false) |
272
|
|
|
*/ |
273
|
|
|
private $notifyOconly = true; |
274
|
|
|
|
275
|
|
|
/** |
276
|
|
|
* @var string |
277
|
|
|
* |
278
|
|
|
* @ORM\Column(name="language", type="string", length=2, nullable=true) |
279
|
|
|
*/ |
280
|
|
|
private $language; |
281
|
|
|
|
282
|
|
|
/** |
283
|
|
|
* @var bool |
284
|
|
|
* |
285
|
|
|
* @ORM\Column(name="language_guessed", type="boolean", nullable=false) |
286
|
|
|
*/ |
287
|
|
|
private $languageGuessed = false; |
288
|
|
|
|
289
|
|
|
/** |
290
|
|
|
* @var string |
291
|
|
|
* |
292
|
|
|
* @ORM\Column(name="domain", type="string", length=40, nullable=true) |
293
|
|
|
*/ |
294
|
|
|
private $domain; |
295
|
|
|
|
296
|
|
|
/** |
297
|
|
|
* @var int |
298
|
|
|
* |
299
|
|
|
* @ORM\Column(name="admin", type="smallint", nullable=false) |
300
|
|
|
*/ |
301
|
|
|
private $admin = 0; |
302
|
|
|
|
303
|
|
|
/** |
304
|
|
|
* @var bool |
305
|
|
|
* |
306
|
|
|
* @ORM\Column(name="data_license", type="boolean", nullable=false) |
307
|
|
|
*/ |
308
|
|
|
private $dataLicense = false; |
309
|
|
|
|
310
|
|
|
/** |
311
|
|
|
* @var string |
312
|
|
|
* |
313
|
|
|
* @ORM\Column(name="description", type="text", nullable=false) |
314
|
|
|
*/ |
315
|
|
|
private $description; |
316
|
|
|
|
317
|
|
|
/** |
318
|
|
|
* @var bool |
319
|
|
|
* |
320
|
|
|
* @ORM\Column(name="desc_htmledit", type="boolean", nullable=false) |
321
|
|
|
*/ |
322
|
|
|
private $descHtmledit = true; |
323
|
|
|
|
324
|
|
|
/** |
325
|
|
|
* @var int |
326
|
|
|
* |
327
|
|
|
* @ORM\Column(name="user_id", type="integer") |
328
|
|
|
* @ORM\Id |
329
|
|
|
* @ORM\GeneratedValue(strategy="IDENTITY") |
330
|
|
|
*/ |
331
|
|
|
private $userId; |
332
|
|
|
|
333
|
|
|
/** |
334
|
|
|
* Set uuid |
335
|
|
|
* |
336
|
|
|
* @param string $uuid |
337
|
|
|
* |
338
|
|
|
* @return \AppBundle\Entity\User |
339
|
|
|
*/ |
340
|
|
|
public function setUuid($uuid) |
341
|
|
|
{ |
342
|
|
|
$this->uuid = $uuid; |
343
|
|
|
|
344
|
|
|
return $this; |
345
|
|
|
} |
346
|
|
|
|
347
|
|
|
/** |
348
|
|
|
* Get uuid |
349
|
|
|
* |
350
|
|
|
* @return string |
351
|
|
|
*/ |
352
|
|
|
public function getUuid() |
353
|
|
|
{ |
354
|
|
|
return $this->uuid; |
355
|
|
|
} |
356
|
|
|
|
357
|
|
|
/** |
358
|
|
|
* Set node |
359
|
|
|
* |
360
|
|
|
* @param int $node |
361
|
|
|
* |
362
|
|
|
* @return \AppBundle\Entity\User |
363
|
|
|
*/ |
364
|
|
|
public function setNode($node) |
365
|
|
|
{ |
366
|
|
|
$this->node = $node; |
367
|
|
|
|
368
|
|
|
return $this; |
369
|
|
|
} |
370
|
|
|
|
371
|
|
|
/** |
372
|
|
|
* Get node |
373
|
|
|
* |
374
|
|
|
* @return bool |
375
|
|
|
*/ |
376
|
|
|
public function getNode() |
377
|
|
|
{ |
378
|
|
|
return $this->node; |
379
|
|
|
} |
380
|
|
|
|
381
|
|
|
/** |
382
|
|
|
* Set dateCreated |
383
|
|
|
* |
384
|
|
|
* @param \DateTime $dateCreated |
385
|
|
|
* |
386
|
|
|
* @return \AppBundle\Entity\User |
387
|
|
|
*/ |
388
|
|
|
public function setDateCreated(DateTime $dateCreated) |
389
|
|
|
{ |
390
|
|
|
$this->dateCreated = $dateCreated; |
391
|
|
|
|
392
|
|
|
return $this; |
393
|
|
|
} |
394
|
|
|
|
395
|
|
|
/** |
396
|
|
|
* Get dateCreated |
397
|
|
|
* |
398
|
|
|
* @return \DateTime |
399
|
|
|
*/ |
400
|
|
|
public function getDateCreated() |
401
|
|
|
{ |
402
|
|
|
return $this->dateCreated; |
403
|
|
|
} |
404
|
|
|
|
405
|
|
|
/** |
406
|
|
|
* Set lastModified |
407
|
|
|
* |
408
|
|
|
* @param \DateTime $lastModified |
409
|
|
|
* |
410
|
|
|
* @return \AppBundle\Entity\User |
411
|
|
|
*/ |
412
|
|
|
public function setLastModified(DateTime $lastModified) |
413
|
|
|
{ |
414
|
|
|
$this->lastModified = $lastModified; |
415
|
|
|
|
416
|
|
|
return $this; |
417
|
|
|
} |
418
|
|
|
|
419
|
|
|
/** |
420
|
|
|
* Get lastModified |
421
|
|
|
* |
422
|
|
|
* @return \DateTime |
423
|
|
|
*/ |
424
|
|
|
public function getLastModified() |
425
|
|
|
{ |
426
|
|
|
return $this->lastModified; |
427
|
|
|
} |
428
|
|
|
|
429
|
|
|
/** |
430
|
|
|
* Set lastLogin |
431
|
|
|
* |
432
|
|
|
* @param \DateTime $lastLogin |
433
|
|
|
* |
434
|
|
|
* @return \AppBundle\Entity\User |
435
|
|
|
*/ |
436
|
|
|
public function setLastLogin(DateTime $lastLogin) |
437
|
|
|
{ |
438
|
|
|
$this->lastLogin = $lastLogin; |
439
|
|
|
|
440
|
|
|
return $this; |
441
|
|
|
} |
442
|
|
|
|
443
|
|
|
/** |
444
|
|
|
* Get lastLogin |
445
|
|
|
* |
446
|
|
|
* @return \DateTime |
447
|
|
|
*/ |
448
|
|
|
public function getLastLogin() |
449
|
|
|
{ |
450
|
|
|
return $this->lastLogin; |
451
|
|
|
} |
452
|
|
|
|
453
|
|
|
/** |
454
|
|
|
* Set username |
455
|
|
|
* |
456
|
|
|
* @param string $username |
457
|
|
|
* |
458
|
|
|
* @return \AppBundle\Entity\User |
459
|
|
|
*/ |
460
|
|
|
public function setUsername($username) |
461
|
|
|
{ |
462
|
|
|
$this->username = $username; |
463
|
|
|
|
464
|
|
|
return $this; |
465
|
|
|
} |
466
|
|
|
|
467
|
|
|
/** |
468
|
|
|
* Get username |
469
|
|
|
* |
470
|
|
|
* @return string |
471
|
|
|
*/ |
472
|
|
|
public function getUsername() |
473
|
|
|
{ |
474
|
|
|
return $this->username; |
475
|
|
|
} |
476
|
|
|
|
477
|
|
|
/** |
478
|
|
|
* Set password |
479
|
|
|
* |
480
|
|
|
* @param string $password |
481
|
|
|
* |
482
|
|
|
* @return \AppBundle\Entity\User |
483
|
|
|
*/ |
484
|
|
|
public function setPassword($password) |
485
|
|
|
{ |
486
|
|
|
$this->password = $password; |
487
|
|
|
|
488
|
|
|
return $this; |
489
|
|
|
} |
490
|
|
|
|
491
|
|
|
/** |
492
|
|
|
* Get password |
493
|
|
|
* |
494
|
|
|
* @return string |
495
|
|
|
*/ |
496
|
|
|
public function getPassword() |
497
|
|
|
{ |
498
|
|
|
return $this->password; |
499
|
|
|
} |
500
|
|
|
|
501
|
|
|
/** |
502
|
|
|
* Set email |
503
|
|
|
* |
504
|
|
|
* @param string $email |
505
|
|
|
* |
506
|
|
|
* @return \AppBundle\Entity\User |
507
|
|
|
*/ |
508
|
|
|
public function setEmail($email) |
509
|
|
|
{ |
510
|
|
|
$this->email = $email; |
511
|
|
|
|
512
|
|
|
return $this; |
513
|
|
|
} |
514
|
|
|
|
515
|
|
|
/** |
516
|
|
|
* Get email |
517
|
|
|
* |
518
|
|
|
* @return string |
519
|
|
|
*/ |
520
|
|
|
public function getEmail() |
521
|
|
|
{ |
522
|
|
|
return $this->email; |
523
|
|
|
} |
524
|
|
|
|
525
|
|
|
/** |
526
|
|
|
* Set emailProblems |
527
|
|
|
* |
528
|
|
|
* @param int $emailProblems |
529
|
|
|
* |
530
|
|
|
* @return \AppBundle\Entity\User |
531
|
|
|
*/ |
532
|
|
|
public function setEmailProblems($emailProblems) |
533
|
|
|
{ |
534
|
|
|
$this->emailProblems = $emailProblems; |
535
|
|
|
|
536
|
|
|
return $this; |
537
|
|
|
} |
538
|
|
|
|
539
|
|
|
/** |
540
|
|
|
* Get emailProblems |
541
|
|
|
* |
542
|
|
|
* @return int |
543
|
|
|
*/ |
544
|
|
|
public function getEmailProblems() |
545
|
|
|
{ |
546
|
|
|
return $this->emailProblems; |
547
|
|
|
} |
548
|
|
|
|
549
|
|
|
/** |
550
|
|
|
* Set firstEmailProblem |
551
|
|
|
* |
552
|
|
|
* @param \DateTime $firstEmailProblem |
553
|
|
|
* |
554
|
|
|
* @return \AppBundle\Entity\User |
555
|
|
|
*/ |
556
|
|
|
public function setFirstEmailProblem(DateTime $firstEmailProblem) |
557
|
|
|
{ |
558
|
|
|
$this->firstEmailProblem = $firstEmailProblem; |
559
|
|
|
|
560
|
|
|
return $this; |
561
|
|
|
} |
562
|
|
|
|
563
|
|
|
/** |
564
|
|
|
* Get firstEmailProblem |
565
|
|
|
* |
566
|
|
|
* @return \DateTime |
567
|
|
|
*/ |
568
|
|
|
public function getFirstEmailProblem() |
569
|
|
|
{ |
570
|
|
|
return $this->firstEmailProblem; |
571
|
|
|
} |
572
|
|
|
|
573
|
|
|
/** |
574
|
|
|
* Set lastEmailProblem |
575
|
|
|
* |
576
|
|
|
* @param \DateTime $lastEmailProblem |
577
|
|
|
* |
578
|
|
|
* @return \AppBundle\Entity\User |
579
|
|
|
*/ |
580
|
|
|
public function setLastEmailProblem(DateTime $lastEmailProblem) |
581
|
|
|
{ |
582
|
|
|
$this->lastEmailProblem = $lastEmailProblem; |
583
|
|
|
|
584
|
|
|
return $this; |
585
|
|
|
} |
586
|
|
|
|
587
|
|
|
/** |
588
|
|
|
* Get lastEmailProblem |
589
|
|
|
* |
590
|
|
|
* @return \DateTime |
591
|
|
|
*/ |
592
|
|
|
public function getLastEmailProblem() |
593
|
|
|
{ |
594
|
|
|
return $this->lastEmailProblem; |
595
|
|
|
} |
596
|
|
|
|
597
|
|
|
/** |
598
|
|
|
* Set mailingProblems |
599
|
|
|
* |
600
|
|
|
* @param int $mailingProblems |
601
|
|
|
* |
602
|
|
|
* @return \AppBundle\Entity\User |
603
|
|
|
*/ |
604
|
|
|
public function setMailingProblems($mailingProblems) |
605
|
|
|
{ |
606
|
|
|
$this->mailingProblems = $mailingProblems; |
607
|
|
|
|
608
|
|
|
return $this; |
609
|
|
|
} |
610
|
|
|
|
611
|
|
|
/** |
612
|
|
|
* Get mailingProblems |
613
|
|
|
* |
614
|
|
|
* @return int |
615
|
|
|
*/ |
616
|
|
|
public function getMailingProblems() |
617
|
|
|
{ |
618
|
|
|
return $this->mailingProblems; |
619
|
|
|
} |
620
|
|
|
|
621
|
|
|
/** |
622
|
|
|
* Set acceptMailing |
623
|
|
|
* |
624
|
|
|
* @param bool $acceptMailing |
625
|
|
|
* |
626
|
|
|
* @return \AppBundle\Entity\User |
627
|
|
|
*/ |
628
|
|
|
public function setAcceptMailing($acceptMailing) |
629
|
|
|
{ |
630
|
|
|
$this->acceptMailing = $acceptMailing; |
631
|
|
|
|
632
|
|
|
return $this; |
633
|
|
|
} |
634
|
|
|
|
635
|
|
|
/** |
636
|
|
|
* Get acceptMailing |
637
|
|
|
* |
638
|
|
|
* @return bool |
639
|
|
|
*/ |
640
|
|
|
public function getAcceptMailing() |
641
|
|
|
{ |
642
|
|
|
return $this->acceptMailing; |
643
|
|
|
} |
644
|
|
|
|
645
|
|
|
/** |
646
|
|
|
* Set usermailSendAddr |
647
|
|
|
* |
648
|
|
|
* @param bool $usermailSendAddr |
649
|
|
|
* |
650
|
|
|
* @return \AppBundle\Entity\User |
651
|
|
|
*/ |
652
|
|
|
public function setUsermailSendAddr($usermailSendAddr) |
653
|
|
|
{ |
654
|
|
|
$this->usermailSendAddr = $usermailSendAddr; |
655
|
|
|
|
656
|
|
|
return $this; |
657
|
|
|
} |
658
|
|
|
|
659
|
|
|
/** |
660
|
|
|
* Get usermailSendAddr |
661
|
|
|
* |
662
|
|
|
* @return bool |
663
|
|
|
*/ |
664
|
|
|
public function getUsermailSendAddr() |
665
|
|
|
{ |
666
|
|
|
return $this->usermailSendAddr; |
667
|
|
|
} |
668
|
|
|
|
669
|
|
|
/** |
670
|
|
|
* Set latitude |
671
|
|
|
* |
672
|
|
|
* @param float $latitude |
673
|
|
|
* |
674
|
|
|
* @return \AppBundle\Entity\User |
675
|
|
|
*/ |
676
|
|
|
public function setLatitude($latitude) |
677
|
|
|
{ |
678
|
|
|
$this->latitude = $latitude; |
679
|
|
|
|
680
|
|
|
return $this; |
681
|
|
|
} |
682
|
|
|
|
683
|
|
|
/** |
684
|
|
|
* Get latitude |
685
|
|
|
* |
686
|
|
|
* @return float |
687
|
|
|
*/ |
688
|
|
|
public function getLatitude() |
689
|
|
|
{ |
690
|
|
|
return $this->latitude; |
691
|
|
|
} |
692
|
|
|
|
693
|
|
|
/** |
694
|
|
|
* Set longitude |
695
|
|
|
* |
696
|
|
|
* @param float $longitude |
697
|
|
|
* |
698
|
|
|
* @return \AppBundle\Entity\User |
699
|
|
|
*/ |
700
|
|
|
public function setLongitude($longitude) |
701
|
|
|
{ |
702
|
|
|
$this->longitude = $longitude; |
703
|
|
|
|
704
|
|
|
return $this; |
705
|
|
|
} |
706
|
|
|
|
707
|
|
|
/** |
708
|
|
|
* Get longitude |
709
|
|
|
* |
710
|
|
|
* @return float |
711
|
|
|
*/ |
712
|
|
|
public function getLongitude() |
713
|
|
|
{ |
714
|
|
|
return $this->longitude; |
715
|
|
|
} |
716
|
|
|
|
717
|
|
|
/** |
718
|
|
|
* Set isActiveFlag |
719
|
|
|
* |
720
|
|
|
* @param bool $isActiveFlag |
721
|
|
|
* |
722
|
|
|
* @return \AppBundle\Entity\User |
723
|
|
|
*/ |
724
|
|
|
public function setIsActiveFlag($isActiveFlag) |
725
|
|
|
{ |
726
|
|
|
$this->isActiveFlag = $isActiveFlag; |
727
|
|
|
|
728
|
|
|
return $this; |
729
|
|
|
} |
730
|
|
|
|
731
|
|
|
/** |
732
|
|
|
* Get isActiveFlag |
733
|
|
|
* |
734
|
|
|
* @return bool |
735
|
|
|
*/ |
736
|
|
|
public function getIsActiveFlag() |
737
|
|
|
{ |
738
|
|
|
return $this->isActiveFlag; |
739
|
|
|
} |
740
|
|
|
|
741
|
|
|
/** |
742
|
|
|
* Set lastName |
743
|
|
|
* |
744
|
|
|
* @param string $lastName |
745
|
|
|
* |
746
|
|
|
* @return \AppBundle\Entity\User |
747
|
|
|
*/ |
748
|
|
|
public function setLastName($lastName) |
749
|
|
|
{ |
750
|
|
|
$this->lastName = $lastName; |
751
|
|
|
|
752
|
|
|
return $this; |
753
|
|
|
} |
754
|
|
|
|
755
|
|
|
/** |
756
|
|
|
* Get lastName |
757
|
|
|
* |
758
|
|
|
* @return string |
759
|
|
|
*/ |
760
|
|
|
public function getLastName() |
761
|
|
|
{ |
762
|
|
|
return $this->lastName; |
763
|
|
|
} |
764
|
|
|
|
765
|
|
|
/** |
766
|
|
|
* Set firstName |
767
|
|
|
* |
768
|
|
|
* @param string $firstName |
769
|
|
|
* |
770
|
|
|
* @return \AppBundle\Entity\User |
771
|
|
|
*/ |
772
|
|
|
public function setFirstName($firstName) |
773
|
|
|
{ |
774
|
|
|
$this->firstName = $firstName; |
775
|
|
|
|
776
|
|
|
return $this; |
777
|
|
|
} |
778
|
|
|
|
779
|
|
|
/** |
780
|
|
|
* Get firstName |
781
|
|
|
* |
782
|
|
|
* @return string |
783
|
|
|
*/ |
784
|
|
|
public function getFirstName() |
785
|
|
|
{ |
786
|
|
|
return $this->firstName; |
787
|
|
|
} |
788
|
|
|
|
789
|
|
|
/** |
790
|
|
|
* Set country |
791
|
|
|
* |
792
|
|
|
* @param string $country |
793
|
|
|
* |
794
|
|
|
* @return \AppBundle\Entity\User |
795
|
|
|
*/ |
796
|
|
|
public function setCountry($country) |
797
|
|
|
{ |
798
|
|
|
$this->country = $country; |
799
|
|
|
|
800
|
|
|
return $this; |
801
|
|
|
} |
802
|
|
|
|
803
|
|
|
/** |
804
|
|
|
* Get country |
805
|
|
|
* |
806
|
|
|
* @return string |
807
|
|
|
*/ |
808
|
|
|
public function getCountry() |
809
|
|
|
{ |
810
|
|
|
return $this->country; |
811
|
|
|
} |
812
|
|
|
|
813
|
|
|
/** |
814
|
|
|
* Set pmrFlag |
815
|
|
|
* |
816
|
|
|
* @param bool $pmrFlag |
817
|
|
|
* |
818
|
|
|
* @return \AppBundle\Entity\User |
819
|
|
|
*/ |
820
|
|
|
public function setPmrFlag($pmrFlag) |
821
|
|
|
{ |
822
|
|
|
$this->pmrFlag = $pmrFlag; |
823
|
|
|
|
824
|
|
|
return $this; |
825
|
|
|
} |
826
|
|
|
|
827
|
|
|
/** |
828
|
|
|
* Get pmrFlag |
829
|
|
|
* |
830
|
|
|
* @return bool |
831
|
|
|
*/ |
832
|
|
|
public function getPmrFlag() |
833
|
|
|
{ |
834
|
|
|
return $this->pmrFlag; |
835
|
|
|
} |
836
|
|
|
|
837
|
|
|
/** |
838
|
|
|
* Set newPwCode |
839
|
|
|
* |
840
|
|
|
* @param string $newPwCode |
841
|
|
|
* |
842
|
|
|
* @return \AppBundle\Entity\User |
843
|
|
|
*/ |
844
|
|
|
public function setNewPwCode($newPwCode) |
845
|
|
|
{ |
846
|
|
|
$this->newPwCode = $newPwCode; |
847
|
|
|
|
848
|
|
|
return $this; |
849
|
|
|
} |
850
|
|
|
|
851
|
|
|
/** |
852
|
|
|
* Get newPwCode |
853
|
|
|
* |
854
|
|
|
* @return string |
855
|
|
|
*/ |
856
|
|
|
public function getNewPwCode() |
857
|
|
|
{ |
858
|
|
|
return $this->newPwCode; |
859
|
|
|
} |
860
|
|
|
|
861
|
|
|
/** |
862
|
|
|
* Set newPwDate |
863
|
|
|
* |
864
|
|
|
* @param \DateTime $newPwDate |
865
|
|
|
* |
866
|
|
|
* @return \AppBundle\Entity\User |
867
|
|
|
*/ |
868
|
|
|
public function setNewPwDate(DateTime $newPwDate) |
869
|
|
|
{ |
870
|
|
|
$this->newPwDate = $newPwDate; |
871
|
|
|
|
872
|
|
|
return $this; |
873
|
|
|
} |
874
|
|
|
|
875
|
|
|
/** |
876
|
|
|
* Get newPwDate |
877
|
|
|
* |
878
|
|
|
* @return \DateTime |
879
|
|
|
*/ |
880
|
|
|
public function getNewPwDate() |
881
|
|
|
{ |
882
|
|
|
return $this->newPwDate; |
883
|
|
|
} |
884
|
|
|
|
885
|
|
|
/** |
886
|
|
|
* Set newEmailCode |
887
|
|
|
* |
888
|
|
|
* @param string $newEmailCode |
889
|
|
|
* |
890
|
|
|
* @return \AppBundle\Entity\User |
891
|
|
|
*/ |
892
|
|
|
public function setNewEmailCode($newEmailCode) |
893
|
|
|
{ |
894
|
|
|
$this->newEmailCode = $newEmailCode; |
895
|
|
|
|
896
|
|
|
return $this; |
897
|
|
|
} |
898
|
|
|
|
899
|
|
|
/** |
900
|
|
|
* Get newEmailCode |
901
|
|
|
* |
902
|
|
|
* @return string |
903
|
|
|
*/ |
904
|
|
|
public function getNewEmailCode() |
905
|
|
|
{ |
906
|
|
|
return $this->newEmailCode; |
907
|
|
|
} |
908
|
|
|
|
909
|
|
|
/** |
910
|
|
|
* Set newEmailDate |
911
|
|
|
* |
912
|
|
|
* @param \DateTime $newEmailDate |
913
|
|
|
* |
914
|
|
|
* @return \AppBundle\Entity\User |
915
|
|
|
*/ |
916
|
|
|
public function setNewEmailDate(DateTime $newEmailDate) |
917
|
|
|
{ |
918
|
|
|
$this->newEmailDate = $newEmailDate; |
919
|
|
|
|
920
|
|
|
return $this; |
921
|
|
|
} |
922
|
|
|
|
923
|
|
|
/** |
924
|
|
|
* Get newEmailDate |
925
|
|
|
* |
926
|
|
|
* @return \DateTime |
927
|
|
|
*/ |
928
|
|
|
public function getNewEmailDate() |
929
|
|
|
{ |
930
|
|
|
return $this->newEmailDate; |
931
|
|
|
} |
932
|
|
|
|
933
|
|
|
/** |
934
|
|
|
* Set newEmail |
935
|
|
|
* |
936
|
|
|
* @param string $newEmail |
937
|
|
|
* |
938
|
|
|
* @return \AppBundle\Entity\User |
939
|
|
|
*/ |
940
|
|
|
public function setNewEmail($newEmail) |
941
|
|
|
{ |
942
|
|
|
$this->newEmail = $newEmail; |
943
|
|
|
|
944
|
|
|
return $this; |
945
|
|
|
} |
946
|
|
|
|
947
|
|
|
/** |
948
|
|
|
* Get newEmail |
949
|
|
|
* |
950
|
|
|
* @return string |
951
|
|
|
*/ |
952
|
|
|
public function getNewEmail() |
953
|
|
|
{ |
954
|
|
|
return $this->newEmail; |
955
|
|
|
} |
956
|
|
|
|
957
|
|
|
/** |
958
|
|
|
* Set permanentLoginFlag |
959
|
|
|
* |
960
|
|
|
* @param bool $permanentLoginFlag |
961
|
|
|
* |
962
|
|
|
* @return \AppBundle\Entity\User |
963
|
|
|
*/ |
964
|
|
|
public function setPermanentLoginFlag($permanentLoginFlag) |
965
|
|
|
{ |
966
|
|
|
$this->permanentLoginFlag = $permanentLoginFlag; |
967
|
|
|
|
968
|
|
|
return $this; |
969
|
|
|
} |
970
|
|
|
|
971
|
|
|
/** |
972
|
|
|
* Get permanentLoginFlag |
973
|
|
|
* |
974
|
|
|
* @return bool |
975
|
|
|
*/ |
976
|
|
|
public function getPermanentLoginFlag() |
977
|
|
|
{ |
978
|
|
|
return $this->permanentLoginFlag; |
979
|
|
|
} |
980
|
|
|
|
981
|
|
|
/** |
982
|
|
|
* Set watchmailMode |
983
|
|
|
* |
984
|
|
|
* @param bool $watchmailMode |
985
|
|
|
* |
986
|
|
|
* @return \AppBundle\Entity\User |
987
|
|
|
*/ |
988
|
|
|
public function setWatchmailMode($watchmailMode) |
989
|
|
|
{ |
990
|
|
|
$this->watchmailMode = $watchmailMode; |
991
|
|
|
|
992
|
|
|
return $this; |
993
|
|
|
} |
994
|
|
|
|
995
|
|
|
/** |
996
|
|
|
* Get watchmailMode |
997
|
|
|
* |
998
|
|
|
* @return bool |
999
|
|
|
*/ |
1000
|
|
|
public function getWatchmailMode() |
1001
|
|
|
{ |
1002
|
|
|
return $this->watchmailMode; |
1003
|
|
|
} |
1004
|
|
|
|
1005
|
|
|
/** |
1006
|
|
|
* Set watchmailHour |
1007
|
|
|
* |
1008
|
|
|
* @param bool $watchmailHour |
1009
|
|
|
* |
1010
|
|
|
* @return \AppBundle\Entity\User |
1011
|
|
|
*/ |
1012
|
|
|
public function setWatchmailHour($watchmailHour) |
1013
|
|
|
{ |
1014
|
|
|
$this->watchmailHour = $watchmailHour; |
1015
|
|
|
|
1016
|
|
|
return $this; |
1017
|
|
|
} |
1018
|
|
|
|
1019
|
|
|
/** |
1020
|
|
|
* Get watchmailHour |
1021
|
|
|
* |
1022
|
|
|
* @return bool |
1023
|
|
|
*/ |
1024
|
|
|
public function getWatchmailHour() |
1025
|
|
|
{ |
1026
|
|
|
return $this->watchmailHour; |
1027
|
|
|
} |
1028
|
|
|
|
1029
|
|
|
/** |
1030
|
|
|
* Set watchmailNextmail |
1031
|
|
|
* |
1032
|
|
|
* @param \DateTime $watchmailNextmail |
1033
|
|
|
* |
1034
|
|
|
* @return \AppBundle\Entity\User |
1035
|
|
|
*/ |
1036
|
|
|
public function setWatchmailNextmail(DateTime $watchmailNextmail) |
1037
|
|
|
{ |
1038
|
|
|
$this->watchmailNextmail = $watchmailNextmail; |
1039
|
|
|
|
1040
|
|
|
return $this; |
1041
|
|
|
} |
1042
|
|
|
|
1043
|
|
|
/** |
1044
|
|
|
* Get watchmailNextmail |
1045
|
|
|
* |
1046
|
|
|
* @return \DateTime|string |
1047
|
|
|
*/ |
1048
|
|
|
public function getWatchmailNextmail() |
1049
|
|
|
{ |
1050
|
|
|
return $this->watchmailNextmail; |
1051
|
|
|
} |
1052
|
|
|
|
1053
|
|
|
/** |
1054
|
|
|
* Set watchmailDay |
1055
|
|
|
* |
1056
|
|
|
* @param bool $watchmailDay |
1057
|
|
|
* |
1058
|
|
|
* @return \AppBundle\Entity\User |
1059
|
|
|
*/ |
1060
|
|
|
public function setWatchmailDay($watchmailDay) |
1061
|
|
|
{ |
1062
|
|
|
$this->watchmailDay = $watchmailDay; |
1063
|
|
|
|
1064
|
|
|
return $this; |
1065
|
|
|
} |
1066
|
|
|
|
1067
|
|
|
/** |
1068
|
|
|
* Get watchmailDay |
1069
|
|
|
* |
1070
|
|
|
* @return bool |
1071
|
|
|
*/ |
1072
|
|
|
public function getWatchmailDay() |
1073
|
|
|
{ |
1074
|
|
|
return $this->watchmailDay; |
1075
|
|
|
} |
1076
|
|
|
|
1077
|
|
|
/** |
1078
|
|
|
* Set activationCode |
1079
|
|
|
* |
1080
|
|
|
* @param string $activationCode |
1081
|
|
|
* |
1082
|
|
|
* @return \AppBundle\Entity\User |
1083
|
|
|
*/ |
1084
|
|
|
public function setActivationCode($activationCode) |
1085
|
|
|
{ |
1086
|
|
|
$this->activationCode = $activationCode; |
1087
|
|
|
|
1088
|
|
|
return $this; |
1089
|
|
|
} |
1090
|
|
|
|
1091
|
|
|
/** |
1092
|
|
|
* Get activationCode |
1093
|
|
|
* |
1094
|
|
|
* @return string |
1095
|
|
|
*/ |
1096
|
|
|
public function getActivationCode() |
1097
|
|
|
{ |
1098
|
|
|
return $this->activationCode; |
1099
|
|
|
} |
1100
|
|
|
|
1101
|
|
|
/** |
1102
|
|
|
* Set statpicLogo |
1103
|
|
|
* |
1104
|
|
|
* @param bool $statpicLogo |
1105
|
|
|
* |
1106
|
|
|
* @return \AppBundle\Entity\User |
1107
|
|
|
*/ |
1108
|
|
|
public function setStatpicLogo($statpicLogo) |
1109
|
|
|
{ |
1110
|
|
|
$this->statpicLogo = $statpicLogo; |
1111
|
|
|
|
1112
|
|
|
return $this; |
1113
|
|
|
} |
1114
|
|
|
|
1115
|
|
|
/** |
1116
|
|
|
* Get statpicLogo |
1117
|
|
|
* |
1118
|
|
|
* @return bool |
1119
|
|
|
*/ |
1120
|
|
|
public function getStatpicLogo() |
1121
|
|
|
{ |
1122
|
|
|
return $this->statpicLogo; |
1123
|
|
|
} |
1124
|
|
|
|
1125
|
|
|
/** |
1126
|
|
|
* Set statpicText |
1127
|
|
|
* |
1128
|
|
|
* @param string $statpicText |
1129
|
|
|
* |
1130
|
|
|
* @return \AppBundle\Entity\User |
1131
|
|
|
*/ |
1132
|
|
|
public function setStatpicText($statpicText) |
1133
|
|
|
{ |
1134
|
|
|
$this->statpicText = $statpicText; |
1135
|
|
|
|
1136
|
|
|
return $this; |
1137
|
|
|
} |
1138
|
|
|
|
1139
|
|
|
/** |
1140
|
|
|
* Get statpicText |
1141
|
|
|
* |
1142
|
|
|
* @return string |
1143
|
|
|
*/ |
1144
|
|
|
public function getStatpicText() |
1145
|
|
|
{ |
1146
|
|
|
return $this->statpicText; |
1147
|
|
|
} |
1148
|
|
|
|
1149
|
|
|
/** |
1150
|
|
|
* Set noHtmleditFlag |
1151
|
|
|
* |
1152
|
|
|
* @param bool $noHtmleditFlag |
1153
|
|
|
* |
1154
|
|
|
* @return \AppBundle\Entity\User |
1155
|
|
|
*/ |
1156
|
|
|
public function setNoHtmleditFlag($noHtmleditFlag) |
1157
|
|
|
{ |
1158
|
|
|
$this->noHtmleditFlag = $noHtmleditFlag; |
1159
|
|
|
|
1160
|
|
|
return $this; |
1161
|
|
|
} |
1162
|
|
|
|
1163
|
|
|
/** |
1164
|
|
|
* Get noHtmleditFlag |
1165
|
|
|
* |
1166
|
|
|
* @return bool |
1167
|
|
|
*/ |
1168
|
|
|
public function getNoHtmleditFlag() |
1169
|
|
|
{ |
1170
|
|
|
return $this->noHtmleditFlag; |
1171
|
|
|
} |
1172
|
|
|
|
1173
|
|
|
/** |
1174
|
|
|
* Set notifyRadius |
1175
|
|
|
* |
1176
|
|
|
* @param int $notifyRadius |
1177
|
|
|
* |
1178
|
|
|
* @return \AppBundle\Entity\User |
1179
|
|
|
*/ |
1180
|
|
|
public function setNotifyRadius($notifyRadius) |
1181
|
|
|
{ |
1182
|
|
|
$this->notifyRadius = $notifyRadius; |
1183
|
|
|
|
1184
|
|
|
return $this; |
1185
|
|
|
} |
1186
|
|
|
|
1187
|
|
|
/** |
1188
|
|
|
* Get notifyRadius |
1189
|
|
|
* |
1190
|
|
|
* @return int |
1191
|
|
|
*/ |
1192
|
|
|
public function getNotifyRadius() |
1193
|
|
|
{ |
1194
|
|
|
return $this->notifyRadius; |
1195
|
|
|
} |
1196
|
|
|
|
1197
|
|
|
/** |
1198
|
|
|
* Set notifyOconly |
1199
|
|
|
* |
1200
|
|
|
* @param bool $notifyOconly |
1201
|
|
|
* |
1202
|
|
|
* @return \AppBundle\Entity\User |
1203
|
|
|
*/ |
1204
|
|
|
public function setNotifyOconly($notifyOconly) |
1205
|
|
|
{ |
1206
|
|
|
$this->notifyOconly = $notifyOconly; |
1207
|
|
|
|
1208
|
|
|
return $this; |
1209
|
|
|
} |
1210
|
|
|
|
1211
|
|
|
/** |
1212
|
|
|
* Get notifyOconly |
1213
|
|
|
* |
1214
|
|
|
* @return bool |
1215
|
|
|
*/ |
1216
|
|
|
public function getNotifyOconly() |
1217
|
|
|
{ |
1218
|
|
|
return $this->notifyOconly; |
1219
|
|
|
} |
1220
|
|
|
|
1221
|
|
|
/** |
1222
|
|
|
* Set language |
1223
|
|
|
* |
1224
|
|
|
* @param string $language |
1225
|
|
|
* |
1226
|
|
|
* @return \AppBundle\Entity\User |
1227
|
|
|
*/ |
1228
|
|
|
public function setLanguage($language) |
1229
|
|
|
{ |
1230
|
|
|
$this->language = $language; |
1231
|
|
|
|
1232
|
|
|
return $this; |
1233
|
|
|
} |
1234
|
|
|
|
1235
|
|
|
/** |
1236
|
|
|
* Get language |
1237
|
|
|
* |
1238
|
|
|
* @return string |
1239
|
|
|
*/ |
1240
|
|
|
public function getLanguage() |
1241
|
|
|
{ |
1242
|
|
|
return $this->language; |
1243
|
|
|
} |
1244
|
|
|
|
1245
|
|
|
/** |
1246
|
|
|
* Set languageGuessed |
1247
|
|
|
* |
1248
|
|
|
* @param bool $languageGuessed |
1249
|
|
|
* |
1250
|
|
|
* @return \AppBundle\Entity\User |
1251
|
|
|
*/ |
1252
|
|
|
public function setLanguageGuessed($languageGuessed) |
1253
|
|
|
{ |
1254
|
|
|
$this->languageGuessed = $languageGuessed; |
1255
|
|
|
|
1256
|
|
|
return $this; |
1257
|
|
|
} |
1258
|
|
|
|
1259
|
|
|
/** |
1260
|
|
|
* Get languageGuessed |
1261
|
|
|
* |
1262
|
|
|
* @return bool |
1263
|
|
|
*/ |
1264
|
|
|
public function getLanguageGuessed() |
1265
|
|
|
{ |
1266
|
|
|
return $this->languageGuessed; |
1267
|
|
|
} |
1268
|
|
|
|
1269
|
|
|
/** |
1270
|
|
|
* Set domain |
1271
|
|
|
* |
1272
|
|
|
* @param string $domain |
1273
|
|
|
* |
1274
|
|
|
* @return \AppBundle\Entity\User |
1275
|
|
|
*/ |
1276
|
|
|
public function setDomain($domain) |
1277
|
|
|
{ |
1278
|
|
|
$this->domain = $domain; |
1279
|
|
|
|
1280
|
|
|
return $this; |
1281
|
|
|
} |
1282
|
|
|
|
1283
|
|
|
/** |
1284
|
|
|
* Get domain |
1285
|
|
|
* |
1286
|
|
|
* @return string |
1287
|
|
|
*/ |
1288
|
|
|
public function getDomain() |
1289
|
|
|
{ |
1290
|
|
|
return $this->domain; |
1291
|
|
|
} |
1292
|
|
|
|
1293
|
|
|
/** |
1294
|
|
|
* Set admin |
1295
|
|
|
* |
1296
|
|
|
* @param int $admin |
1297
|
|
|
* |
1298
|
|
|
* @return \AppBundle\Entity\User |
1299
|
|
|
*/ |
1300
|
|
|
public function setAdmin($admin) |
1301
|
|
|
{ |
1302
|
|
|
$this->admin = $admin; |
1303
|
|
|
|
1304
|
|
|
return $this; |
1305
|
|
|
} |
1306
|
|
|
|
1307
|
|
|
/** |
1308
|
|
|
* Get admin |
1309
|
|
|
* |
1310
|
|
|
* @return int |
1311
|
|
|
*/ |
1312
|
|
|
public function getAdmin() |
1313
|
|
|
{ |
1314
|
|
|
return $this->admin; |
1315
|
|
|
} |
1316
|
|
|
|
1317
|
|
|
/** |
1318
|
|
|
* Set dataLicense |
1319
|
|
|
* |
1320
|
|
|
* @param bool $dataLicense |
1321
|
|
|
* |
1322
|
|
|
* @return \AppBundle\Entity\User |
1323
|
|
|
*/ |
1324
|
|
|
public function setDataLicense($dataLicense) |
1325
|
|
|
{ |
1326
|
|
|
$this->dataLicense = $dataLicense; |
1327
|
|
|
|
1328
|
|
|
return $this; |
1329
|
|
|
} |
1330
|
|
|
|
1331
|
|
|
/** |
1332
|
|
|
* Get dataLicense |
1333
|
|
|
* |
1334
|
|
|
* @return bool |
1335
|
|
|
*/ |
1336
|
|
|
public function getDataLicense() |
1337
|
|
|
{ |
1338
|
|
|
return $this->dataLicense; |
1339
|
|
|
} |
1340
|
|
|
|
1341
|
|
|
/** |
1342
|
|
|
* Set description |
1343
|
|
|
* |
1344
|
|
|
* @param string $description |
1345
|
|
|
* |
1346
|
|
|
* @return \AppBundle\Entity\User |
1347
|
|
|
*/ |
1348
|
|
|
public function setDescription($description) |
1349
|
|
|
{ |
1350
|
|
|
$this->description = $description; |
1351
|
|
|
|
1352
|
|
|
return $this; |
1353
|
|
|
} |
1354
|
|
|
|
1355
|
|
|
/** |
1356
|
|
|
* Get description |
1357
|
|
|
* |
1358
|
|
|
* @return string |
1359
|
|
|
*/ |
1360
|
|
|
public function getDescription() |
1361
|
|
|
{ |
1362
|
|
|
return $this->description; |
1363
|
|
|
} |
1364
|
|
|
|
1365
|
|
|
/** |
1366
|
|
|
* Set descHtmledit |
1367
|
|
|
* |
1368
|
|
|
* @param bool $descHtmledit |
1369
|
|
|
* |
1370
|
|
|
* @return \AppBundle\Entity\User |
1371
|
|
|
*/ |
1372
|
|
|
public function setDescHtmledit($descHtmledit) |
1373
|
|
|
{ |
1374
|
|
|
$this->descHtmledit = $descHtmledit; |
1375
|
|
|
|
1376
|
|
|
return $this; |
1377
|
|
|
} |
1378
|
|
|
|
1379
|
|
|
/** |
1380
|
|
|
* Get descHtmledit |
1381
|
|
|
* |
1382
|
|
|
* @return bool |
1383
|
|
|
*/ |
1384
|
|
|
public function getDescHtmledit() |
1385
|
|
|
{ |
1386
|
|
|
return $this->descHtmledit; |
1387
|
|
|
} |
1388
|
|
|
|
1389
|
|
|
/** |
1390
|
|
|
* Get userId |
1391
|
|
|
* |
1392
|
|
|
* @return int |
1393
|
|
|
*/ |
1394
|
|
|
public function getUserId() |
1395
|
|
|
{ |
1396
|
|
|
return $this->userId; |
1397
|
|
|
} |
1398
|
|
|
} |
1399
|
|
|
|