1 | <?php |
||
20 | class Vehicle extends Ad |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $color; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $confort; |
||
31 | |||
32 | /** |
||
33 | * @var int |
||
34 | */ |
||
35 | protected $doors; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $fuel; |
||
41 | |||
42 | /** |
||
43 | * @var int |
||
44 | */ |
||
45 | protected $kilometers; |
||
46 | |||
47 | /** |
||
48 | * @var string |
||
49 | */ |
||
50 | protected $model = ''; |
||
51 | |||
52 | /** |
||
53 | * @var string |
||
54 | */ |
||
55 | protected $receives_lesser_value; |
||
56 | |||
57 | /** |
||
58 | * @var string |
||
59 | */ |
||
60 | protected $security; |
||
61 | |||
62 | /** |
||
63 | * @var string |
||
64 | */ |
||
65 | protected $segment; |
||
66 | |||
67 | /** |
||
68 | * @var string |
||
69 | */ |
||
70 | protected $transmission; |
||
71 | |||
72 | /** |
||
73 | * @var string |
||
74 | */ |
||
75 | protected $version; |
||
76 | |||
77 | /** |
||
78 | * @var integer |
||
79 | */ |
||
80 | protected $year = 0; |
||
81 | |||
82 | /** |
||
83 | * Get Color |
||
84 | * |
||
85 | * @return string |
||
86 | */ |
||
87 | public function getColor() |
||
91 | |||
92 | /** |
||
93 | * Set Color |
||
94 | * |
||
95 | * @param string $color |
||
96 | * |
||
97 | * @return Vehicle |
||
98 | */ |
||
99 | public function setColor($color) |
||
104 | |||
105 | /** |
||
106 | * Get Confort |
||
107 | * |
||
108 | * @return string |
||
109 | */ |
||
110 | public function getConfort() |
||
114 | |||
115 | /** |
||
116 | * Set Confort |
||
117 | * |
||
118 | * @param string $confort |
||
119 | * |
||
120 | * @return Vehicle |
||
121 | */ |
||
122 | public function setConfort($confort) |
||
127 | |||
128 | /** |
||
129 | * Get Doors |
||
130 | * |
||
131 | * @return int |
||
132 | */ |
||
133 | public function getDoors() |
||
137 | |||
138 | /** |
||
139 | * Set Doors |
||
140 | * |
||
141 | * @param int $doors |
||
142 | * |
||
143 | * @return Vehicle |
||
144 | */ |
||
145 | public function setDoors($doors) |
||
150 | |||
151 | /** |
||
152 | * Get Fuel |
||
153 | * |
||
154 | * @return string |
||
155 | */ |
||
156 | public function getFuel() |
||
160 | |||
161 | /** |
||
162 | * Set Fuel |
||
163 | * |
||
164 | * @param string $fuel |
||
165 | * |
||
166 | * @return Vehicle |
||
167 | */ |
||
168 | public function setFuel($fuel) |
||
173 | |||
174 | /** |
||
175 | * Get Kilometers |
||
176 | * |
||
177 | * @return int |
||
178 | */ |
||
179 | public function getKilometers() |
||
183 | |||
184 | /** |
||
185 | * Set Kilometers |
||
186 | * |
||
187 | * @param int $kilometers |
||
188 | * |
||
189 | * @return Vehicle |
||
190 | */ |
||
191 | public function setKilometers($kilometers) |
||
196 | |||
197 | /** |
||
198 | * Get Model |
||
199 | * |
||
200 | * @return string |
||
201 | */ |
||
202 | public function getModel() |
||
211 | |||
212 | /** |
||
213 | * Set Model |
||
214 | * |
||
215 | * @param string $model |
||
216 | * |
||
217 | * @return Vehicle |
||
218 | */ |
||
219 | public function setModel($model) |
||
224 | |||
225 | /** |
||
226 | * Get Receives Lesser Value |
||
227 | * |
||
228 | * @return string |
||
229 | */ |
||
230 | public function getReceivesLesserValue() |
||
234 | |||
235 | /** |
||
236 | * Set Receives Lesser Value |
||
237 | * |
||
238 | * @param string $receives_lesser_value |
||
239 | * |
||
240 | * @return Vehicle |
||
241 | */ |
||
242 | public function setReceivesLesserValue($receives_lesser_value) |
||
247 | |||
248 | /** |
||
249 | * Get Security |
||
250 | * |
||
251 | * @return string |
||
252 | */ |
||
253 | public function getSecurity() |
||
257 | |||
258 | /** |
||
259 | * Set Security |
||
260 | * |
||
261 | * @param string $security |
||
262 | * |
||
263 | * @return Vehicle |
||
264 | */ |
||
265 | public function setSecurity($security) |
||
270 | |||
271 | /** |
||
272 | * Get Segment |
||
273 | * |
||
274 | * @return string |
||
275 | */ |
||
276 | public function getSegment() |
||
280 | |||
281 | /** |
||
282 | * Set Segment |
||
283 | * |
||
284 | * @param string $segment |
||
285 | * |
||
286 | * @return Vehicle |
||
287 | */ |
||
288 | public function setSegment($segment) |
||
293 | |||
294 | /** |
||
295 | * Get Transmission |
||
296 | * |
||
297 | * @return string |
||
298 | */ |
||
299 | public function getTransmission() |
||
303 | |||
304 | /** |
||
305 | * Set Transmission |
||
306 | * |
||
307 | * @param string $transmission |
||
308 | * |
||
309 | * @return Vehicle |
||
310 | */ |
||
311 | public function setTransmission($transmission) |
||
316 | |||
317 | /** |
||
318 | * Get Version |
||
319 | * |
||
320 | * @return string |
||
321 | */ |
||
322 | public function getVersion() |
||
326 | |||
327 | /** |
||
328 | * Set Version |
||
329 | * |
||
330 | * @param string $version |
||
331 | * |
||
332 | * @return Vehicle |
||
333 | */ |
||
334 | public function setVersion($version) |
||
339 | |||
340 | /** |
||
341 | * Get Year |
||
342 | * |
||
343 | * @return integer |
||
344 | */ |
||
345 | public function getYear() |
||
354 | |||
355 | /** |
||
356 | * Set Year |
||
357 | * |
||
358 | * @param integer $year |
||
359 | * |
||
360 | * @return Vehicle |
||
361 | */ |
||
362 | public function setYear($year) |
||
367 | } |
||
368 |