|
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\QPaie; |
|
13
|
|
|
|
|
14
|
|
|
use DateTime; |
|
15
|
|
|
|
|
16
|
|
|
/** |
|
17
|
|
|
* Taux plan paie. |
|
18
|
|
|
* |
|
19
|
|
|
* @author webeweb <https://github.com/webeweb/> |
|
20
|
|
|
* @package WBW\Library\Core\ThirdParty\Quadratus\Model\QPaie |
|
21
|
|
|
*/ |
|
22
|
|
|
class TauxPlanPaie { |
|
23
|
|
|
|
|
24
|
|
|
/** |
|
25
|
|
|
* A partir de. |
|
26
|
|
|
* |
|
27
|
|
|
* @var DateTime|null |
|
28
|
|
|
*/ |
|
29
|
|
|
private $aPartirDe; |
|
30
|
|
|
|
|
31
|
|
|
/** |
|
32
|
|
|
* Code etablissement. |
|
33
|
|
|
* |
|
34
|
|
|
* @var int|null |
|
35
|
|
|
*/ |
|
36
|
|
|
private $codeEtablissement; |
|
37
|
|
|
|
|
38
|
|
|
/** |
|
39
|
|
|
* Format non etendu. |
|
40
|
|
|
* |
|
41
|
|
|
* @var bool|null |
|
42
|
|
|
*/ |
|
43
|
|
|
private $formatNonEtendu; |
|
44
|
|
|
|
|
45
|
|
|
/** |
|
46
|
|
|
* Numero taux. |
|
47
|
|
|
* |
|
48
|
|
|
* @var int|null |
|
49
|
|
|
*/ |
|
50
|
|
|
private $numeroTaux; |
|
51
|
|
|
|
|
52
|
|
|
/** |
|
53
|
|
|
* Taux patronal. |
|
54
|
|
|
* |
|
55
|
|
|
* @var float|null |
|
56
|
|
|
*/ |
|
57
|
|
|
private $tauxPatronal; |
|
58
|
|
|
|
|
59
|
|
|
/** |
|
60
|
|
|
* Taux salarial. |
|
61
|
|
|
* |
|
62
|
|
|
* @var float|null |
|
63
|
|
|
*/ |
|
64
|
|
|
private $tauxSalarial; |
|
65
|
|
|
|
|
66
|
|
|
|
|
67
|
|
|
/** |
|
68
|
|
|
* Constructor. |
|
69
|
|
|
*/ |
|
70
|
|
|
public function __construct() { |
|
71
|
|
|
// NOTHING TO DO |
|
72
|
|
|
} |
|
73
|
|
|
|
|
74
|
|
|
/** |
|
75
|
|
|
* Get the a partir de. |
|
76
|
|
|
* |
|
77
|
|
|
* @return DateTime|null Returns the a partir de. |
|
78
|
|
|
*/ |
|
79
|
|
|
public function getAPartirDe(): ?DateTime{ |
|
80
|
|
|
return $this->aPartirDe; |
|
81
|
|
|
} |
|
82
|
|
|
|
|
83
|
|
|
/** |
|
84
|
|
|
* Get the code etablissement. |
|
85
|
|
|
* |
|
86
|
|
|
* @return int|null Returns the code etablissement. |
|
87
|
|
|
*/ |
|
88
|
|
|
public function getCodeEtablissement(): ?int{ |
|
89
|
|
|
return $this->codeEtablissement; |
|
90
|
|
|
} |
|
91
|
|
|
|
|
92
|
|
|
/** |
|
93
|
|
|
* Get the format non etendu. |
|
94
|
|
|
* |
|
95
|
|
|
* @return bool|null Returns the format non etendu. |
|
96
|
|
|
*/ |
|
97
|
|
|
public function getFormatNonEtendu(): ?bool{ |
|
98
|
|
|
return $this->formatNonEtendu; |
|
99
|
|
|
} |
|
100
|
|
|
|
|
101
|
|
|
/** |
|
102
|
|
|
* Get the numero taux. |
|
103
|
|
|
* |
|
104
|
|
|
* @return int|null Returns the numero taux. |
|
105
|
|
|
*/ |
|
106
|
|
|
public function getNumeroTaux(): ?int{ |
|
107
|
|
|
return $this->numeroTaux; |
|
108
|
|
|
} |
|
109
|
|
|
|
|
110
|
|
|
/** |
|
111
|
|
|
* Get the taux patronal. |
|
112
|
|
|
* |
|
113
|
|
|
* @return float|null Returns the taux patronal. |
|
114
|
|
|
*/ |
|
115
|
|
|
public function getTauxPatronal(): ?float{ |
|
116
|
|
|
return $this->tauxPatronal; |
|
117
|
|
|
} |
|
118
|
|
|
|
|
119
|
|
|
/** |
|
120
|
|
|
* Get the taux salarial. |
|
121
|
|
|
* |
|
122
|
|
|
* @return float|null Returns the taux salarial. |
|
123
|
|
|
*/ |
|
124
|
|
|
public function getTauxSalarial(): ?float{ |
|
125
|
|
|
return $this->tauxSalarial; |
|
126
|
|
|
} |
|
127
|
|
|
|
|
128
|
|
|
/** |
|
129
|
|
|
* Set the a partir de. |
|
130
|
|
|
* |
|
131
|
|
|
* @param DateTime|null $aPartirDe The a partir de. |
|
132
|
|
|
* @return TauxPlanPaie Returns this Taux plan paie. |
|
133
|
|
|
*/ |
|
134
|
|
|
public function setAPartirDe(?DateTime $aPartirDe): TauxPlanPaie { |
|
135
|
|
|
$this->aPartirDe = $aPartirDe; |
|
136
|
|
|
return $this; |
|
137
|
|
|
} |
|
138
|
|
|
|
|
139
|
|
|
/** |
|
140
|
|
|
* Set the code etablissement. |
|
141
|
|
|
* |
|
142
|
|
|
* @param int|null $codeEtablissement The code etablissement. |
|
143
|
|
|
* @return TauxPlanPaie Returns this Taux plan paie. |
|
144
|
|
|
*/ |
|
145
|
|
|
public function setCodeEtablissement(?int $codeEtablissement): TauxPlanPaie { |
|
146
|
|
|
$this->codeEtablissement = $codeEtablissement; |
|
147
|
|
|
return $this; |
|
148
|
|
|
} |
|
149
|
|
|
|
|
150
|
|
|
/** |
|
151
|
|
|
* Set the format non etendu. |
|
152
|
|
|
* |
|
153
|
|
|
* @param bool|null $formatNonEtendu The format non etendu. |
|
154
|
|
|
* @return TauxPlanPaie Returns this Taux plan paie. |
|
155
|
|
|
*/ |
|
156
|
|
|
public function setFormatNonEtendu(?bool $formatNonEtendu): TauxPlanPaie { |
|
157
|
|
|
$this->formatNonEtendu = $formatNonEtendu; |
|
158
|
|
|
return $this; |
|
159
|
|
|
} |
|
160
|
|
|
|
|
161
|
|
|
/** |
|
162
|
|
|
* Set the numero taux. |
|
163
|
|
|
* |
|
164
|
|
|
* @param int|null $numeroTaux The numero taux. |
|
165
|
|
|
* @return TauxPlanPaie Returns this Taux plan paie. |
|
166
|
|
|
*/ |
|
167
|
|
|
public function setNumeroTaux(?int $numeroTaux): TauxPlanPaie { |
|
168
|
|
|
$this->numeroTaux = $numeroTaux; |
|
169
|
|
|
return $this; |
|
170
|
|
|
} |
|
171
|
|
|
|
|
172
|
|
|
/** |
|
173
|
|
|
* Set the taux patronal. |
|
174
|
|
|
* |
|
175
|
|
|
* @param float|null $tauxPatronal The taux patronal. |
|
176
|
|
|
* @return TauxPlanPaie Returns this Taux plan paie. |
|
177
|
|
|
*/ |
|
178
|
|
|
public function setTauxPatronal(?float $tauxPatronal): TauxPlanPaie { |
|
179
|
|
|
$this->tauxPatronal = $tauxPatronal; |
|
180
|
|
|
return $this; |
|
181
|
|
|
} |
|
182
|
|
|
|
|
183
|
|
|
/** |
|
184
|
|
|
* Set the taux salarial. |
|
185
|
|
|
* |
|
186
|
|
|
* @param float|null $tauxSalarial The taux salarial. |
|
187
|
|
|
* @return TauxPlanPaie Returns this Taux plan paie. |
|
188
|
|
|
*/ |
|
189
|
|
|
public function setTauxSalarial(?float $tauxSalarial): TauxPlanPaie { |
|
190
|
|
|
$this->tauxSalarial = $tauxSalarial; |
|
191
|
|
|
return $this; |
|
192
|
|
|
} |
|
193
|
|
|
} |
|
194
|
|
|
|