| @@ 15-113 (lines=99) @@ | ||
| 12 | /** |
|
| 13 | * Class ConfiguratorGroup |
|
| 14 | */ |
|
| 15 | class ConfiguratorGroup extends Base |
|
| 16 | { |
|
| 17 | /** |
|
| 18 | * @var int |
|
| 19 | */ |
|
| 20 | protected $id; |
|
| 21 | /** |
|
| 22 | * @var string |
|
| 23 | */ |
|
| 24 | protected $description; |
|
| 25 | /** |
|
| 26 | * @var string |
|
| 27 | */ |
|
| 28 | protected $name; |
|
| 29 | /** |
|
| 30 | * @var int |
|
| 31 | */ |
|
| 32 | protected $position; |
|
| 33 | ||
| 34 | /** |
|
| 35 | * @return int |
|
| 36 | */ |
|
| 37 | public function getId() |
|
| 38 | { |
|
| 39 | return $this->id; |
|
| 40 | } |
|
| 41 | ||
| 42 | /** |
|
| 43 | * @param int $id |
|
| 44 | * |
|
| 45 | * @return ConfiguratorGroup |
|
| 46 | */ |
|
| 47 | public function setId($id) |
|
| 48 | { |
|
| 49 | $this->id = $id; |
|
| 50 | ||
| 51 | return $this; |
|
| 52 | } |
|
| 53 | ||
| 54 | /** |
|
| 55 | * @return string |
|
| 56 | */ |
|
| 57 | public function getDescription() |
|
| 58 | { |
|
| 59 | return $this->description; |
|
| 60 | } |
|
| 61 | ||
| 62 | /** |
|
| 63 | * @param string $description |
|
| 64 | * |
|
| 65 | * @return ConfiguratorGroup |
|
| 66 | */ |
|
| 67 | public function setDescription($description) |
|
| 68 | { |
|
| 69 | $this->description = $description; |
|
| 70 | ||
| 71 | return $this; |
|
| 72 | } |
|
| 73 | ||
| 74 | /** |
|
| 75 | * @return string |
|
| 76 | */ |
|
| 77 | public function getName() |
|
| 78 | { |
|
| 79 | return $this->name; |
|
| 80 | } |
|
| 81 | ||
| 82 | /** |
|
| 83 | * @param string $name |
|
| 84 | * |
|
| 85 | * @return ConfiguratorGroup |
|
| 86 | */ |
|
| 87 | public function setName($name) |
|
| 88 | { |
|
| 89 | $this->name = $name; |
|
| 90 | ||
| 91 | return $this; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * @return int |
|
| 96 | */ |
|
| 97 | public function getPosition() |
|
| 98 | { |
|
| 99 | return $this->position; |
|
| 100 | } |
|
| 101 | ||
| 102 | /** |
|
| 103 | * @param int $position |
|
| 104 | * |
|
| 105 | * @return ConfiguratorGroup |
|
| 106 | */ |
|
| 107 | public function setPosition($position) |
|
| 108 | { |
|
| 109 | $this->position = $position; |
|
| 110 | ||
| 111 | return $this; |
|
| 112 | } |
|
| 113 | } |
|
| 114 | ||
| @@ 15-113 (lines=99) @@ | ||
| 12 | /** |
|
| 13 | * Class ConfiguratorOption |
|
| 14 | */ |
|
| 15 | class ConfiguratorOption extends Base |
|
| 16 | { |
|
| 17 | /** |
|
| 18 | * @var int |
|
| 19 | */ |
|
| 20 | protected $id; |
|
| 21 | /** |
|
| 22 | * @var int |
|
| 23 | */ |
|
| 24 | protected $groupId; |
|
| 25 | /** |
|
| 26 | * @var string |
|
| 27 | */ |
|
| 28 | protected $name; |
|
| 29 | /** |
|
| 30 | * @var int |
|
| 31 | */ |
|
| 32 | protected $position; |
|
| 33 | ||
| 34 | /** |
|
| 35 | * @return int |
|
| 36 | */ |
|
| 37 | public function getId() |
|
| 38 | { |
|
| 39 | return $this->id; |
|
| 40 | } |
|
| 41 | ||
| 42 | /** |
|
| 43 | * @param int $id |
|
| 44 | * |
|
| 45 | * @return ConfiguratorOption |
|
| 46 | */ |
|
| 47 | public function setId($id) |
|
| 48 | { |
|
| 49 | $this->id = $id; |
|
| 50 | ||
| 51 | return $this; |
|
| 52 | } |
|
| 53 | ||
| 54 | /** |
|
| 55 | * @return int |
|
| 56 | */ |
|
| 57 | public function getGroupId() |
|
| 58 | { |
|
| 59 | return $this->groupId; |
|
| 60 | } |
|
| 61 | ||
| 62 | /** |
|
| 63 | * @param int $groupId |
|
| 64 | * |
|
| 65 | * @return ConfiguratorOption |
|
| 66 | */ |
|
| 67 | public function setGroupId($groupId) |
|
| 68 | { |
|
| 69 | $this->groupId = $groupId; |
|
| 70 | ||
| 71 | return $this; |
|
| 72 | } |
|
| 73 | ||
| 74 | /** |
|
| 75 | * @return string |
|
| 76 | */ |
|
| 77 | public function getName() |
|
| 78 | { |
|
| 79 | return $this->name; |
|
| 80 | } |
|
| 81 | ||
| 82 | /** |
|
| 83 | * @param string $name |
|
| 84 | * |
|
| 85 | * @return ConfiguratorOption |
|
| 86 | */ |
|
| 87 | public function setName($name) |
|
| 88 | { |
|
| 89 | $this->name = $name; |
|
| 90 | ||
| 91 | return $this; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * @return int |
|
| 96 | */ |
|
| 97 | public function getPosition() |
|
| 98 | { |
|
| 99 | return $this->position; |
|
| 100 | } |
|
| 101 | ||
| 102 | /** |
|
| 103 | * @param int $position |
|
| 104 | * |
|
| 105 | * @return ConfiguratorOption |
|
| 106 | */ |
|
| 107 | public function setPosition($position) |
|
| 108 | { |
|
| 109 | $this->position = $position; |
|
| 110 | ||
| 111 | return $this; |
|
| 112 | } |
|
| 113 | } |
|
| 114 | ||