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
|
|
|
* Historiquehtabord. |
18
|
|
|
* |
19
|
|
|
* @author webeweb <https://github.com/webeweb/> |
20
|
|
|
* @package WBW\Library\Core\ThirdParty\Quadratus\Model\QCompta |
21
|
|
|
*/ |
22
|
|
|
class Historiquehtabord { |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* Alpha. |
26
|
|
|
* |
27
|
|
|
* @var string|null |
28
|
|
|
*/ |
29
|
|
|
private $alpha; |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* An n. |
33
|
|
|
* |
34
|
|
|
* @var float|null |
35
|
|
|
*/ |
36
|
|
|
private $anN; |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* An n1. |
40
|
|
|
* |
41
|
|
|
* @var float|null |
42
|
|
|
*/ |
43
|
|
|
private $anN1; |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* An n2. |
47
|
|
|
* |
48
|
|
|
* @var float|null |
49
|
|
|
*/ |
50
|
|
|
private $anN2; |
51
|
|
|
|
52
|
|
|
/** |
53
|
|
|
* Budget1. |
54
|
|
|
* |
55
|
|
|
* @var float|null |
56
|
|
|
*/ |
57
|
|
|
private $budget1; |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* Budget2. |
61
|
|
|
* |
62
|
|
|
* @var float|null |
63
|
|
|
*/ |
64
|
|
|
private $budget2; |
65
|
|
|
|
66
|
|
|
/** |
67
|
|
|
* Date. |
68
|
|
|
* |
69
|
|
|
* @var DateTime|null |
70
|
|
|
*/ |
71
|
|
|
private $date; |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* Flg an n. |
75
|
|
|
* |
76
|
|
|
* @var bool|null |
77
|
|
|
*/ |
78
|
|
|
private $flgAnN; |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* Flg an n1. |
82
|
|
|
* |
83
|
|
|
* @var bool|null |
84
|
|
|
*/ |
85
|
|
|
private $flgAnN1; |
86
|
|
|
|
87
|
|
|
/** |
88
|
|
|
* Flg an n2. |
89
|
|
|
* |
90
|
|
|
* @var bool|null |
91
|
|
|
*/ |
92
|
|
|
private $flgAnN2; |
93
|
|
|
|
94
|
|
|
/** |
95
|
|
|
* Flg budget1. |
96
|
|
|
* |
97
|
|
|
* @var bool|null |
98
|
|
|
*/ |
99
|
|
|
private $flgBudget1; |
100
|
|
|
|
101
|
|
|
/** |
102
|
|
|
* Flg budget2. |
103
|
|
|
* |
104
|
|
|
* @var bool|null |
105
|
|
|
*/ |
106
|
|
|
private $flgBudget2; |
107
|
|
|
|
108
|
|
|
/** |
109
|
|
|
* Fmt dec. |
110
|
|
|
* |
111
|
|
|
* @var int|null |
112
|
|
|
*/ |
113
|
|
|
private $fmtDec; |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* Fmt int. |
117
|
|
|
* |
118
|
|
|
* @var int|null |
119
|
|
|
*/ |
120
|
|
|
private $fmtInt; |
121
|
|
|
|
122
|
|
|
/** |
123
|
|
|
* Memo. |
124
|
|
|
* |
125
|
|
|
* @var string|null |
126
|
|
|
*/ |
127
|
|
|
private $memo; |
128
|
|
|
|
129
|
|
|
/** |
130
|
|
|
* No conv euro. |
131
|
|
|
* |
132
|
|
|
* @var bool|null |
133
|
|
|
*/ |
134
|
|
|
private $noConvEuro; |
135
|
|
|
|
136
|
|
|
/** |
137
|
|
|
* Regle. |
138
|
|
|
* |
139
|
|
|
* @var string|null |
140
|
|
|
*/ |
141
|
|
|
private $regle; |
142
|
|
|
|
143
|
|
|
/** |
144
|
|
|
* Rub. |
145
|
|
|
* |
146
|
|
|
* @var string|null |
147
|
|
|
*/ |
148
|
|
|
private $rub; |
149
|
|
|
|
150
|
|
|
/** |
151
|
|
|
* Type zone. |
152
|
|
|
* |
153
|
|
|
* @var string|null |
154
|
|
|
*/ |
155
|
|
|
private $typeZone; |
156
|
|
|
|
157
|
|
|
|
158
|
|
|
/** |
159
|
|
|
* Constructor. |
160
|
|
|
*/ |
161
|
|
|
public function __construct() { |
162
|
|
|
// NOTHING TO DO |
163
|
|
|
} |
164
|
|
|
|
165
|
|
|
/** |
166
|
|
|
* Get the alpha. |
167
|
|
|
* |
168
|
|
|
* @return string|null Returns the alpha. |
169
|
|
|
*/ |
170
|
|
|
public function getAlpha(): ?string{ |
171
|
|
|
return $this->alpha; |
172
|
|
|
} |
173
|
|
|
|
174
|
|
|
/** |
175
|
|
|
* Get the an n. |
176
|
|
|
* |
177
|
|
|
* @return float|null Returns the an n. |
178
|
|
|
*/ |
179
|
|
|
public function getAnN(): ?float{ |
180
|
|
|
return $this->anN; |
181
|
|
|
} |
182
|
|
|
|
183
|
|
|
/** |
184
|
|
|
* Get the an n1. |
185
|
|
|
* |
186
|
|
|
* @return float|null Returns the an n1. |
187
|
|
|
*/ |
188
|
|
|
public function getAnN1(): ?float{ |
189
|
|
|
return $this->anN1; |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
/** |
193
|
|
|
* Get the an n2. |
194
|
|
|
* |
195
|
|
|
* @return float|null Returns the an n2. |
196
|
|
|
*/ |
197
|
|
|
public function getAnN2(): ?float{ |
198
|
|
|
return $this->anN2; |
199
|
|
|
} |
200
|
|
|
|
201
|
|
|
/** |
202
|
|
|
* Get the budget1. |
203
|
|
|
* |
204
|
|
|
* @return float|null Returns the budget1. |
205
|
|
|
*/ |
206
|
|
|
public function getBudget1(): ?float{ |
207
|
|
|
return $this->budget1; |
208
|
|
|
} |
209
|
|
|
|
210
|
|
|
/** |
211
|
|
|
* Get the budget2. |
212
|
|
|
* |
213
|
|
|
* @return float|null Returns the budget2. |
214
|
|
|
*/ |
215
|
|
|
public function getBudget2(): ?float{ |
216
|
|
|
return $this->budget2; |
217
|
|
|
} |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* Get the date. |
221
|
|
|
* |
222
|
|
|
* @return DateTime|null Returns the date. |
223
|
|
|
*/ |
224
|
|
|
public function getDate(): ?DateTime{ |
225
|
|
|
return $this->date; |
226
|
|
|
} |
227
|
|
|
|
228
|
|
|
/** |
229
|
|
|
* Get the flg an n. |
230
|
|
|
* |
231
|
|
|
* @return bool|null Returns the flg an n. |
232
|
|
|
*/ |
233
|
|
|
public function getFlgAnN(): ?bool{ |
234
|
|
|
return $this->flgAnN; |
235
|
|
|
} |
236
|
|
|
|
237
|
|
|
/** |
238
|
|
|
* Get the flg an n1. |
239
|
|
|
* |
240
|
|
|
* @return bool|null Returns the flg an n1. |
241
|
|
|
*/ |
242
|
|
|
public function getFlgAnN1(): ?bool{ |
243
|
|
|
return $this->flgAnN1; |
244
|
|
|
} |
245
|
|
|
|
246
|
|
|
/** |
247
|
|
|
* Get the flg an n2. |
248
|
|
|
* |
249
|
|
|
* @return bool|null Returns the flg an n2. |
250
|
|
|
*/ |
251
|
|
|
public function getFlgAnN2(): ?bool{ |
252
|
|
|
return $this->flgAnN2; |
253
|
|
|
} |
254
|
|
|
|
255
|
|
|
/** |
256
|
|
|
* Get the flg budget1. |
257
|
|
|
* |
258
|
|
|
* @return bool|null Returns the flg budget1. |
259
|
|
|
*/ |
260
|
|
|
public function getFlgBudget1(): ?bool{ |
261
|
|
|
return $this->flgBudget1; |
262
|
|
|
} |
263
|
|
|
|
264
|
|
|
/** |
265
|
|
|
* Get the flg budget2. |
266
|
|
|
* |
267
|
|
|
* @return bool|null Returns the flg budget2. |
268
|
|
|
*/ |
269
|
|
|
public function getFlgBudget2(): ?bool{ |
270
|
|
|
return $this->flgBudget2; |
271
|
|
|
} |
272
|
|
|
|
273
|
|
|
/** |
274
|
|
|
* Get the fmt dec. |
275
|
|
|
* |
276
|
|
|
* @return int|null Returns the fmt dec. |
277
|
|
|
*/ |
278
|
|
|
public function getFmtDec(): ?int{ |
279
|
|
|
return $this->fmtDec; |
280
|
|
|
} |
281
|
|
|
|
282
|
|
|
/** |
283
|
|
|
* Get the fmt int. |
284
|
|
|
* |
285
|
|
|
* @return int|null Returns the fmt int. |
286
|
|
|
*/ |
287
|
|
|
public function getFmtInt(): ?int{ |
288
|
|
|
return $this->fmtInt; |
289
|
|
|
} |
290
|
|
|
|
291
|
|
|
/** |
292
|
|
|
* Get the memo. |
293
|
|
|
* |
294
|
|
|
* @return string|null Returns the memo. |
295
|
|
|
*/ |
296
|
|
|
public function getMemo(): ?string{ |
297
|
|
|
return $this->memo; |
298
|
|
|
} |
299
|
|
|
|
300
|
|
|
/** |
301
|
|
|
* Get the no conv euro. |
302
|
|
|
* |
303
|
|
|
* @return bool|null Returns the no conv euro. |
304
|
|
|
*/ |
305
|
|
|
public function getNoConvEuro(): ?bool{ |
306
|
|
|
return $this->noConvEuro; |
307
|
|
|
} |
308
|
|
|
|
309
|
|
|
/** |
310
|
|
|
* Get the regle. |
311
|
|
|
* |
312
|
|
|
* @return string|null Returns the regle. |
313
|
|
|
*/ |
314
|
|
|
public function getRegle(): ?string{ |
315
|
|
|
return $this->regle; |
316
|
|
|
} |
317
|
|
|
|
318
|
|
|
/** |
319
|
|
|
* Get the rub. |
320
|
|
|
* |
321
|
|
|
* @return string|null Returns the rub. |
322
|
|
|
*/ |
323
|
|
|
public function getRub(): ?string{ |
324
|
|
|
return $this->rub; |
325
|
|
|
} |
326
|
|
|
|
327
|
|
|
/** |
328
|
|
|
* Get the type zone. |
329
|
|
|
* |
330
|
|
|
* @return string|null Returns the type zone. |
331
|
|
|
*/ |
332
|
|
|
public function getTypeZone(): ?string{ |
333
|
|
|
return $this->typeZone; |
334
|
|
|
} |
335
|
|
|
|
336
|
|
|
/** |
337
|
|
|
* Set the alpha. |
338
|
|
|
* |
339
|
|
|
* @param string|null $alpha The alpha. |
340
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
341
|
|
|
*/ |
342
|
|
|
public function setAlpha(?string $alpha): Historiquehtabord { |
343
|
|
|
$this->alpha = $alpha; |
344
|
|
|
return $this; |
345
|
|
|
} |
346
|
|
|
|
347
|
|
|
/** |
348
|
|
|
* Set the an n. |
349
|
|
|
* |
350
|
|
|
* @param float|null $anN The an n. |
351
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
352
|
|
|
*/ |
353
|
|
|
public function setAnN(?float $anN): Historiquehtabord { |
354
|
|
|
$this->anN = $anN; |
355
|
|
|
return $this; |
356
|
|
|
} |
357
|
|
|
|
358
|
|
|
/** |
359
|
|
|
* Set the an n1. |
360
|
|
|
* |
361
|
|
|
* @param float|null $anN1 The an n1. |
362
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
363
|
|
|
*/ |
364
|
|
|
public function setAnN1(?float $anN1): Historiquehtabord { |
365
|
|
|
$this->anN1 = $anN1; |
366
|
|
|
return $this; |
367
|
|
|
} |
368
|
|
|
|
369
|
|
|
/** |
370
|
|
|
* Set the an n2. |
371
|
|
|
* |
372
|
|
|
* @param float|null $anN2 The an n2. |
373
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
374
|
|
|
*/ |
375
|
|
|
public function setAnN2(?float $anN2): Historiquehtabord { |
376
|
|
|
$this->anN2 = $anN2; |
377
|
|
|
return $this; |
378
|
|
|
} |
379
|
|
|
|
380
|
|
|
/** |
381
|
|
|
* Set the budget1. |
382
|
|
|
* |
383
|
|
|
* @param float|null $budget1 The budget1. |
384
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
385
|
|
|
*/ |
386
|
|
|
public function setBudget1(?float $budget1): Historiquehtabord { |
387
|
|
|
$this->budget1 = $budget1; |
388
|
|
|
return $this; |
389
|
|
|
} |
390
|
|
|
|
391
|
|
|
/** |
392
|
|
|
* Set the budget2. |
393
|
|
|
* |
394
|
|
|
* @param float|null $budget2 The budget2. |
395
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
396
|
|
|
*/ |
397
|
|
|
public function setBudget2(?float $budget2): Historiquehtabord { |
398
|
|
|
$this->budget2 = $budget2; |
399
|
|
|
return $this; |
400
|
|
|
} |
401
|
|
|
|
402
|
|
|
/** |
403
|
|
|
* Set the date. |
404
|
|
|
* |
405
|
|
|
* @param DateTime|null $date The date. |
406
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
407
|
|
|
*/ |
408
|
|
|
public function setDate(?DateTime $date): Historiquehtabord { |
409
|
|
|
$this->date = $date; |
410
|
|
|
return $this; |
411
|
|
|
} |
412
|
|
|
|
413
|
|
|
/** |
414
|
|
|
* Set the flg an n. |
415
|
|
|
* |
416
|
|
|
* @param bool|null $flgAnN The flg an n. |
417
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
418
|
|
|
*/ |
419
|
|
|
public function setFlgAnN(?bool $flgAnN): Historiquehtabord { |
420
|
|
|
$this->flgAnN = $flgAnN; |
421
|
|
|
return $this; |
422
|
|
|
} |
423
|
|
|
|
424
|
|
|
/** |
425
|
|
|
* Set the flg an n1. |
426
|
|
|
* |
427
|
|
|
* @param bool|null $flgAnN1 The flg an n1. |
428
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
429
|
|
|
*/ |
430
|
|
|
public function setFlgAnN1(?bool $flgAnN1): Historiquehtabord { |
431
|
|
|
$this->flgAnN1 = $flgAnN1; |
432
|
|
|
return $this; |
433
|
|
|
} |
434
|
|
|
|
435
|
|
|
/** |
436
|
|
|
* Set the flg an n2. |
437
|
|
|
* |
438
|
|
|
* @param bool|null $flgAnN2 The flg an n2. |
439
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
440
|
|
|
*/ |
441
|
|
|
public function setFlgAnN2(?bool $flgAnN2): Historiquehtabord { |
442
|
|
|
$this->flgAnN2 = $flgAnN2; |
443
|
|
|
return $this; |
444
|
|
|
} |
445
|
|
|
|
446
|
|
|
/** |
447
|
|
|
* Set the flg budget1. |
448
|
|
|
* |
449
|
|
|
* @param bool|null $flgBudget1 The flg budget1. |
450
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
451
|
|
|
*/ |
452
|
|
|
public function setFlgBudget1(?bool $flgBudget1): Historiquehtabord { |
453
|
|
|
$this->flgBudget1 = $flgBudget1; |
454
|
|
|
return $this; |
455
|
|
|
} |
456
|
|
|
|
457
|
|
|
/** |
458
|
|
|
* Set the flg budget2. |
459
|
|
|
* |
460
|
|
|
* @param bool|null $flgBudget2 The flg budget2. |
461
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
462
|
|
|
*/ |
463
|
|
|
public function setFlgBudget2(?bool $flgBudget2): Historiquehtabord { |
464
|
|
|
$this->flgBudget2 = $flgBudget2; |
465
|
|
|
return $this; |
466
|
|
|
} |
467
|
|
|
|
468
|
|
|
/** |
469
|
|
|
* Set the fmt dec. |
470
|
|
|
* |
471
|
|
|
* @param int|null $fmtDec The fmt dec. |
472
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
473
|
|
|
*/ |
474
|
|
|
public function setFmtDec(?int $fmtDec): Historiquehtabord { |
475
|
|
|
$this->fmtDec = $fmtDec; |
476
|
|
|
return $this; |
477
|
|
|
} |
478
|
|
|
|
479
|
|
|
/** |
480
|
|
|
* Set the fmt int. |
481
|
|
|
* |
482
|
|
|
* @param int|null $fmtInt The fmt int. |
483
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
484
|
|
|
*/ |
485
|
|
|
public function setFmtInt(?int $fmtInt): Historiquehtabord { |
486
|
|
|
$this->fmtInt = $fmtInt; |
487
|
|
|
return $this; |
488
|
|
|
} |
489
|
|
|
|
490
|
|
|
/** |
491
|
|
|
* Set the memo. |
492
|
|
|
* |
493
|
|
|
* @param string|null $memo The memo. |
494
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
495
|
|
|
*/ |
496
|
|
|
public function setMemo(?string $memo): Historiquehtabord { |
497
|
|
|
$this->memo = $memo; |
498
|
|
|
return $this; |
499
|
|
|
} |
500
|
|
|
|
501
|
|
|
/** |
502
|
|
|
* Set the no conv euro. |
503
|
|
|
* |
504
|
|
|
* @param bool|null $noConvEuro The no conv euro. |
505
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
506
|
|
|
*/ |
507
|
|
|
public function setNoConvEuro(?bool $noConvEuro): Historiquehtabord { |
508
|
|
|
$this->noConvEuro = $noConvEuro; |
509
|
|
|
return $this; |
510
|
|
|
} |
511
|
|
|
|
512
|
|
|
/** |
513
|
|
|
* Set the regle. |
514
|
|
|
* |
515
|
|
|
* @param string|null $regle The regle. |
516
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
517
|
|
|
*/ |
518
|
|
|
public function setRegle(?string $regle): Historiquehtabord { |
519
|
|
|
$this->regle = $regle; |
520
|
|
|
return $this; |
521
|
|
|
} |
522
|
|
|
|
523
|
|
|
/** |
524
|
|
|
* Set the rub. |
525
|
|
|
* |
526
|
|
|
* @param string|null $rub The rub. |
527
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
528
|
|
|
*/ |
529
|
|
|
public function setRub(?string $rub): Historiquehtabord { |
530
|
|
|
$this->rub = $rub; |
531
|
|
|
return $this; |
532
|
|
|
} |
533
|
|
|
|
534
|
|
|
/** |
535
|
|
|
* Set the type zone. |
536
|
|
|
* |
537
|
|
|
* @param string|null $typeZone The type zone. |
538
|
|
|
* @return Historiquehtabord Returns this Historiquehtabord. |
539
|
|
|
*/ |
540
|
|
|
public function setTypeZone(?string $typeZone): Historiquehtabord { |
541
|
|
|
$this->typeZone = $typeZone; |
542
|
|
|
return $this; |
543
|
|
|
} |
544
|
|
|
} |
545
|
|
|
|