Completed
Push — master ( f21a5b...a05864 )
by WEBEWEB
02:08
created

SkiDataCustomerTrait::setDivision()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * This file is part of the core-library package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Core\SkiData\Model;
13
14
use DateTime;
15
16
/**
17
 * SkiData customer trait.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\Core\SkiData\Model
21
 */
22
trait SkiDataCustomerTrait {
23
24
    /**
25
     * Customer number.
26
     *
27
     * @var integer
28
     */
29
    private $customerNumber;
30
31
    /**
32
     * Date/time of last modification.
33
     *
34
     * @var DateTime
35
     */
36
    private $datetimeLastModification;
37
38
    /**
39
     * Deleted record.
40
     *
41
     * @var boolean
42
     */
43
    private $deletedRecord;
44
45
    /**
46
     * Division.
47
     *
48
     * @var string
49
     */
50
    private $division;
51
52
    /**
53
     * E-mail.
54
     *
55
     * @var string
56
     */
57
    private $email;
58
59
    /**
60
     * Firstname.
61
     *
62
     * @var string
63
     */
64
    private $firstname;
65
66
    /**
67
     * Group counting.
68
     *
69
     * @var boolean
70
     */
71
    private $groupCounting;
72
73
    /**
74
     * Remarks.
75
     *
76
     * @var string
77
     */
78
    private $remarks;
79
80
    /**
81
     * Remarks 2.
82
     *
83
     * @var string
84
     */
85
    private $remarks2;
86
87
    /**
88
     * Remarks 3.
89
     *
90
     * @var string
91
     */
92
    private $remarks3;
93
94
    /**
95
     * Surname.
96
     *
97
     * @var string
98
     */
99
    private $surname;
100
101
    /**
102
     * Title.
103
     *
104
     * @var string
105
     */
106
    private $title;
107
108
    /**
109
     * Get the customer number.
110
     *
111
     * @return int Returns the customer number.
112
     */
113
    public function getCustomerNumber() {
114
        return $this->customerNumber;
115
    }
116
117
    /**
118
     * Get the date/time of last modification.
119
     *
120
     * @return DateTime Returns the date/time of last modification.
121
     */
122
    public function getDatetimeLastModification() {
123
        return $this->datetimeLastModification;
124
    }
125
126
    /**
127
     * Get the deleted record.
128
     *
129
     * @return bool Returns the deleted record.
130
     */
131
    public function getDeletedRecord() {
132
        return $this->deletedRecord;
133
    }
134
135
    /**
136
     * Get the division.
137
     *
138
     * @return string Returns the division.
139
     */
140
    public function getDivision() {
141
        return $this->division;
142
    }
143
144
    /**
145
     * Get the email.
146
     *
147
     * @return string Returns the email.
148
     */
149
    public function getEmail() {
150
        return $this->email;
151
    }
152
153
    /**
154
     * Get the firstname.
155
     *
156
     * @return string Returns the firstname.
157
     */
158
    public function getFirstname() {
159
        return $this->firstname;
160
    }
161
162
    /**
163
     * Get the group counting.
164
     *
165
     * @return bool Returns the group counting.
166
     */
167
    public function getGroupCounting() {
168
        return $this->groupCounting;
169
    }
170
171
    /**
172
     * Get the remarks.
173
     *
174
     * @return string Returns the remarks.
175
     */
176
    public function getRemarks() {
177
        return $this->remarks;
178
    }
179
180
    /**
181
     * Get the remarks 2.
182
     *
183
     * @return string Returns the remarks 2.
184
     */
185
    public function getRemarks2() {
186
        return $this->remarks2;
187
    }
188
189
    /**
190
     * Get the remarks 3.
191
     *
192
     * @return string Returns the remarks 3.
193
     */
194
    public function getRemarks3() {
195
        return $this->remarks3;
196
    }
197
198
    /**
199
     * Get the surname.
200
     *
201
     * @return string Returns the surname.
202
     */
203
    public function getSurname() {
204
        return $this->surname;
205
    }
206
207
    /**
208
     * Get the title.
209
     *
210
     * @return string Returns the title.
211
     */
212
    public function getTitle() {
213
        return $this->title;
214
    }
215
216
    /**
217
     * Set the customer number.
218
     *
219
     * @param int $customerNumber The customer number.
220
     */
221
    public function setCustomerNumber($customerNumber) {
222
        $this->customerNumber = $customerNumber;
223
        return $this;
224
    }
225
226
    /**
227
     * Set the date/time of last modification.
228
     *
229
     * @param DateTime $datetimeLastModification The date/time of last modification.
230
     */
231
    public function setDatetimeLastModification(DateTime $datetimeLastModification = null) {
232
        $this->datetimeLastModification = $datetimeLastModification;
233
        return $this;
234
    }
235
236
    /**
237
     * Set the deleted record.
238
     *
239
     * @param bool $deletedRecord The deleted record.
240
     */
241
    public function setDeletedRecord($deletedRecord) {
242
        $this->deletedRecord = $deletedRecord;
243
        return $this;
244
    }
245
246
    /**
247
     * Set the division.
248
     *
249
     * @param string $division The division.
250
     */
251
    public function setDivision($division) {
252
        $this->division = $division;
253
        return $this;
254
    }
255
256
    /**
257
     * Set the email.
258
     *
259
     * @param string $email The email.
260
     */
261
    public function setEmail($email) {
262
        $this->email = $email;
263
        return $this;
264
    }
265
266
    /**
267
     * Set the firstname.
268
     *
269
     * @param string $firstname The firstname.
270
     */
271
    public function setFirstname($firstname) {
272
        $this->firstname = $firstname;
273
        return $this;
274
    }
275
276
    /**
277
     * Set the group counting.
278
     *
279
     * @param bool $groupCounting The group counting.
280
     */
281
    public function setGroupCounting($groupCounting) {
282
        $this->groupCounting = $groupCounting;
283
        return $this;
284
    }
285
286
    /**
287
     * Set the remarks.
288
     *
289
     * @param string $remarks The remarks .
290
     */
291
    public function setRemarks($remarks) {
292
        $this->remarks = $remarks;
293
        return $this;
294
    }
295
296
    /**
297
     * Set the remarks 2.
298
     *
299
     * @param string $remarks2 The remarks 2.
300
     */
301
    public function setRemarks2($remarks2) {
302
        $this->remarks2 = $remarks2;
303
        return $this;
304
    }
305
306
    /**
307
     * Set the remarks 3.
308
     *
309
     * @param string $remarks3 The remarks 3.
310
     */
311
    public function setRemarks3($remarks3) {
312
        $this->remarks3 = $remarks3;
313
        return $this;
314
    }
315
316
    /**
317
     * Set the surname.
318
     *
319
     * @param string $surname The surname.
320
     */
321
    public function setSurname($surname) {
322
        $this->surname = $surname;
323
        return $this;
324
    }
325
326
    /**
327
     * Set the title.
328
     *
329
     * @param string $title The title.
330
     */
331
    public function setTitle($title) {
332
        $this->title = $title;
333
        return $this;
334
    }
335
336
}
337