1: <?php
2:
3: namespace SellerLabs\Snagshout\Model;
4:
5: class Attribute
6: {
7: /**
8: * @var string
9: */
10: protected $label;
11: /**
12: * @var string
13: */
14: protected $value;
15: /**
16: * @var int
17: */
18: protected $id;
19: /**
20: * @var int
21: */
22: protected $sort;
23: /**
24: * @return string
25: */
26: public function getLabel()
27: {
28: return $this->label;
29: }
30: /**
31: * @param string $label
32: *
33: * @return self
34: */
35: public function setLabel($label = null)
36: {
37: $this->label = $label;
38: return $this;
39: }
40: /**
41: * @return string
42: */
43: public function getValue()
44: {
45: return $this->value;
46: }
47: /**
48: * @param string $value
49: *
50: * @return self
51: */
52: public function setValue($value = null)
53: {
54: $this->value = $value;
55: return $this;
56: }
57: /**
58: * @return int
59: */
60: public function getId()
61: {
62: return $this->id;
63: }
64: /**
65: * @param int $id
66: *
67: * @return self
68: */
69: public function setId($id = null)
70: {
71: $this->id = $id;
72: return $this;
73: }
74: /**
75: * @return int
76: */
77: public function getSort()
78: {
79: return $this->sort;
80: }
81: /**
82: * @param int $sort
83: *
84: * @return self
85: */
86: public function setSort($sort = null)
87: {
88: $this->sort = $sort;
89: return $this;
90: }
91: }