Completed
Push — master ( 17d78d...4b1efa )
by WEBEWEB
01:27
created

BoniMali::getNumeroLigne()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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\QGI;
13
14
use DateTime;
15
16
/**
17
 * Boni mali.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\Core\ThirdParty\Quadratus\Model\QGI
21
 */
22
class BoniMali {
23
24
    /**
25
     * Bm calcule.
26
     *
27
     * @var bool|null
28
     */
29
    private $bmCalcule;
30
31
    /**
32
     * Bonus.
33
     *
34
     * @var float|null
35
     */
36
    private $bonus;
37
38
    /**
39
     * Code client.
40
     *
41
     * @var string|null
42
     */
43
    private $codeClient;
44
45
    /**
46
     * Code collaborateur.
47
     *
48
     * @var string|null
49
     */
50
    private $codeCollaborateur;
51
52
    /**
53
     * Code mission.
54
     *
55
     * @var string|null
56
     */
57
    private $codeMission;
58
59
    /**
60
     * Date bm.
61
     *
62
     * @var DateTime|null
63
     */
64
    private $dateBm;
65
66
    /**
67
     * Libelle.
68
     *
69
     * @var string|null
70
     */
71
    private $libelle;
72
73
    /**
74
     * Malus.
75
     *
76
     * @var float|null
77
     */
78
    private $malus;
79
80
    /**
81
     * Monnaie.
82
     *
83
     * @var string|null
84
     */
85
    private $monnaie;
86
87
    /**
88
     * Numero bm.
89
     *
90
     * @var string|null
91
     */
92
    private $numeroBm;
93
94
    /**
95
     * Numero ligne.
96
     *
97
     * @var int|null
98
     */
99
    private $numeroLigne;
100
101
    /**
102
     * Constructor.
103
     */
104
    public function __construct() {
105
        // NOTHING TO DO
106
    }
107
108
    /**
109
     * Get the bm calcule.
110
     *
111
     * @return bool|null Returns the bm calcule.
112
     */
113
    public function getBmCalcule(): ?bool {
114
        return $this->bmCalcule;
115
    }
116
117
    /**
118
     * Get the bonus.
119
     *
120
     * @return float|null Returns the bonus.
121
     */
122
    public function getBonus(): ?float {
123
        return $this->bonus;
124
    }
125
126
    /**
127
     * Get the code client.
128
     *
129
     * @return string|null Returns the code client.
130
     */
131
    public function getCodeClient(): ?string {
132
        return $this->codeClient;
133
    }
134
135
    /**
136
     * Get the code collaborateur.
137
     *
138
     * @return string|null Returns the code collaborateur.
139
     */
140
    public function getCodeCollaborateur(): ?string {
141
        return $this->codeCollaborateur;
142
    }
143
144
    /**
145
     * Get the code mission.
146
     *
147
     * @return string|null Returns the code mission.
148
     */
149
    public function getCodeMission(): ?string {
150
        return $this->codeMission;
151
    }
152
153
    /**
154
     * Get the date bm.
155
     *
156
     * @return DateTime|null Returns the date bm.
157
     */
158
    public function getDateBm(): ?DateTime {
159
        return $this->dateBm;
160
    }
161
162
    /**
163
     * Get the libelle.
164
     *
165
     * @return string|null Returns the libelle.
166
     */
167
    public function getLibelle(): ?string {
168
        return $this->libelle;
169
    }
170
171
    /**
172
     * Get the malus.
173
     *
174
     * @return float|null Returns the malus.
175
     */
176
    public function getMalus(): ?float {
177
        return $this->malus;
178
    }
179
180
    /**
181
     * Get the monnaie.
182
     *
183
     * @return string|null Returns the monnaie.
184
     */
185
    public function getMonnaie(): ?string {
186
        return $this->monnaie;
187
    }
188
189
    /**
190
     * Get the numero bm.
191
     *
192
     * @return string|null Returns the numero bm.
193
     */
194
    public function getNumeroBm(): ?string {
195
        return $this->numeroBm;
196
    }
197
198
    /**
199
     * Get the numero ligne.
200
     *
201
     * @return int|null Returns the numero ligne.
202
     */
203
    public function getNumeroLigne(): ?int {
204
        return $this->numeroLigne;
205
    }
206
207
    /**
208
     * Set the bm calcule.
209
     *
210
     * @param bool|null $bmCalcule The bm calcule.
211
     * @return BoniMali Returns this Boni mali.
212
     */
213
    public function setBmCalcule(?bool $bmCalcule): BoniMali {
214
        $this->bmCalcule = $bmCalcule;
215
        return $this;
216
    }
217
218
    /**
219
     * Set the bonus.
220
     *
221
     * @param float|null $bonus The bonus.
222
     * @return BoniMali Returns this Boni mali.
223
     */
224
    public function setBonus(?float $bonus): BoniMali {
225
        $this->bonus = $bonus;
226
        return $this;
227
    }
228
229
    /**
230
     * Set the code client.
231
     *
232
     * @param string|null $codeClient The code client.
233
     * @return BoniMali Returns this Boni mali.
234
     */
235
    public function setCodeClient(?string $codeClient): BoniMali {
236
        $this->codeClient = $codeClient;
237
        return $this;
238
    }
239
240
    /**
241
     * Set the code collaborateur.
242
     *
243
     * @param string|null $codeCollaborateur The code collaborateur.
244
     * @return BoniMali Returns this Boni mali.
245
     */
246
    public function setCodeCollaborateur(?string $codeCollaborateur): BoniMali {
247
        $this->codeCollaborateur = $codeCollaborateur;
248
        return $this;
249
    }
250
251
    /**
252
     * Set the code mission.
253
     *
254
     * @param string|null $codeMission The code mission.
255
     * @return BoniMali Returns this Boni mali.
256
     */
257
    public function setCodeMission(?string $codeMission): BoniMali {
258
        $this->codeMission = $codeMission;
259
        return $this;
260
    }
261
262
    /**
263
     * Set the date bm.
264
     *
265
     * @param DateTime|null $dateBm The date bm.
266
     * @return BoniMali Returns this Boni mali.
267
     */
268
    public function setDateBm(?DateTime $dateBm): BoniMali {
269
        $this->dateBm = $dateBm;
270
        return $this;
271
    }
272
273
    /**
274
     * Set the libelle.
275
     *
276
     * @param string|null $libelle The libelle.
277
     * @return BoniMali Returns this Boni mali.
278
     */
279
    public function setLibelle(?string $libelle): BoniMali {
280
        $this->libelle = $libelle;
281
        return $this;
282
    }
283
284
    /**
285
     * Set the malus.
286
     *
287
     * @param float|null $malus The malus.
288
     * @return BoniMali Returns this Boni mali.
289
     */
290
    public function setMalus(?float $malus): BoniMali {
291
        $this->malus = $malus;
292
        return $this;
293
    }
294
295
    /**
296
     * Set the monnaie.
297
     *
298
     * @param string|null $monnaie The monnaie.
299
     * @return BoniMali Returns this Boni mali.
300
     */
301
    public function setMonnaie(?string $monnaie): BoniMali {
302
        $this->monnaie = $monnaie;
303
        return $this;
304
    }
305
306
    /**
307
     * Set the numero bm.
308
     *
309
     * @param string|null $numeroBm The numero bm.
310
     * @return BoniMali Returns this Boni mali.
311
     */
312
    public function setNumeroBm(?string $numeroBm): BoniMali {
313
        $this->numeroBm = $numeroBm;
314
        return $this;
315
    }
316
317
    /**
318
     * Set the numero ligne.
319
     *
320
     * @param int|null $numeroLigne The numero ligne.
321
     * @return BoniMali Returns this Boni mali.
322
     */
323
    public function setNumeroLigne(?int $numeroLigne): BoniMali {
324
        $this->numeroLigne = $numeroLigne;
325
        return $this;
326
    }
327
}
328