|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace App\Entity; |
|
4
|
|
|
|
|
5
|
|
|
use App\Repository\AttributeRepository; |
|
6
|
|
|
use Doctrine\ORM\Mapping as ORM; |
|
7
|
|
|
|
|
8
|
|
|
/** |
|
9
|
|
|
* @ORM\Entity(repositoryClass=AttributeRepository::class) |
|
10
|
|
|
*/ |
|
11
|
|
|
class Attribute |
|
12
|
|
|
{ |
|
13
|
|
|
/** |
|
14
|
|
|
* @ORM\Id() |
|
15
|
|
|
* @ORM\GeneratedValue() |
|
16
|
|
|
* @ORM\Column(type="integer") |
|
17
|
|
|
*/ |
|
18
|
|
|
private $id; |
|
19
|
|
|
|
|
20
|
|
|
/** |
|
21
|
|
|
* @ORM\Column(type="string", length=255, nullable=true) |
|
22
|
|
|
*/ |
|
23
|
|
|
private $title; |
|
24
|
|
|
|
|
25
|
|
|
/** |
|
26
|
|
|
* @ORM\Column(type="string", length=255, nullable=true) |
|
27
|
|
|
*/ |
|
28
|
|
|
private $swffexporttoff; |
|
29
|
|
|
|
|
30
|
|
|
/** |
|
31
|
|
|
* @ORM\Column(type="string", length=255, nullable=true) |
|
32
|
|
|
*/ |
|
33
|
|
|
private $swffexporttitle; |
|
34
|
|
|
|
|
35
|
|
|
/** |
|
36
|
|
|
* @ORM\Column(type="integer", nullable=true) |
|
37
|
|
|
*/ |
|
38
|
|
|
private $pos; |
|
39
|
|
|
|
|
40
|
|
|
/** |
|
41
|
|
|
* @ORM\Column(type="boolean", nullable=true) |
|
42
|
|
|
*/ |
|
43
|
|
|
private $displayinbasket; |
|
44
|
|
|
|
|
45
|
|
|
/** |
|
46
|
|
|
* @ORM\Column(type="string", length=255) |
|
47
|
|
|
*/ |
|
48
|
|
|
private $cmiuuid; |
|
49
|
|
|
|
|
50
|
|
|
/** |
|
51
|
|
|
* @ORM\Column(type="string", length=255, nullable=true) |
|
52
|
|
|
*/ |
|
53
|
|
|
private $unit; |
|
54
|
|
|
|
|
55
|
|
|
/** |
|
56
|
|
|
* @ORM\Column(type="integer", nullable=true) |
|
57
|
|
|
*/ |
|
58
|
|
|
private $variant_attribute_sort; |
|
59
|
|
|
|
|
60
|
|
|
public function getId(): ?int |
|
61
|
|
|
{ |
|
62
|
|
|
return $this->id; |
|
63
|
|
|
} |
|
64
|
|
|
|
|
65
|
|
|
public function getTitle(): ?string |
|
66
|
|
|
{ |
|
67
|
|
|
return $this->title; |
|
68
|
|
|
} |
|
69
|
|
|
|
|
70
|
|
|
public function setTitle(?string $title): self |
|
71
|
|
|
{ |
|
72
|
|
|
$this->title = $title; |
|
73
|
|
|
|
|
74
|
|
|
return $this; |
|
75
|
|
|
} |
|
76
|
|
|
|
|
77
|
|
|
public function getSwffexporttoff(): ?string |
|
78
|
|
|
{ |
|
79
|
|
|
return $this->swffexporttoff; |
|
80
|
|
|
} |
|
81
|
|
|
|
|
82
|
|
|
public function setSwffexporttoff(?string $swffexporttoff): self |
|
83
|
|
|
{ |
|
84
|
|
|
$this->swffexporttoff = $swffexporttoff; |
|
85
|
|
|
|
|
86
|
|
|
return $this; |
|
87
|
|
|
} |
|
88
|
|
|
|
|
89
|
|
|
public function getSwffexporttitle(): ?string |
|
90
|
|
|
{ |
|
91
|
|
|
return $this->swffexporttitle; |
|
92
|
|
|
} |
|
93
|
|
|
|
|
94
|
|
|
public function setSwffexporttitle(?string $swffexporttitle): self |
|
95
|
|
|
{ |
|
96
|
|
|
$this->swffexporttitle = $swffexporttitle; |
|
97
|
|
|
|
|
98
|
|
|
return $this; |
|
99
|
|
|
} |
|
100
|
|
|
|
|
101
|
|
|
public function getPos(): ?int |
|
102
|
|
|
{ |
|
103
|
|
|
return $this->pos; |
|
104
|
|
|
} |
|
105
|
|
|
|
|
106
|
|
|
public function setPos(?int $pos): self |
|
107
|
|
|
{ |
|
108
|
|
|
$this->pos = $pos; |
|
109
|
|
|
|
|
110
|
|
|
return $this; |
|
111
|
|
|
} |
|
112
|
|
|
|
|
113
|
|
|
public function getDisplayinbasket(): ?bool |
|
114
|
|
|
{ |
|
115
|
|
|
return $this->displayinbasket; |
|
116
|
|
|
} |
|
117
|
|
|
|
|
118
|
|
|
public function setDisplayinbasket(?bool $displayinbasket): self |
|
119
|
|
|
{ |
|
120
|
|
|
$this->displayinbasket = $displayinbasket; |
|
121
|
|
|
|
|
122
|
|
|
return $this; |
|
123
|
|
|
} |
|
124
|
|
|
|
|
125
|
|
|
public function getCmiuuid(): ?string |
|
126
|
|
|
{ |
|
127
|
|
|
return $this->cmiuuid; |
|
128
|
|
|
} |
|
129
|
|
|
|
|
130
|
|
|
public function setCmiuuid(string $cmiuuid): self |
|
131
|
|
|
{ |
|
132
|
|
|
$this->cmiuuid = $cmiuuid; |
|
133
|
|
|
|
|
134
|
|
|
return $this; |
|
135
|
|
|
} |
|
136
|
|
|
|
|
137
|
|
|
public function getUnit(): ?string |
|
138
|
|
|
{ |
|
139
|
|
|
return $this->unit; |
|
140
|
|
|
} |
|
141
|
|
|
|
|
142
|
|
|
public function setUnit(?string $unit): self |
|
143
|
|
|
{ |
|
144
|
|
|
$this->unit = $unit; |
|
145
|
|
|
|
|
146
|
|
|
return $this; |
|
147
|
|
|
} |
|
148
|
|
|
|
|
149
|
|
|
public function getVariantAttributeSort(): ?int |
|
150
|
|
|
{ |
|
151
|
|
|
return $this->variant_attribute_sort; |
|
152
|
|
|
} |
|
153
|
|
|
|
|
154
|
|
|
public function setVariantAttributeSort(?int $variant_attribute_sort): self |
|
155
|
|
|
{ |
|
156
|
|
|
$this->variant_attribute_sort = $variant_attribute_sort; |
|
157
|
|
|
|
|
158
|
|
|
return $this; |
|
159
|
|
|
} |
|
160
|
|
|
} |
|
161
|
|
|
|