1 | <?php |
||
17 | class Image extends Model |
||
18 | { |
||
19 | use AdminGraphqlApiId; |
||
20 | |||
21 | /** |
||
22 | * @var int |
||
23 | */ |
||
24 | protected $productId; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | protected $position; |
||
30 | |||
31 | /** |
||
32 | * @var \DateTimeInterface |
||
33 | */ |
||
34 | protected $createdAt; |
||
35 | |||
36 | /** |
||
37 | * @var \DateTimeInterface |
||
38 | */ |
||
39 | protected $updatedAt; |
||
40 | |||
41 | /** |
||
42 | * @var int |
||
43 | */ |
||
44 | protected $width; |
||
45 | |||
46 | /** |
||
47 | * @var int |
||
48 | */ |
||
49 | protected $height; |
||
50 | |||
51 | /** |
||
52 | * @var string |
||
53 | */ |
||
54 | protected $src; |
||
55 | |||
56 | /** |
||
57 | * @var array |
||
58 | */ |
||
59 | protected $variantIds; |
||
60 | |||
61 | /** |
||
62 | * @var string |
||
63 | */ |
||
64 | protected $alt; |
||
65 | |||
66 | /** |
||
67 | * @return int |
||
68 | */ |
||
69 | public function getProductId() |
||
73 | |||
74 | /** |
||
75 | * @param int $productId |
||
76 | * |
||
77 | * @return Image |
||
78 | */ |
||
79 | public function setProductId($productId) |
||
85 | |||
86 | /** |
||
87 | * @return int |
||
88 | */ |
||
89 | public function getPosition() |
||
93 | |||
94 | /** |
||
95 | * @param int $position |
||
96 | * |
||
97 | * @return Image |
||
98 | */ |
||
99 | public function setPosition($position) |
||
105 | |||
106 | /** |
||
107 | * @return \DateTimeInterface |
||
108 | */ |
||
109 | public function getCreatedAt() |
||
113 | |||
114 | /** |
||
115 | * @param \DateTimeInterface $createdAt |
||
116 | * |
||
117 | * @return Image |
||
118 | */ |
||
119 | public function setCreatedAt($createdAt) |
||
125 | |||
126 | /** |
||
127 | * @return \DateTimeInterface |
||
128 | */ |
||
129 | public function getUpdatedAt() |
||
133 | |||
134 | /** |
||
135 | * @param \DateTimeInterface $updatedAt |
||
136 | * |
||
137 | * @return Image |
||
138 | */ |
||
139 | public function setUpdatedAt($updatedAt) |
||
145 | |||
146 | /** |
||
147 | * @return string |
||
148 | */ |
||
149 | public function getSrc() |
||
153 | |||
154 | /** |
||
155 | * @param string $src |
||
156 | * |
||
157 | * @return Image |
||
158 | */ |
||
159 | public function setSrc($src) |
||
165 | |||
166 | /** |
||
167 | * @return int |
||
168 | */ |
||
169 | public function getWidth() |
||
173 | |||
174 | /** |
||
175 | * @param int $width |
||
176 | * |
||
177 | * @return Image |
||
178 | */ |
||
179 | public function setWidth($width) |
||
185 | |||
186 | /** |
||
187 | * @return int |
||
188 | */ |
||
189 | public function getHeight() |
||
193 | |||
194 | /** |
||
195 | * @param int $height |
||
196 | * |
||
197 | * @return Image |
||
198 | */ |
||
199 | public function setHeight($height) |
||
205 | |||
206 | /** |
||
207 | * @return array |
||
208 | */ |
||
209 | public function getVariantIds() |
||
213 | |||
214 | /** |
||
215 | * @param array $variantIds |
||
216 | * |
||
217 | * @return Image |
||
218 | */ |
||
219 | public function setVariantIds($variantIds) |
||
225 | |||
226 | /** |
||
227 | * @return string |
||
228 | */ |
||
229 | public function getAlt() |
||
233 | |||
234 | /** |
||
235 | * @param string $alt |
||
236 | * |
||
237 | * @return string |
||
238 | */ |
||
239 | public function setAlt($alt) |
||
245 | } |