1 | <?php |
||
7 | class Region extends Model |
||
8 | { |
||
9 | |||
10 | protected $id = null; |
||
11 | |||
12 | protected $name = null; |
||
13 | |||
14 | protected $type = null; |
||
15 | |||
16 | protected $parent = null; |
||
17 | |||
18 | protected $mappingClasses = [ |
||
19 | 'parent' => 'Yandex\Market\Partner\Models\Region' |
||
20 | ]; |
||
21 | |||
22 | protected $propNameMap = []; |
||
23 | |||
24 | /** |
||
25 | * Retrieve the id property |
||
26 | * |
||
27 | * @return int|null |
||
28 | */ |
||
29 | 4 | public function getId() |
|
33 | |||
34 | /** |
||
35 | * Retrieve the name property |
||
36 | * |
||
37 | * @return string|null |
||
38 | */ |
||
39 | 4 | public function getName() |
|
43 | |||
44 | /** |
||
45 | * Retrieve the type property |
||
46 | * |
||
47 | * @return string|null |
||
48 | */ |
||
49 | 4 | public function getType() |
|
53 | |||
54 | /** |
||
55 | * Retrieve the parent property |
||
56 | * |
||
57 | * @return Region|null |
||
58 | */ |
||
59 | 4 | public function getParent() |
|
63 | } |
||
64 |