Completed
Push — master ( 8db338...3a13f3 )
by Vragov
06:07
created

User   A

Complexity

Total Complexity 30

Size/Duplication

Total Lines 362
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 30
lcom 0
cbo 0
dl 0
loc 362
rs 10
c 0
b 0
f 0

30 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
A getType() 0 4 1
A setType() 0 6 1
A getEmail() 0 4 1
A setEmail() 0 6 1
A getLanguageId() 0 4 1
A setLanguageId() 0 6 1
A getFullName() 0 4 1
A setFullName() 0 6 1
A getCompanyName() 0 4 1
A setCompanyName() 0 6 1
A getCompanyPosition() 0 4 1
A setCompanyPosition() 0 6 1
A getThumbnail() 0 4 1
A setThumbnail() 0 6 1
A isConfirmed() 0 4 1
A setConfirmed() 0 6 1
A isActive() 0 4 1
A setActive() 0 6 1
A isDelete() 0 4 1
A setDelete() 0 6 1
A getCreatedAt() 0 4 1
A setCreatedAt() 0 6 1
A getUpdatedAt() 0 4 1
A setUpdatedAt() 0 6 1
A getPassword() 0 4 1
A setPassword() 0 6 1
A getCustomFields() 0 4 1
A setCustomFields() 0 6 1
1
<?php
2
namespace OmnideskBundle\Model;
3
4
/**
5
 * Class User
6
 * @package OmnideskBundle\Model
7
 */
