|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* LeadCommerce\Shopware\SDK\Entity |
|
4
|
|
|
* |
|
5
|
|
|
* Copyright 2016 LeadCommerce |
|
6
|
|
|
* |
|
7
|
|
|
* @author Alexander Mahrt <[email protected]> |
|
8
|
|
|
* @copyright 2016 LeadCommerce <[email protected]> |
|
9
|
|
|
*/ |
|
10
|
|
|
namespace LeadCommerce\Shopware\SDK\Entity; |
|
11
|
|
|
|
|
12
|
|
|
/** |
|
13
|
|
|
* Class Attribute |
|
14
|
|
|
*/ |
|
15
|
|
|
class ArticleAttribute extends Base |
|
16
|
|
|
{ |
|
17
|
|
|
/** |
|
18
|
|
|
* @var mixed |
|
19
|
|
|
*/ |
|
20
|
|
|
protected $attr1; |
|
21
|
|
|
/** |
|
22
|
|
|
* @var mixed |
|
23
|
|
|
*/ |
|
24
|
|
|
protected $attr2; |
|
25
|
|
|
/** |
|
26
|
|
|
* @var mixed |
|
27
|
|
|
*/ |
|
28
|
|
|
protected $attr3; |
|
29
|
|
|
/** |
|
30
|
|
|
* @var mixed |
|
31
|
|
|
*/ |
|
32
|
|
|
protected $attr4; |
|
33
|
|
|
/** |
|
34
|
|
|
* @var mixed |
|
35
|
|
|
*/ |
|
36
|
|
|
protected $attr5; |
|
37
|
|
|
/** |
|
38
|
|
|
* @var mixed |
|
39
|
|
|
*/ |
|
40
|
|
|
protected $attr6; |
|
41
|
|
|
/** |
|
42
|
|
|
* @var mixed |
|
43
|
|
|
*/ |
|
44
|
|
|
protected $attr7; |
|
45
|
|
|
/** |
|
46
|
|
|
* @var mixed |
|
47
|
|
|
*/ |
|
48
|
|
|
protected $attr8; |
|
49
|
|
|
/** |
|
50
|
|
|
* @var mixed |
|
51
|
|
|
*/ |
|
52
|
|
|
protected $attr9; |
|
53
|
|
|
/** |
|
54
|
|
|
* @var mixed |
|
55
|
|
|
*/ |
|
56
|
|
|
protected $attr10; |
|
57
|
|
|
/** |
|
58
|
|
|
* @var mixed |
|
59
|
|
|
*/ |
|
60
|
|
|
protected $attr11; |
|
61
|
|
|
/** |
|
62
|
|
|
* @var mixed |
|
63
|
|
|
*/ |
|
64
|
|
|
protected $attr12; |
|
65
|
|
|
/** |
|
66
|
|
|
* @var mixed |
|
67
|
|
|
*/ |
|
68
|
|
|
protected $attr13; |
|
69
|
|
|
/** |
|
70
|
|
|
* @var mixed |
|
71
|
|
|
*/ |
|
72
|
|
|
protected $attr14; |
|
73
|
|
|
/** |
|
74
|
|
|
* @var mixed |
|
75
|
|
|
*/ |
|
76
|
|
|
protected $attr15; |
|
77
|
|
|
/** |
|
78
|
|
|
* @var mixed |
|
79
|
|
|
*/ |
|
80
|
|
|
protected $attr16; |
|
81
|
|
|
/** |
|
82
|
|
|
* @var mixed |
|
83
|
|
|
*/ |
|
84
|
|
|
protected $attr17; |
|
85
|
|
|
/** |
|
86
|
|
|
* @var mixed |
|
87
|
|
|
*/ |
|
88
|
|
|
protected $attr18; |
|
89
|
|
|
/** |
|
90
|
|
|
* @var mixed |
|
91
|
|
|
*/ |
|
92
|
|
|
protected $attr19; |
|
93
|
|
|
/** |
|
94
|
|
|
* @var mixed |
|
95
|
|
|
*/ |
|
96
|
|
|
protected $attr20; |
|
97
|
|
|
/** |
|
98
|
|
|
* @var int |
|
99
|
|
|
*/ |
|
100
|
|
|
protected $articleId; |
|
101
|
|
|
/** |
|
102
|
|
|
* @var int |
|
103
|
|
|
*/ |
|
104
|
|
|
protected $articleDetailId; |
|
105
|
|
|
|
|
106
|
|
|
/** |
|
107
|
|
|
* @return mixed |
|
108
|
|
|
*/ |
|
109
|
|
|
public function getAttr1() |
|
110
|
|
|
{ |
|
111
|
|
|
return $this->attr1; |
|
112
|
|
|
} |
|
113
|
|
|
|
|
114
|
|
|
/** |
|
115
|
|
|
* @param mixed $attr1 |
|
116
|
|
|
* |
|
117
|
|
|
* @return ArticleAttribute |
|
118
|
|
|
*/ |
|
119
|
|
|
public function setAttr1($attr1) |
|
120
|
|
|
{ |
|
121
|
|
|
$this->attr1 = $attr1; |
|
122
|
|
|
|
|
123
|
|
|
return $this; |
|
124
|
|
|
} |
|
125
|
|
|
|
|
126
|
|
|
/** |
|
127
|
|
|
* @return mixed |
|
128
|
|
|
*/ |
|
129
|
|
|
public function getAttr2() |
|
130
|
|
|
{ |
|
131
|
|
|
return $this->attr2; |
|
132
|
|
|
} |
|
133
|
|
|
|
|
134
|
|
|
/** |
|
135
|
|
|
* @param mixed $attr2 |
|
136
|
|
|
* |
|
137
|
|
|
* @return ArticleAttribute |
|
138
|
|
|
*/ |
|
139
|
|
|
public function setAttr2($attr2) |
|
140
|
|
|
{ |
|
141
|
|
|
$this->attr2 = $attr2; |
|
142
|
|
|
|
|
143
|
|
|
return $this; |
|
144
|
|
|
} |
|
145
|
|
|
|
|
146
|
|
|
/** |
|
147
|
|
|
* @return mixed |
|
148
|
|
|
*/ |
|
149
|
|
|
public function getAttr3() |
|
150
|
|
|
{ |
|
151
|
|
|
return $this->attr3; |
|
152
|
|
|
} |
|
153
|
|
|
|
|
154
|
|
|
/** |
|
155
|
|
|
* @param mixed $attr3 |
|
156
|
|
|
* |
|
157
|
|
|
* @return ArticleAttribute |
|
158
|
|
|
*/ |
|
159
|
|
|
public function setAttr3($attr3) |
|
160
|
|
|
{ |
|
161
|
|
|
$this->attr3 = $attr3; |
|
162
|
|
|
|
|
163
|
|
|
return $this; |
|
164
|
|
|
} |
|
165
|
|
|
|
|
166
|
|
|
/** |
|
167
|
|
|
* @return mixed |
|
168
|
|
|
*/ |
|
169
|
|
|
public function getAttr4() |
|
170
|
|
|
{ |
|
171
|
|
|
return $this->attr4; |
|
172
|
|
|
} |
|
173
|
|
|
|
|
174
|
|
|
/** |
|
175
|
|
|
* @param mixed $attr4 |
|
176
|
|
|
* |
|
177
|
|
|
* @return ArticleAttribute |
|
178
|
|
|
*/ |
|
179
|
|
|
public function setAttr4($attr4) |
|
180
|
|
|
{ |
|
181
|
|
|
$this->attr4 = $attr4; |
|
182
|
|
|
|
|
183
|
|
|
return $this; |
|
184
|
|
|
} |
|
185
|
|
|
|
|
186
|
|
|
/** |
|
187
|
|
|
* @return mixed |
|
188
|
|
|
*/ |
|
189
|
|
|
public function getAttr5() |
|
190
|
|
|
{ |
|
191
|
|
|
return $this->attr5; |
|
192
|
|
|
} |
|
193
|
|
|
|
|
194
|
|
|
/** |
|
195
|
|
|
* @param mixed $attr5 |
|
196
|
|
|
* |
|
197
|
|
|
* @return ArticleAttribute |
|
198
|
|
|
*/ |
|
199
|
|
|
public function setAttr5($attr5) |
|
200
|
|
|
{ |
|
201
|
|
|
$this->attr5 = $attr5; |
|
202
|
|
|
|
|
203
|
|
|
return $this; |
|
204
|
|
|
} |
|
205
|
|
|
|
|
206
|
|
|
/** |
|
207
|
|
|
* @return mixed |
|
208
|
|
|
*/ |
|
209
|
|
|
public function getAttr6() |
|
210
|
|
|
{ |
|
211
|
|
|
return $this->attr6; |
|
212
|
|
|
} |
|
213
|
|
|
|
|
214
|
|
|
/** |
|
215
|
|
|
* @param mixed $attr6 |
|
216
|
|
|
* |
|
217
|
|
|
* @return ArticleAttribute |
|
218
|
|
|
*/ |
|
219
|
|
|
public function setAttr6($attr6) |
|
220
|
|
|
{ |
|
221
|
|
|
$this->attr6 = $attr6; |
|
222
|
|
|
|
|
223
|
|
|
return $this; |
|
224
|
|
|
} |
|
225
|
|
|
|
|
226
|
|
|
/** |
|
227
|
|
|
* @return mixed |
|
228
|
|
|
*/ |
|
229
|
|
|
public function getAttr7() |
|
230
|
|
|
{ |
|
231
|
|
|
return $this->attr7; |
|
232
|
|
|
} |
|
233
|
|
|
|
|
234
|
|
|
/** |
|
235
|
|
|
* @param mixed $attr7 |
|
236
|
|
|
* |
|
237
|
|
|
* @return ArticleAttribute |
|
238
|
|
|
*/ |
|
239
|
|
|
public function setAttr7($attr7) |
|
240
|
|
|
{ |
|
241
|
|
|
$this->attr7 = $attr7; |
|
242
|
|
|
|
|
243
|
|
|
return $this; |
|
244
|
|
|
} |
|
245
|
|
|
|
|
246
|
|
|
/** |
|
247
|
|
|
* @return mixed |
|
248
|
|
|
*/ |
|
249
|
|
|
public function getAttr8() |
|
250
|
|
|
{ |
|
251
|
|
|
return $this->attr8; |
|
252
|
|
|
} |
|
253
|
|
|
|
|
254
|
|
|
/** |
|
255
|
|
|
* @param mixed $attr8 |
|
256
|
|
|
* |
|
257
|
|
|
* @return ArticleAttribute |
|
258
|
|
|
*/ |
|
259
|
|
|
public function setAttr8($attr8) |
|
260
|
|
|
{ |
|
261
|
|
|
$this->attr8 = $attr8; |
|
262
|
|
|
|
|
263
|
|
|
return $this; |
|
264
|
|
|
} |
|
265
|
|
|
|
|
266
|
|
|
/** |
|
267
|
|
|
* @return mixed |
|
268
|
|
|
*/ |
|
269
|
|
|
public function getAttr9() |
|
270
|
|
|
{ |
|
271
|
|
|
return $this->attr9; |
|
272
|
|
|
} |
|
273
|
|
|
|
|
274
|
|
|
/** |
|
275
|
|
|
* @param mixed $attr9 |
|
276
|
|
|
* |
|
277
|
|
|
* @return ArticleAttribute |
|
278
|
|
|
*/ |
|
279
|
|
|
public function setAttr9($attr9) |
|
280
|
|
|
{ |
|
281
|
|
|
$this->attr9 = $attr9; |
|
282
|
|
|
|
|
283
|
|
|
return $this; |
|
284
|
|
|
} |
|
285
|
|
|
|
|
286
|
|
|
/** |
|
287
|
|
|
* @return mixed |
|
288
|
|
|
*/ |
|
289
|
|
|
public function getAttr10() |
|
290
|
|
|
{ |
|
291
|
|
|
return $this->attr10; |
|
292
|
|
|
} |
|
293
|
|
|
|
|
294
|
|
|
/** |
|
295
|
|
|
* @param mixed $attr10 |
|
296
|
|
|
* |
|
297
|
|
|
* @return ArticleAttribute |
|
298
|
|
|
*/ |
|
299
|
|
|
public function setAttr10($attr10) |
|
300
|
|
|
{ |
|
301
|
|
|
$this->attr10 = $attr10; |
|
302
|
|
|
|
|
303
|
|
|
return $this; |
|
304
|
|
|
} |
|
305
|
|
|
|
|
306
|
|
|
/** |
|
307
|
|
|
* @return mixed |
|
308
|
|
|
*/ |
|
309
|
|
|
public function getAttr11() |
|
310
|
|
|
{ |
|
311
|
|
|
return $this->attr11; |
|
312
|
|
|
} |
|
313
|
|
|
|
|
314
|
|
|
/** |
|
315
|
|
|
* @param mixed $attr11 |
|
316
|
|
|
* |
|
317
|
|
|
* @return ArticleAttribute |
|
318
|
|
|
*/ |
|
319
|
|
|
public function setAttr11($attr11) |
|
320
|
|
|
{ |
|
321
|
|
|
$this->attr11 = $attr11; |
|
322
|
|
|
|
|
323
|
|
|
return $this; |
|
324
|
|
|
} |
|
325
|
|
|
|
|
326
|
|
|
/** |
|
327
|
|
|
* @return mixed |
|
328
|
|
|
*/ |
|
329
|
|
|
public function getAttr12() |
|
330
|
|
|
{ |
|
331
|
|
|
return $this->attr12; |
|
332
|
|
|
} |
|
333
|
|
|
|
|
334
|
|
|
/** |
|
335
|
|
|
* @param mixed $attr12 |
|
336
|
|
|
* |
|
337
|
|
|
* @return ArticleAttribute |
|
338
|
|
|
*/ |
|
339
|
|
|
public function setAttr12($attr12) |
|
340
|
|
|
{ |
|
341
|
|
|
$this->attr12 = $attr12; |
|
342
|
|
|
|
|
343
|
|
|
return $this; |
|
344
|
|
|
} |
|
345
|
|
|
|
|
346
|
|
|
/** |
|
347
|
|
|
* @return mixed |
|
348
|
|
|
*/ |
|
349
|
|
|
public function getAttr13() |
|
350
|
|
|
{ |
|
351
|
|
|
return $this->attr13; |
|
352
|
|
|
} |
|
353
|
|
|
|
|
354
|
|
|
/** |
|
355
|
|
|
* @param mixed $attr13 |
|
356
|
|
|
* |
|
357
|
|
|
* @return ArticleAttribute |
|
358
|
|
|
*/ |
|
359
|
|
|
public function setAttr13($attr13) |
|
360
|
|
|
{ |
|
361
|
|
|
$this->attr13 = $attr13; |
|
362
|
|
|
|
|
363
|
|
|
return $this; |
|
364
|
|
|
} |
|
365
|
|
|
|
|
366
|
|
|
/** |
|
367
|
|
|
* @return mixed |
|
368
|
|
|
*/ |
|
369
|
|
|
public function getAttr14() |
|
370
|
|
|
{ |
|
371
|
|
|
return $this->attr14; |
|
372
|
|
|
} |
|
373
|
|
|
|
|
374
|
|
|
/** |
|
375
|
|
|
* @param mixed $attr14 |
|
376
|
|
|
* |
|
377
|
|
|
* @return ArticleAttribute |
|
378
|
|
|
*/ |
|
379
|
|
|
public function setAttr14($attr14) |
|
380
|
|
|
{ |
|
381
|
|
|
$this->attr14 = $attr14; |
|
382
|
|
|
|
|
383
|
|
|
return $this; |
|
384
|
|
|
} |
|
385
|
|
|
|
|
386
|
|
|
/** |
|
387
|
|
|
* @return mixed |
|
388
|
|
|
*/ |
|
389
|
|
|
public function getAttr15() |
|
390
|
|
|
{ |
|
391
|
|
|
return $this->attr15; |
|
392
|
|
|
} |
|
393
|
|
|
|
|
394
|
|
|
/** |
|
395
|
|
|
* @param mixed $attr15 |
|
396
|
|
|
* |
|
397
|
|
|
* @return ArticleAttribute |
|
398
|
|
|
*/ |
|
399
|
|
|
public function setAttr15($attr15) |
|
400
|
|
|
{ |
|
401
|
|
|
$this->attr15 = $attr15; |
|
402
|
|
|
|
|
403
|
|
|
return $this; |
|
404
|
|
|
} |
|
405
|
|
|
|
|
406
|
|
|
/** |
|
407
|
|
|
* @return mixed |
|
408
|
|
|
*/ |
|
409
|
|
|
public function getAttr16() |
|
410
|
|
|
{ |
|
411
|
|
|
return $this->attr16; |
|
412
|
|
|
} |
|
413
|
|
|
|
|
414
|
|
|
/** |
|
415
|
|
|
* @param mixed $attr16 |
|
416
|
|
|
* |
|
417
|
|
|
* @return ArticleAttribute |
|
418
|
|
|
*/ |
|
419
|
|
|
public function setAttr16($attr16) |
|
420
|
|
|
{ |
|
421
|
|
|
$this->attr16 = $attr16; |
|
422
|
|
|
|
|
423
|
|
|
return $this; |
|
424
|
|
|
} |
|
425
|
|
|
|
|
426
|
|
|
/** |
|
427
|
|
|
* @return mixed |
|
428
|
|
|
*/ |
|
429
|
|
|
public function getAttr17() |
|
430
|
|
|
{ |
|
431
|
|
|
return $this->attr17; |
|
432
|
|
|
} |
|
433
|
|
|
|
|
434
|
|
|
/** |
|
435
|
|
|
* @param mixed $attr17 |
|
436
|
|
|
* |
|
437
|
|
|
* @return ArticleAttribute |
|
438
|
|
|
*/ |
|
439
|
|
|
public function setAttr17($attr17) |
|
440
|
|
|
{ |
|
441
|
|
|
$this->attr17 = $attr17; |
|
442
|
|
|
|
|
443
|
|
|
return $this; |
|
444
|
|
|
} |
|
445
|
|
|
|
|
446
|
|
|
/** |
|
447
|
|
|
* @return mixed |
|
448
|
|
|
*/ |
|
449
|
|
|
public function getAttr18() |
|
450
|
|
|
{ |
|
451
|
|
|
return $this->attr18; |
|
452
|
|
|
} |
|
453
|
|
|
|
|
454
|
|
|
/** |
|
455
|
|
|
* @param mixed $attr18 |
|
456
|
|
|
* |
|
457
|
|
|
* @return ArticleAttribute |
|
458
|
|
|
*/ |
|
459
|
|
|
public function setAttr18($attr18) |
|
460
|
|
|
{ |
|
461
|
|
|
$this->attr18 = $attr18; |
|
462
|
|
|
|
|
463
|
|
|
return $this; |
|
464
|
|
|
} |
|
465
|
|
|
|
|
466
|
|
|
/** |
|
467
|
|
|
* @return mixed |
|
468
|
|
|
*/ |
|
469
|
|
|
public function getAttr19() |
|
470
|
|
|
{ |
|
471
|
|
|
return $this->attr19; |
|
472
|
|
|
} |
|
473
|
|
|
|
|
474
|
|
|
/** |
|
475
|
|
|
* @param mixed $attr19 |
|
476
|
|
|
* |
|
477
|
|
|
* @return ArticleAttribute |
|
478
|
|
|
*/ |
|
479
|
|
|
public function setAttr19($attr19) |
|
480
|
|
|
{ |
|
481
|
|
|
$this->attr19 = $attr19; |
|
482
|
|
|
|
|
483
|
|
|
return $this; |
|
484
|
|
|
} |
|
485
|
|
|
|
|
486
|
|
|
/** |
|
487
|
|
|
* @return mixed |
|
488
|
|
|
*/ |
|
489
|
|
|
public function getAttr20() |
|
490
|
|
|
{ |
|
491
|
|
|
return $this->attr20; |
|
492
|
|
|
} |
|
493
|
|
|
|
|
494
|
|
|
/** |
|
495
|
|
|
* @param mixed $attr20 |
|
496
|
|
|
* |
|
497
|
|
|
* @return ArticleAttribute |
|
498
|
|
|
*/ |
|
499
|
|
|
public function setAttr20($attr20) |
|
500
|
|
|
{ |
|
501
|
|
|
$this->attr20 = $attr20; |
|
502
|
|
|
|
|
503
|
|
|
return $this; |
|
504
|
|
|
} |
|
505
|
|
|
|
|
506
|
|
|
/** |
|
507
|
|
|
* @return int |
|
508
|
|
|
*/ |
|
509
|
|
|
public function getArticleId() |
|
510
|
|
|
{ |
|
511
|
|
|
return $this->articleId; |
|
512
|
|
|
} |
|
513
|
|
|
|
|
514
|
|
|
/** |
|
515
|
|
|
* @param int $articleId |
|
516
|
|
|
* |
|
517
|
|
|
* @return ArticleAttribute |
|
518
|
|
|
*/ |
|
519
|
|
|
public function setArticleId($articleId) |
|
520
|
|
|
{ |
|
521
|
|
|
$this->articleId = $articleId; |
|
522
|
|
|
|
|
523
|
|
|
return $this; |
|
524
|
|
|
} |
|
525
|
|
|
|
|
526
|
|
|
/** |
|
527
|
|
|
* @return int |
|
528
|
|
|
*/ |
|
529
|
|
|
public function getArticleDetailId() |
|
530
|
|
|
{ |
|
531
|
|
|
return $this->articleDetailId; |
|
532
|
|
|
} |
|
533
|
|
|
|
|
534
|
|
|
/** |
|
535
|
|
|
* @param int $articleDetailId |
|
536
|
|
|
* |
|
537
|
|
|
* @return ArticleAttribute |
|
538
|
|
|
*/ |
|
539
|
|
|
public function setArticleDetailId($articleDetailId) |
|
540
|
|
|
{ |
|
541
|
|
|
$this->articleDetailId = $articleDetailId; |
|
542
|
|
|
|
|
543
|
|
|
return $this; |
|
544
|
|
|
} |
|
545
|
|
|
} |
|
546
|
|
|
|