1 | <?php |
||
16 | class Image extends Base |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | protected $id; |
||
22 | /** |
||
23 | * @var int |
||
24 | */ |
||
25 | protected $articleId; |
||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | protected $articleDetailId; |
||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $description; |
||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $path; |
||
38 | /** |
||
39 | * @var int |
||
40 | */ |
||
41 | protected $main; |
||
42 | /** |
||
43 | * @var int |
||
44 | */ |
||
45 | protected $position; |
||
46 | /** |
||
47 | * @var int |
||
48 | */ |
||
49 | protected $width; |
||
50 | /** |
||
51 | * @var int |
||
52 | */ |
||
53 | protected $height; |
||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $relations; |
||
58 | /** |
||
59 | * @var string |
||
60 | */ |
||
61 | protected $extension; |
||
62 | /** |
||
63 | * @var int |
||
64 | */ |
||
65 | protected $parentId; |
||
66 | /** |
||
67 | * @var int |
||
68 | */ |
||
69 | protected $mediaId; |
||
70 | |||
71 | /** |
||
72 | * @return int |
||
73 | */ |
||
74 | public function getId() |
||
78 | |||
79 | /** |
||
80 | * @param int $id |
||
81 | * |
||
82 | * @return Image |
||
83 | */ |
||
84 | public function setId($id) |
||
90 | |||
91 | /** |
||
92 | * @return int |
||
93 | */ |
||
94 | public function getArticleId() |
||
98 | |||
99 | /** |
||
100 | * @param int $articleId |
||
101 | * |
||
102 | * @return Image |
||
103 | */ |
||
104 | public function setArticleId($articleId) |
||
110 | |||
111 | /** |
||
112 | * @return int |
||
113 | */ |
||
114 | public function getArticleDetailId() |
||
118 | |||
119 | /** |
||
120 | * @param int $articleDetailId |
||
121 | * |
||
122 | * @return Image |
||
123 | */ |
||
124 | public function setArticleDetailId($articleDetailId) |
||
130 | |||
131 | /** |
||
132 | * @return string |
||
133 | */ |
||
134 | public function getDescription() |
||
138 | |||
139 | /** |
||
140 | * @param string $description |
||
141 | * |
||
142 | * @return Image |
||
143 | */ |
||
144 | public function setDescription($description) |
||
150 | |||
151 | /** |
||
152 | * @return string |
||
153 | */ |
||
154 | public function getPath() |
||
158 | |||
159 | /** |
||
160 | * @param string $path |
||
161 | * |
||
162 | * @return Image |
||
163 | */ |
||
164 | public function setPath($path) |
||
170 | |||
171 | /** |
||
172 | * @return int |
||
173 | */ |
||
174 | public function getMain() |
||
178 | |||
179 | /** |
||
180 | * @param int $main |
||
181 | * |
||
182 | * @return Image |
||
183 | */ |
||
184 | public function setMain($main) |
||
190 | |||
191 | /** |
||
192 | * @return int |
||
193 | */ |
||
194 | public function getPosition() |
||
198 | |||
199 | /** |
||
200 | * @param int $position |
||
201 | * |
||
202 | * @return Image |
||
203 | */ |
||
204 | public function setPosition($position) |
||
210 | |||
211 | /** |
||
212 | * @return int |
||
213 | */ |
||
214 | public function getWidth() |
||
218 | |||
219 | /** |
||
220 | * @param int $width |
||
221 | * |
||
222 | * @return Image |
||
223 | */ |
||
224 | public function setWidth($width) |
||
230 | |||
231 | /** |
||
232 | * @return int |
||
233 | */ |
||
234 | public function getHeight() |
||
238 | |||
239 | /** |
||
240 | * @param int $height |
||
241 | * |
||
242 | * @return Image |
||
243 | */ |
||
244 | public function setHeight($height) |
||
250 | |||
251 | /** |
||
252 | * @return string |
||
253 | */ |
||
254 | public function getRelations() |
||
258 | |||
259 | /** |
||
260 | * @param string $relations |
||
261 | * |
||
262 | * @return Image |
||
263 | */ |
||
264 | public function setRelations($relations) |
||
270 | |||
271 | /** |
||
272 | * @return string |
||
273 | */ |
||
274 | public function getExtension() |
||
278 | |||
279 | /** |
||
280 | * @param string $extension |
||
281 | * |
||
282 | * @return Image |
||
283 | */ |
||
284 | public function setExtension($extension) |
||
290 | |||
291 | /** |
||
292 | * @return int |
||
293 | */ |
||
294 | public function getParentId() |
||
298 | |||
299 | /** |
||
300 | * @param int $parentId |
||
301 | * |
||
302 | * @return Image |
||
303 | */ |
||
304 | public function setParentId($parentId) |
||
310 | |||
311 | /** |
||
312 | * @return int |
||
313 | */ |
||
314 | public function getMediaId() |
||
318 | |||
319 | /** |
||
320 | * @param int $mediaId |
||
321 | * |
||
322 | * @return Image |
||
323 | */ |
||
324 | public function setMediaId($mediaId) |
||
330 | } |
||
331 |