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