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 | public function getId() |
||
33 | |||
34 | /** |
||
35 | * Set the id property |
||
36 | * |
||
37 | * @param int $id |
||
38 | * @return $this |
||
39 | */ |
||
40 | public function setId($id) |
||
45 | |||
46 | /** |
||
47 | * Retrieve the name property |
||
48 | * |
||
49 | * @return string|null |
||
50 | */ |
||
51 | public function getName() |
||
55 | |||
56 | /** |
||
57 | * Set the name property |
||
58 | * |
||
59 | * @param string $name |
||
60 | * @return $this |
||
61 | */ |
||
62 | public function setName($name) |
||
67 | |||
68 | /** |
||
69 | * Retrieve the type property |
||
70 | * |
||
71 | * @return string|null |
||
72 | */ |
||
73 | public function getType() |
||
77 | |||
78 | /** |
||
79 | * Set the type property |
||
80 | * |
||
81 | * @param string $type |
||
82 | * @return $this |
||
83 | */ |
||
84 | public function setType($type) |
||
89 | |||
90 | /** |
||
91 | * Retrieve the parent property |
||
92 | * |
||
93 | * @return Region|null |
||
94 | */ |
||
95 | public function getParent() |
||
99 | |||
100 | /** |
||
101 | * Set the parent property |
||
102 | * |
||
103 | * @param Region $parent |
||
104 | * @return $this |
||
105 | */ |
||
106 | public function setParent($parent) |
||
111 | } |
||
112 |