|
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\Proprete; |
|
13
|
|
|
|
|
14
|
|
|
/** |
|
15
|
|
|
* Articles frn. |
|
16
|
|
|
* |
|
17
|
|
|
* @author webeweb <https://github.com/webeweb/> |
|
18
|
|
|
* @package WBW\Library\Core\ThirdParty\Quadratus\Model\Proprete |
|
19
|
|
|
*/ |
|
20
|
|
|
class ArticlesFrn { |
|
21
|
|
|
|
|
22
|
|
|
/** |
|
23
|
|
|
* Code article. |
|
24
|
|
|
* |
|
25
|
|
|
* @var string|null |
|
26
|
|
|
*/ |
|
27
|
|
|
private $codeArticle; |
|
28
|
|
|
|
|
29
|
|
|
/** |
|
30
|
|
|
* Code fournisseur. |
|
31
|
|
|
* |
|
32
|
|
|
* @var string|null |
|
33
|
|
|
*/ |
|
34
|
|
|
private $codeFournisseur; |
|
35
|
|
|
|
|
36
|
|
|
/** |
|
37
|
|
|
* Commentaires. |
|
38
|
|
|
* |
|
39
|
|
|
* @var string|null |
|
40
|
|
|
*/ |
|
41
|
|
|
private $commentaires; |
|
42
|
|
|
|
|
43
|
|
|
/** |
|
44
|
|
|
* Conditionnement. |
|
45
|
|
|
* |
|
46
|
|
|
* @var string|null |
|
47
|
|
|
*/ |
|
48
|
|
|
private $conditionnement; |
|
49
|
|
|
|
|
50
|
|
|
/** |
|
51
|
|
|
* Delai le. |
|
52
|
|
|
* |
|
53
|
|
|
* @var int|null |
|
54
|
|
|
*/ |
|
55
|
|
|
private $delaiLe; |
|
56
|
|
|
|
|
57
|
|
|
/** |
|
58
|
|
|
* Delai local. |
|
59
|
|
|
* |
|
60
|
|
|
* @var bool|null |
|
61
|
|
|
*/ |
|
62
|
|
|
private $delaiLocal; |
|
63
|
|
|
|
|
64
|
|
|
/** |
|
65
|
|
|
* Delai nombre. |
|
66
|
|
|
* |
|
67
|
|
|
* @var int|null |
|
68
|
|
|
*/ |
|
69
|
|
|
private $delaiNombre; |
|
70
|
|
|
|
|
71
|
|
|
/** |
|
72
|
|
|
* Delai type. |
|
73
|
|
|
* |
|
74
|
|
|
* @var int|null |
|
75
|
|
|
*/ |
|
76
|
|
|
private $delaiType; |
|
77
|
|
|
|
|
78
|
|
|
/** |
|
79
|
|
|
* Ref article fournisseur. |
|
80
|
|
|
* |
|
81
|
|
|
* @var string|null |
|
82
|
|
|
*/ |
|
83
|
|
|
private $refArticleFournisseur; |
|
84
|
|
|
|
|
85
|
|
|
|
|
86
|
|
|
/** |
|
87
|
|
|
* Constructor. |
|
88
|
|
|
*/ |
|
89
|
|
|
public function __construct() { |
|
90
|
|
|
// NOTHING TO DO |
|
91
|
|
|
} |
|
92
|
|
|
|
|
93
|
|
|
/** |
|
94
|
|
|
* Get the code article. |
|
95
|
|
|
* |
|
96
|
|
|
* @return string|null Returns the code article. |
|
97
|
|
|
*/ |
|
98
|
|
|
public function getCodeArticle(): ?string{ |
|
99
|
|
|
return $this->codeArticle; |
|
100
|
|
|
} |
|
101
|
|
|
|
|
102
|
|
|
/** |
|
103
|
|
|
* Get the code fournisseur. |
|
104
|
|
|
* |
|
105
|
|
|
* @return string|null Returns the code fournisseur. |
|
106
|
|
|
*/ |
|
107
|
|
|
public function getCodeFournisseur(): ?string{ |
|
108
|
|
|
return $this->codeFournisseur; |
|
109
|
|
|
} |
|
110
|
|
|
|
|
111
|
|
|
/** |
|
112
|
|
|
* Get the commentaires. |
|
113
|
|
|
* |
|
114
|
|
|
* @return string|null Returns the commentaires. |
|
115
|
|
|
*/ |
|
116
|
|
|
public function getCommentaires(): ?string{ |
|
117
|
|
|
return $this->commentaires; |
|
118
|
|
|
} |
|
119
|
|
|
|
|
120
|
|
|
/** |
|
121
|
|
|
* Get the conditionnement. |
|
122
|
|
|
* |
|
123
|
|
|
* @return string|null Returns the conditionnement. |
|
124
|
|
|
*/ |
|
125
|
|
|
public function getConditionnement(): ?string{ |
|
126
|
|
|
return $this->conditionnement; |
|
127
|
|
|
} |
|
128
|
|
|
|
|
129
|
|
|
/** |
|
130
|
|
|
* Get the delai le. |
|
131
|
|
|
* |
|
132
|
|
|
* @return int|null Returns the delai le. |
|
133
|
|
|
*/ |
|
134
|
|
|
public function getDelaiLe(): ?int{ |
|
135
|
|
|
return $this->delaiLe; |
|
136
|
|
|
} |
|
137
|
|
|
|
|
138
|
|
|
/** |
|
139
|
|
|
* Get the delai local. |
|
140
|
|
|
* |
|
141
|
|
|
* @return bool|null Returns the delai local. |
|
142
|
|
|
*/ |
|
143
|
|
|
public function getDelaiLocal(): ?bool{ |
|
144
|
|
|
return $this->delaiLocal; |
|
145
|
|
|
} |
|
146
|
|
|
|
|
147
|
|
|
/** |
|
148
|
|
|
* Get the delai nombre. |
|
149
|
|
|
* |
|
150
|
|
|
* @return int|null Returns the delai nombre. |
|
151
|
|
|
*/ |
|
152
|
|
|
public function getDelaiNombre(): ?int{ |
|
153
|
|
|
return $this->delaiNombre; |
|
154
|
|
|
} |
|
155
|
|
|
|
|
156
|
|
|
/** |
|
157
|
|
|
* Get the delai type. |
|
158
|
|
|
* |
|
159
|
|
|
* @return int|null Returns the delai type. |
|
160
|
|
|
*/ |
|
161
|
|
|
public function getDelaiType(): ?int{ |
|
162
|
|
|
return $this->delaiType; |
|
163
|
|
|
} |
|
164
|
|
|
|
|
165
|
|
|
/** |
|
166
|
|
|
* Get the ref article fournisseur. |
|
167
|
|
|
* |
|
168
|
|
|
* @return string|null Returns the ref article fournisseur. |
|
169
|
|
|
*/ |
|
170
|
|
|
public function getRefArticleFournisseur(): ?string{ |
|
171
|
|
|
return $this->refArticleFournisseur; |
|
172
|
|
|
} |
|
173
|
|
|
|
|
174
|
|
|
/** |
|
175
|
|
|
* Set the code article. |
|
176
|
|
|
* |
|
177
|
|
|
* @param string|null $codeArticle The code article. |
|
178
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
179
|
|
|
*/ |
|
180
|
|
|
public function setCodeArticle(?string $codeArticle): ArticlesFrn { |
|
181
|
|
|
$this->codeArticle = $codeArticle; |
|
182
|
|
|
return $this; |
|
183
|
|
|
} |
|
184
|
|
|
|
|
185
|
|
|
/** |
|
186
|
|
|
* Set the code fournisseur. |
|
187
|
|
|
* |
|
188
|
|
|
* @param string|null $codeFournisseur The code fournisseur. |
|
189
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
190
|
|
|
*/ |
|
191
|
|
|
public function setCodeFournisseur(?string $codeFournisseur): ArticlesFrn { |
|
192
|
|
|
$this->codeFournisseur = $codeFournisseur; |
|
193
|
|
|
return $this; |
|
194
|
|
|
} |
|
195
|
|
|
|
|
196
|
|
|
/** |
|
197
|
|
|
* Set the commentaires. |
|
198
|
|
|
* |
|
199
|
|
|
* @param string|null $commentaires The commentaires. |
|
200
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
201
|
|
|
*/ |
|
202
|
|
|
public function setCommentaires(?string $commentaires): ArticlesFrn { |
|
203
|
|
|
$this->commentaires = $commentaires; |
|
204
|
|
|
return $this; |
|
205
|
|
|
} |
|
206
|
|
|
|
|
207
|
|
|
/** |
|
208
|
|
|
* Set the conditionnement. |
|
209
|
|
|
* |
|
210
|
|
|
* @param string|null $conditionnement The conditionnement. |
|
211
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
212
|
|
|
*/ |
|
213
|
|
|
public function setConditionnement(?string $conditionnement): ArticlesFrn { |
|
214
|
|
|
$this->conditionnement = $conditionnement; |
|
215
|
|
|
return $this; |
|
216
|
|
|
} |
|
217
|
|
|
|
|
218
|
|
|
/** |
|
219
|
|
|
* Set the delai le. |
|
220
|
|
|
* |
|
221
|
|
|
* @param int|null $delaiLe The delai le. |
|
222
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
223
|
|
|
*/ |
|
224
|
|
|
public function setDelaiLe(?int $delaiLe): ArticlesFrn { |
|
225
|
|
|
$this->delaiLe = $delaiLe; |
|
226
|
|
|
return $this; |
|
227
|
|
|
} |
|
228
|
|
|
|
|
229
|
|
|
/** |
|
230
|
|
|
* Set the delai local. |
|
231
|
|
|
* |
|
232
|
|
|
* @param bool|null $delaiLocal The delai local. |
|
233
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
234
|
|
|
*/ |
|
235
|
|
|
public function setDelaiLocal(?bool $delaiLocal): ArticlesFrn { |
|
236
|
|
|
$this->delaiLocal = $delaiLocal; |
|
237
|
|
|
return $this; |
|
238
|
|
|
} |
|
239
|
|
|
|
|
240
|
|
|
/** |
|
241
|
|
|
* Set the delai nombre. |
|
242
|
|
|
* |
|
243
|
|
|
* @param int|null $delaiNombre The delai nombre. |
|
244
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
245
|
|
|
*/ |
|
246
|
|
|
public function setDelaiNombre(?int $delaiNombre): ArticlesFrn { |
|
247
|
|
|
$this->delaiNombre = $delaiNombre; |
|
248
|
|
|
return $this; |
|
249
|
|
|
} |
|
250
|
|
|
|
|
251
|
|
|
/** |
|
252
|
|
|
* Set the delai type. |
|
253
|
|
|
* |
|
254
|
|
|
* @param int|null $delaiType The delai type. |
|
255
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
256
|
|
|
*/ |
|
257
|
|
|
public function setDelaiType(?int $delaiType): ArticlesFrn { |
|
258
|
|
|
$this->delaiType = $delaiType; |
|
259
|
|
|
return $this; |
|
260
|
|
|
} |
|
261
|
|
|
|
|
262
|
|
|
/** |
|
263
|
|
|
* Set the ref article fournisseur. |
|
264
|
|
|
* |
|
265
|
|
|
* @param string|null $refArticleFournisseur The ref article fournisseur. |
|
266
|
|
|
* @return ArticlesFrn Returns this Articles frn. |
|
267
|
|
|
*/ |
|
268
|
|
|
public function setRefArticleFournisseur(?string $refArticleFournisseur): ArticlesFrn { |
|
269
|
|
|
$this->refArticleFournisseur = $refArticleFournisseur; |
|
270
|
|
|
return $this; |
|
271
|
|
|
} |
|
272
|
|
|
} |
|
273
|
|
|
|