Warehouse::getDescription()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Dolibarr\Client\Domain\Warehouse;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * @author Laurent De Coninck <[email protected]>
9
 */
10
final class Warehouse
11
{
12
    /**
13
     * @var string|null
14
     *
15
     * @JMS\Type("string")
16
     * @JMS\SerializedName("id")
17
     */
18
    private $id;
19
20
    /**
21
     * @var string|null
22
     *
23
     * @JMS\Type("string")
24
     * @JMS\SerializedName("label")
25
     */
26
    private $label;
27
28
    /**
29
     * @var string|null
30
     *
31
     * @JMS\Type("string")
32
     * @JMS\SerializedName("description")
33
     */
34
    private $description;
35
36
    /**
37
     * @var string|null
38
     *
39
     * @JMS\Type("string")
40
     * @JMS\SerializedName("statut")
41
     */
42
    private $statut;
43
44
    /**
45
     * @var string|null
46
     *
47
     * @JMS\Type("string")
48
     * @JMS\SerializedName("lieu")
49
     */
50
    private $lieu;
51
52
    /**
53
     * @var string|null
54
     *
55
     * @JMS\Type("string")
56
     * @JMS\SerializedName("address")
57
     */
58
    private $address;
59
60
    /**
61
     * @var string|null
62
     *
63
     * @JMS\Type("string")
64
     * @JMS\SerializedName("zip")
65
     */
66
    private $zip;
67
68
    /**
69
     * @var string|null
70
     *
71
     * @JMS\Type("string")
72
     * @JMS\SerializedName("town")
73
     */
74
    private $town;
75
76
    /**
77
     * @var string|null
78
     *
79
     * @JMS\Type("string")
80
     * @JMS\SerializedName("fk_parent")
81
     */
82
    private $fkParent;
83
84
    /**
85
     * @var string|null
86
     *
87
     * @JMS\Type("string")
88
     * @JMS\SerializedName("ref")
89
     */
90
    private $ref;
91
92
    /**
93
     * @var string|null
94
     *
95
     * @JMS\Type("string")
96
     * @JMS\SerializedName("ref_ext")
97
     */
98
    private $refExt;
99
100
    /**
101
     * @var string|null
102
     *
103
     * @JMS\Type("string")
104
     * @JMS\SerializedName("country")
105
     */
106
    private $country;
107
108
    /**
109
     * @var string|null
110
     *
111
     * @JMS\Type("string")
112
     * @JMS\SerializedName("country_id")
113
     */
114
    private $countryId;
115
116
    /**
117
     * @var string|null
118
     *
119
     * @JMS\Type("string")
120
     * @JMS\SerializedName("country_code")
121
     */
122
    private $countryCode;
123
124
    /**
125
     * @return string|null
126
     */
127
    public function getId()
128
    {
129
        return $this->id;
130
    }
131
132
    /**
133
     * @param string|null $id
134
     */
135
    public function setId($id)
136
    {
137
        $this->id = $id;
138
    }
139
140
    /**
141
     * @return string|null
142
     */
143
    public function getLabel()
144
    {
145
        return $this->label;
146
    }
147
148
    /**
149
     * @param string|null $label
150
     */
151
    public function setLabel($label)
152
    {
153
        $this->label = $label;
154
    }
155
156
    /**
157
     * @return string|null
158
     */
159
    public function getDescription()
160
    {
161
        return $this->description;
162
    }
163
164
    /**
165
     * @param string|null $description
166
     */
167
    public function setDescription($description)
168
    {
169
        $this->description = $description;
170
    }
171
172
    /**
173
     * @return string|null
174
     */
175
    public function getStatut()
176
    {
177
        return $this->statut;
178
    }
179
180
    /**
181
     * @param string|null $statut
182
     */
183
    public function setStatut($statut)
184
    {
185
        $this->statut = $statut;
186
    }
187
188
    /**
189
     * @return string|null
190
     */
191
    public function getLieu()
192
    {
193
        return $this->lieu;
194
    }
195
196
    /**
197
     * @param string|null $lieu
198
     */
199
    public function setLieu($lieu)
200
    {
201
        $this->lieu = $lieu;
202
    }
203
204
    /**
205
     * @return string|null
206
     */
207
    public function getAddress()
208
    {
209
        return $this->address;
210
    }
211
212
    /**
213
     * @param string|null $address
214
     */
215
    public function setAddress($address)
216
    {
217
        $this->address = $address;
218
    }
219
220
    /**
221
     * @return string|null
222
     */
223
    public function getZip()
224
    {
225
        return $this->zip;
226
    }
227
228
    /**
229
     * @param string|null $zip
230
     */
231
    public function setZip($zip)
232
    {
233
        $this->zip = $zip;
234
    }
235
236
    /**
237
     * @return string|null
238
     */
239
    public function getTown()
240
    {
241
        return $this->town;
242
    }
243
244
    /**
245
     * @param string|null $town
246
     */
247
    public function setTown($town)
248
    {
249
        $this->town = $town;
250
    }
251
252
    /**
253
     * @return string|null
254
     */
255
    public function getFkParent()
256
    {
257
        return $this->fkParent;
258
    }
259
260
    /**
261
     * @param string|null $fkParent
262
     */
263
    public function setFkParent($fkParent)
264
    {
265
        $this->fkParent = $fkParent;
266
    }
267
268
    /**
269
     * @return string|null
270
     */
271
    public function getRef()
272
    {
273
        return $this->ref;
274
    }
275
276
    /**
277
     * @param string|null $ref
278
     */
279
    public function setRef($ref)
280
    {
281
        $this->ref = $ref;
282
    }
283
284
    /**
285
     * @return string|null
286
     */
287
    public function getRefExt()
288
    {
289
        return $this->refExt;
290
    }
291
292
    /**
293
     * @param string|null $refExt
294
     */
295
    public function setRefExt($refExt)
296
    {
297
        $this->refExt = $refExt;
298
    }
299
300
    /**
301
     * @return string|null
302
     */
303
    public function getCountry()
304
    {
305
        return $this->country;
306
    }
307
308
    /**
309
     * @param string|null $country
310
     */
311
    public function setCountry($country)
312
    {
313
        $this->country = $country;
314
    }
315
316
    /**
317
     * @return string|null
318
     */
319
    public function getCountryId()
320
    {
321
        return $this->countryId;
322
    }
323
324
    /**
325
     * @param string|null $countryId
326
     */
327
    public function setCountryId($countryId)
328
    {
329
        $this->countryId = $countryId;
330
    }
331
332
    /**
333
     * @return string|null
334
     */
335
    public function getCountryCode()
336
    {
337
        return $this->countryCode;
338
    }
339
340
    /**
341
     * @param string|null $countryCode
342
     */
343
    public function setCountryCode($countryCode)
344
    {
345
        $this->countryCode = $countryCode;
346
    }
347
}
348