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\ThirdParty\Quadratus\Model\QCompta; |
13
|
|
|
|
14
|
|
|
use DateTime; |
15
|
|
|
|
16
|
|
|
/** |
17
|
|
|
* Caisse attestation. |
18
|
|
|
* |
19
|
|
|
* @author webeweb <https://github.com/webeweb/> |
20
|
|
|
* @package WBW\Library\Core\ThirdParty\Quadratus\Model\QCompta |
21
|
|
|
*/ |
22
|
|
|
class CaisseAttestation { |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* Collaborateur. |
26
|
|
|
* |
27
|
|
|
* @var string|null |
28
|
|
|
*/ |
29
|
|
|
private $collaborateur; |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* Date acquisition. |
33
|
|
|
* |
34
|
|
|
* @var DateTime|null |
35
|
|
|
*/ |
36
|
|
|
private $dateAcquisition; |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* Date application. |
40
|
|
|
* |
41
|
|
|
* @var DateTime|null |
42
|
|
|
*/ |
43
|
|
|
private $dateApplication; |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* Date attestation. |
47
|
|
|
* |
48
|
|
|
* @var DateTime|null |
49
|
|
|
*/ |
50
|
|
|
private $dateAttestation; |
51
|
|
|
|
52
|
|
|
/** |
53
|
|
|
* Date creation. |
54
|
|
|
* |
55
|
|
|
* @var DateTime|null |
56
|
|
|
*/ |
57
|
|
|
private $dateCreation; |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* Info fichier. |
61
|
|
|
* |
62
|
|
|
* @var string|null |
63
|
|
|
*/ |
64
|
|
|
private $infoFichier; |
65
|
|
|
|
66
|
|
|
/** |
67
|
|
|
* Licence. |
68
|
|
|
* |
69
|
|
|
* @var string|null |
70
|
|
|
*/ |
71
|
|
|
private $licence; |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* Nom responsable. |
75
|
|
|
* |
76
|
|
|
* @var string|null |
77
|
|
|
*/ |
78
|
|
|
private $nomResponsable; |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* Nom ville. |
82
|
|
|
* |
83
|
|
|
* @var string|null |
84
|
|
|
*/ |
85
|
|
|
private $nomVille; |
86
|
|
|
|
87
|
|
|
/** |
88
|
|
|
* Num version. |
89
|
|
|
* |
90
|
|
|
* @var string|null |
91
|
|
|
*/ |
92
|
|
|
private $numVersion; |
93
|
|
|
|
94
|
|
|
/** |
95
|
|
|
* Ordinateur. |
96
|
|
|
* |
97
|
|
|
* @var string|null |
98
|
|
|
*/ |
99
|
|
|
private $ordinateur; |
100
|
|
|
|
101
|
|
|
/** |
102
|
|
|
* Origine. |
103
|
|
|
* |
104
|
|
|
* @var string|null |
105
|
|
|
*/ |
106
|
|
|
private $origine; |
107
|
|
|
|
108
|
|
|
/** |
109
|
|
|
* Prenom responsable. |
110
|
|
|
* |
111
|
|
|
* @var string|null |
112
|
|
|
*/ |
113
|
|
|
private $prenomResponsable; |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* Raison sociale distri. |
117
|
|
|
* |
118
|
|
|
* @var string|null |
119
|
|
|
*/ |
120
|
|
|
private $raisonSocialeDistri; |
121
|
|
|
|
122
|
|
|
/** |
123
|
|
|
* Raison sociale societe. |
124
|
|
|
* |
125
|
|
|
* @var string|null |
126
|
|
|
*/ |
127
|
|
|
private $raisonSocialeSociete; |
128
|
|
|
|
129
|
|
|
/** |
130
|
|
|
* Uniq id. |
131
|
|
|
* |
132
|
|
|
* @var int|null |
133
|
|
|
*/ |
134
|
|
|
private $uniqId; |
135
|
|
|
|
136
|
|
|
/** |
137
|
|
|
* Utilisateur. |
138
|
|
|
* |
139
|
|
|
* @var string|null |
140
|
|
|
*/ |
141
|
|
|
private $utilisateur; |
142
|
|
|
|
143
|
|
|
|
144
|
|
|
/** |
145
|
|
|
* Constructor. |
146
|
|
|
*/ |
147
|
|
|
public function __construct() { |
148
|
|
|
// NOTHING TO DO |
149
|
|
|
} |
150
|
|
|
|
151
|
|
|
/** |
152
|
|
|
* Get the collaborateur. |
153
|
|
|
* |
154
|
|
|
* @return string|null Returns the collaborateur. |
155
|
|
|
*/ |
156
|
|
|
public function getCollaborateur(): ?string{ |
157
|
|
|
return $this->collaborateur; |
158
|
|
|
} |
159
|
|
|
|
160
|
|
|
/** |
161
|
|
|
* Get the date acquisition. |
162
|
|
|
* |
163
|
|
|
* @return DateTime|null Returns the date acquisition. |
164
|
|
|
*/ |
165
|
|
|
public function getDateAcquisition(): ?DateTime{ |
166
|
|
|
return $this->dateAcquisition; |
167
|
|
|
} |
168
|
|
|
|
169
|
|
|
/** |
170
|
|
|
* Get the date application. |
171
|
|
|
* |
172
|
|
|
* @return DateTime|null Returns the date application. |
173
|
|
|
*/ |
174
|
|
|
public function getDateApplication(): ?DateTime{ |
175
|
|
|
return $this->dateApplication; |
176
|
|
|
} |
177
|
|
|
|
178
|
|
|
/** |
179
|
|
|
* Get the date attestation. |
180
|
|
|
* |
181
|
|
|
* @return DateTime|null Returns the date attestation. |
182
|
|
|
*/ |
183
|
|
|
public function getDateAttestation(): ?DateTime{ |
184
|
|
|
return $this->dateAttestation; |
185
|
|
|
} |
186
|
|
|
|
187
|
|
|
/** |
188
|
|
|
* Get the date creation. |
189
|
|
|
* |
190
|
|
|
* @return DateTime|null Returns the date creation. |
191
|
|
|
*/ |
192
|
|
|
public function getDateCreation(): ?DateTime{ |
193
|
|
|
return $this->dateCreation; |
194
|
|
|
} |
195
|
|
|
|
196
|
|
|
/** |
197
|
|
|
* Get the info fichier. |
198
|
|
|
* |
199
|
|
|
* @return string|null Returns the info fichier. |
200
|
|
|
*/ |
201
|
|
|
public function getInfoFichier(): ?string{ |
202
|
|
|
return $this->infoFichier; |
203
|
|
|
} |
204
|
|
|
|
205
|
|
|
/** |
206
|
|
|
* Get the licence. |
207
|
|
|
* |
208
|
|
|
* @return string|null Returns the licence. |
209
|
|
|
*/ |
210
|
|
|
public function getLicence(): ?string{ |
211
|
|
|
return $this->licence; |
212
|
|
|
} |
213
|
|
|
|
214
|
|
|
/** |
215
|
|
|
* Get the nom responsable. |
216
|
|
|
* |
217
|
|
|
* @return string|null Returns the nom responsable. |
218
|
|
|
*/ |
219
|
|
|
public function getNomResponsable(): ?string{ |
220
|
|
|
return $this->nomResponsable; |
221
|
|
|
} |
222
|
|
|
|
223
|
|
|
/** |
224
|
|
|
* Get the nom ville. |
225
|
|
|
* |
226
|
|
|
* @return string|null Returns the nom ville. |
227
|
|
|
*/ |
228
|
|
|
public function getNomVille(): ?string{ |
229
|
|
|
return $this->nomVille; |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* Get the num version. |
234
|
|
|
* |
235
|
|
|
* @return string|null Returns the num version. |
236
|
|
|
*/ |
237
|
|
|
public function getNumVersion(): ?string{ |
238
|
|
|
return $this->numVersion; |
239
|
|
|
} |
240
|
|
|
|
241
|
|
|
/** |
242
|
|
|
* Get the ordinateur. |
243
|
|
|
* |
244
|
|
|
* @return string|null Returns the ordinateur. |
245
|
|
|
*/ |
246
|
|
|
public function getOrdinateur(): ?string{ |
247
|
|
|
return $this->ordinateur; |
248
|
|
|
} |
249
|
|
|
|
250
|
|
|
/** |
251
|
|
|
* Get the origine. |
252
|
|
|
* |
253
|
|
|
* @return string|null Returns the origine. |
254
|
|
|
*/ |
255
|
|
|
public function getOrigine(): ?string{ |
256
|
|
|
return $this->origine; |
257
|
|
|
} |
258
|
|
|
|
259
|
|
|
/** |
260
|
|
|
* Get the prenom responsable. |
261
|
|
|
* |
262
|
|
|
* @return string|null Returns the prenom responsable. |
263
|
|
|
*/ |
264
|
|
|
public function getPrenomResponsable(): ?string{ |
265
|
|
|
return $this->prenomResponsable; |
266
|
|
|
} |
267
|
|
|
|
268
|
|
|
/** |
269
|
|
|
* Get the raison sociale distri. |
270
|
|
|
* |
271
|
|
|
* @return string|null Returns the raison sociale distri. |
272
|
|
|
*/ |
273
|
|
|
public function getRaisonSocialeDistri(): ?string{ |
274
|
|
|
return $this->raisonSocialeDistri; |
275
|
|
|
} |
276
|
|
|
|
277
|
|
|
/** |
278
|
|
|
* Get the raison sociale societe. |
279
|
|
|
* |
280
|
|
|
* @return string|null Returns the raison sociale societe. |
281
|
|
|
*/ |
282
|
|
|
public function getRaisonSocialeSociete(): ?string{ |
283
|
|
|
return $this->raisonSocialeSociete; |
284
|
|
|
} |
285
|
|
|
|
286
|
|
|
/** |
287
|
|
|
* Get the uniq id. |
288
|
|
|
* |
289
|
|
|
* @return int|null Returns the uniq id. |
290
|
|
|
*/ |
291
|
|
|
public function getUniqId(): ?int{ |
292
|
|
|
return $this->uniqId; |
293
|
|
|
} |
294
|
|
|
|
295
|
|
|
/** |
296
|
|
|
* Get the utilisateur. |
297
|
|
|
* |
298
|
|
|
* @return string|null Returns the utilisateur. |
299
|
|
|
*/ |
300
|
|
|
public function getUtilisateur(): ?string{ |
301
|
|
|
return $this->utilisateur; |
302
|
|
|
} |
303
|
|
|
|
304
|
|
|
/** |
305
|
|
|
* Set the collaborateur. |
306
|
|
|
* |
307
|
|
|
* @param string|null $collaborateur The collaborateur. |
308
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
309
|
|
|
*/ |
310
|
|
|
public function setCollaborateur(?string $collaborateur): CaisseAttestation { |
311
|
|
|
$this->collaborateur = $collaborateur; |
312
|
|
|
return $this; |
313
|
|
|
} |
314
|
|
|
|
315
|
|
|
/** |
316
|
|
|
* Set the date acquisition. |
317
|
|
|
* |
318
|
|
|
* @param DateTime|null $dateAcquisition The date acquisition. |
319
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
320
|
|
|
*/ |
321
|
|
|
public function setDateAcquisition(?DateTime $dateAcquisition): CaisseAttestation { |
322
|
|
|
$this->dateAcquisition = $dateAcquisition; |
323
|
|
|
return $this; |
324
|
|
|
} |
325
|
|
|
|
326
|
|
|
/** |
327
|
|
|
* Set the date application. |
328
|
|
|
* |
329
|
|
|
* @param DateTime|null $dateApplication The date application. |
330
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
331
|
|
|
*/ |
332
|
|
|
public function setDateApplication(?DateTime $dateApplication): CaisseAttestation { |
333
|
|
|
$this->dateApplication = $dateApplication; |
334
|
|
|
return $this; |
335
|
|
|
} |
336
|
|
|
|
337
|
|
|
/** |
338
|
|
|
* Set the date attestation. |
339
|
|
|
* |
340
|
|
|
* @param DateTime|null $dateAttestation The date attestation. |
341
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
342
|
|
|
*/ |
343
|
|
|
public function setDateAttestation(?DateTime $dateAttestation): CaisseAttestation { |
344
|
|
|
$this->dateAttestation = $dateAttestation; |
345
|
|
|
return $this; |
346
|
|
|
} |
347
|
|
|
|
348
|
|
|
/** |
349
|
|
|
* Set the date creation. |
350
|
|
|
* |
351
|
|
|
* @param DateTime|null $dateCreation The date creation. |
352
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
353
|
|
|
*/ |
354
|
|
|
public function setDateCreation(?DateTime $dateCreation): CaisseAttestation { |
355
|
|
|
$this->dateCreation = $dateCreation; |
356
|
|
|
return $this; |
357
|
|
|
} |
358
|
|
|
|
359
|
|
|
/** |
360
|
|
|
* Set the info fichier. |
361
|
|
|
* |
362
|
|
|
* @param string|null $infoFichier The info fichier. |
363
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
364
|
|
|
*/ |
365
|
|
|
public function setInfoFichier(?string $infoFichier): CaisseAttestation { |
366
|
|
|
$this->infoFichier = $infoFichier; |
367
|
|
|
return $this; |
368
|
|
|
} |
369
|
|
|
|
370
|
|
|
/** |
371
|
|
|
* Set the licence. |
372
|
|
|
* |
373
|
|
|
* @param string|null $licence The licence. |
374
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
375
|
|
|
*/ |
376
|
|
|
public function setLicence(?string $licence): CaisseAttestation { |
377
|
|
|
$this->licence = $licence; |
378
|
|
|
return $this; |
379
|
|
|
} |
380
|
|
|
|
381
|
|
|
/** |
382
|
|
|
* Set the nom responsable. |
383
|
|
|
* |
384
|
|
|
* @param string|null $nomResponsable The nom responsable. |
385
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
386
|
|
|
*/ |
387
|
|
|
public function setNomResponsable(?string $nomResponsable): CaisseAttestation { |
388
|
|
|
$this->nomResponsable = $nomResponsable; |
389
|
|
|
return $this; |
390
|
|
|
} |
391
|
|
|
|
392
|
|
|
/** |
393
|
|
|
* Set the nom ville. |
394
|
|
|
* |
395
|
|
|
* @param string|null $nomVille The nom ville. |
396
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
397
|
|
|
*/ |
398
|
|
|
public function setNomVille(?string $nomVille): CaisseAttestation { |
399
|
|
|
$this->nomVille = $nomVille; |
400
|
|
|
return $this; |
401
|
|
|
} |
402
|
|
|
|
403
|
|
|
/** |
404
|
|
|
* Set the num version. |
405
|
|
|
* |
406
|
|
|
* @param string|null $numVersion The num version. |
407
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
408
|
|
|
*/ |
409
|
|
|
public function setNumVersion(?string $numVersion): CaisseAttestation { |
410
|
|
|
$this->numVersion = $numVersion; |
411
|
|
|
return $this; |
412
|
|
|
} |
413
|
|
|
|
414
|
|
|
/** |
415
|
|
|
* Set the ordinateur. |
416
|
|
|
* |
417
|
|
|
* @param string|null $ordinateur The ordinateur. |
418
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
419
|
|
|
*/ |
420
|
|
|
public function setOrdinateur(?string $ordinateur): CaisseAttestation { |
421
|
|
|
$this->ordinateur = $ordinateur; |
422
|
|
|
return $this; |
423
|
|
|
} |
424
|
|
|
|
425
|
|
|
/** |
426
|
|
|
* Set the origine. |
427
|
|
|
* |
428
|
|
|
* @param string|null $origine The origine. |
429
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
430
|
|
|
*/ |
431
|
|
|
public function setOrigine(?string $origine): CaisseAttestation { |
432
|
|
|
$this->origine = $origine; |
433
|
|
|
return $this; |
434
|
|
|
} |
435
|
|
|
|
436
|
|
|
/** |
437
|
|
|
* Set the prenom responsable. |
438
|
|
|
* |
439
|
|
|
* @param string|null $prenomResponsable The prenom responsable. |
440
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
441
|
|
|
*/ |
442
|
|
|
public function setPrenomResponsable(?string $prenomResponsable): CaisseAttestation { |
443
|
|
|
$this->prenomResponsable = $prenomResponsable; |
444
|
|
|
return $this; |
445
|
|
|
} |
446
|
|
|
|
447
|
|
|
/** |
448
|
|
|
* Set the raison sociale distri. |
449
|
|
|
* |
450
|
|
|
* @param string|null $raisonSocialeDistri The raison sociale distri. |
451
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
452
|
|
|
*/ |
453
|
|
|
public function setRaisonSocialeDistri(?string $raisonSocialeDistri): CaisseAttestation { |
454
|
|
|
$this->raisonSocialeDistri = $raisonSocialeDistri; |
455
|
|
|
return $this; |
456
|
|
|
} |
457
|
|
|
|
458
|
|
|
/** |
459
|
|
|
* Set the raison sociale societe. |
460
|
|
|
* |
461
|
|
|
* @param string|null $raisonSocialeSociete The raison sociale societe. |
462
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
463
|
|
|
*/ |
464
|
|
|
public function setRaisonSocialeSociete(?string $raisonSocialeSociete): CaisseAttestation { |
465
|
|
|
$this->raisonSocialeSociete = $raisonSocialeSociete; |
466
|
|
|
return $this; |
467
|
|
|
} |
468
|
|
|
|
469
|
|
|
/** |
470
|
|
|
* Set the uniq id. |
471
|
|
|
* |
472
|
|
|
* @param int|null $uniqId The uniq id. |
473
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
474
|
|
|
*/ |
475
|
|
|
public function setUniqId(?int $uniqId): CaisseAttestation { |
476
|
|
|
$this->uniqId = $uniqId; |
477
|
|
|
return $this; |
478
|
|
|
} |
479
|
|
|
|
480
|
|
|
/** |
481
|
|
|
* Set the utilisateur. |
482
|
|
|
* |
483
|
|
|
* @param string|null $utilisateur The utilisateur. |
484
|
|
|
* @return CaisseAttestation Returns this Caisse attestation. |
485
|
|
|
*/ |
486
|
|
|
public function setUtilisateur(?string $utilisateur): CaisseAttestation { |
487
|
|
|
$this->utilisateur = $utilisateur; |
488
|
|
|
return $this; |
489
|
|
|
} |
490
|
|
|
} |
491
|
|
|
|