8
class User
9
{
10
    /**
11
     * @var int
12
     */
13
    private $id;
14
15
    /**
16
     * @var string
17
     */
18
    private $type;
19
20
    /**
21
     * @var string
22
     */
23
    private $email;
24
25
    /**
26
     * @var int
27
     */
28
    private $languageId;
29
30
    /**
31
     * @var string
32
     */
33
    private $fullName;
34
35
    /**
36
     * @var string
37
     */
38
    private $companyName;
39
40
    /**
41
     * @var string
42
     */
43
    private $companyPosition;
44
45
    /**
46
     * @var string
47
     */
48
    private $thumbnail;
49
50
    /**
51
     * @var bool
52
     */
53
    private $confirmed;
54
55
    /**
56
     * @var bool
57
     */
58
    private $active;
59
60
    /**
61
     * @var bool
62
     */
63
    private $delete;
64
65
    /**
66
     * @var \DateTime
67
     */
68
    private $createdAt;
69
70
    /**
71
     * @var \DateTime
72
     */
73
    private $updatedAt;
74
75
    /**
76
     * @var string
77
     */
78
    private $password;
79
80
    /**
81
     * @var array
82
     */
83
    private $customFields;
84
85
    /**
86
     * @return int
87
     */
88
    public function getId()
89
    {
90
        return $this->id;
91
    }
92
93
    /**
94
     * @param int $id
95
     * @return $this
96
     */
97
    public function setId($id)
98
    {
99
        $this->id = $id;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @return string
106
     */
107
    public function getType()
108
    {
109
        return $this->type;
110
    }
111
112
    /**
113
     * @param string $type
114
     * @return $this
115
     */
116
    public function setType($type)
117
    {
118
        $this->type = $type;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @return string
125
     */
126
    public function getEmail()
127
    {
128
        return $this->email;
129
    }
130
131
    /**
132
     * @param string $email
133
     * @return $this
134
     */
135
    public function setEmail($email)
136
    {
137
        $this->email = $email;
138
139
        return $this;
140
    }
141
142
    /**
143
     * @return int
144
     */
145
    public function getLanguageId()
146
    {
147
        return $this->languageId;
148
    }
149
150
    /**
151
     * @param int $languageId
152
     * @return $this
153
     */
154
    public function setLanguageId($languageId)
155
    {
156
        $this->languageId = $languageId;
157
158
        return $this;
159
    }
160
161
    /**
162
     * @return string
163
     */
164
    public function getFullName()
165
    {
166
        return $this->fullName;
167
    }
168
169
    /**
170
     * @param string $fullName
171
     * @return $this
172
     */
173
    public function setFullName($fullName)
174
    {
175
        $this->fullName = $fullName;
176
177
        return $this;
178
    }
179
180
    /**
181
     * @return string
182
     */
183
    public function getCompanyName()
184
    {
185
        return $this->companyName;
186
    }
187
188
    /**
189
     * @param string $companyName
190
     * @return $this
191
     */
192
    public function setCompanyName($companyName)
193
    {
194
        $this->companyName = $companyName;
195
196
        return $this;
197
    }
198
199
    /**
200
     * @return string
201
     */
202
    public function getCompanyPosition()
203
    {
204
        return $this->companyPosition;
205
    }
206
207
    /**
208
     * @param string $companyPosition
209
     * @return $this
210
     */
211
    public function setCompanyPosition($companyPosition)
212
    {
213
        $this->companyPosition = $companyPosition;
214
215
        return $this;
216
    }
217
218
    /**
219
     * @return string
220
     */
221
    public function getThumbnail()
222
    {
223
        return $this->thumbnail;
224
    }
225
226
    /**
227
     * @param string $thumbnail
228
     * @return $this
229
     */
230
    public function setThumbnail($thumbnail)
231
    {
232
        $this->thumbnail = $thumbnail;
233
234
        return $this;
235
    }
236
237
    /**
238
     * @return bool
239
     */
240
    public function isConfirmed()
241
    {
242
        return $this->confirmed;
243
    }
244
245
    /**
246
     * @param bool $confirmed
247
     * @return $this
248
     */
249
    public function setConfirmed($confirmed)
250
    {
251
        $this->confirmed = $confirmed;
252
253
        return $this;
254
    }
255
256
    /**
257
     * @return bool
258
     */
259
    public function isActive()
260
    {
261
        return $this->active;
262
    }
263
264
    /**
265
     * @param bool $active
266
     * @return $this
267
     */
268
    public function setActive($active)
269
    {
270
        $this->active = $active;
271
272
        return $this;
273
    }
274
275
    /**
276
     * @return bool
277
     */
278
    public function isDelete()
279
    {
280
        return $this->delete;
281
    }
282
283
    /**
284
     * @param bool $delete
285
     * @return $this
286
     */
287
    public function setDelete($delete)
288
    {
289
        $this->delete = $delete;
290
291
        return $this;
292
    }
293
294
    /**
295
     * @return \DateTime
296
     */
297
    public function getCreatedAt()
298
    {
299
        return $this->createdAt;
300
    }
301
302
    /**
303
     * @param \DateTime $createdAt
304
     * @return $this
305
     */
306
    public function setCreatedAt(\DateTime $createdAt)
307
    {
308
        $this->createdAt = $createdAt;
309
310
        return $this;
311
    }
312
313
    /**
314
     * @return \DateTime
315
     */
316
    public function getUpdatedAt()
317
    {
318
        return $this->updatedAt;
319
    }
320
321
    /**
322
     * @param \DateTime $updatedAt
323
     * @return $this
324
     */
325
    public function setUpdatedAt(\DateTime $updatedAt)
326
    {
327
        $this->updatedAt = $updatedAt;
328
329
        return $this;
330
    }
331
332
    /**
333
     * @return string
334
     */
335
    public function getPassword()
336
    {
337
        return $this->password;
338
    }
339
340
    /**
341
     * @param string $password
342
     * @return $this
343
     */
344
    public function setPassword($password)
345
    {
346
        $this->password = $password;
347
348
        return $this;
349
    }
350
351
    /**
352
     * @return array
353
     */
354
    public function getCustomFields()
355
    {
356
        return $this->customFields;
357
    }
358
359
    /**
360
     * @param array $customFields
361
     * @return $this
362
     */
363
    public function setCustomFields(array $customFields)
364
    {
365
        $this->customFields = $customFields;
366
367
        return $this;
368
    }
369
}
370