| 1 | <?php |
||
| 12 | class Channel |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @Type("integer") |
||
| 16 | */ |
||
| 17 | private $id; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @Type("string") |
||
| 21 | */ |
||
| 22 | private $name; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @Type("ArrayCollection<MovingImage\Client\VMPro\Entity\Channel>") |
||
| 26 | */ |
||
| 27 | private $children; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @Type("MovingImage\Client\VMPro\Entity\Channel") |
||
| 31 | */ |
||
| 32 | private $parent = null; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 6 | public function getName() |
|
| 38 | { |
||
| 39 | 6 | return $this->name; |
|
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $name |
||
| 44 | * |
||
| 45 | * @return Channel |
||
| 46 | */ |
||
| 47 | public function setName($name) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return int |
||
| 56 | */ |
||
| 57 | 6 | public function getId() |
|
| 58 | { |
||
| 59 | 6 | return $this->id; |
|
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @param int $id |
||
| 64 | * |
||
| 65 | * @return Channel |
||
| 66 | */ |
||
| 67 | public function setId($id) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return Channel |
||
| 76 | */ |
||
| 77 | public function getParent() |
||
| 81 | |||
| 82 | public function setParentOnChildren() |
||
| 88 | |||
| 89 | public function getChildren() |
||
| 93 | |||
| 94 | public function setChildren($children) |
||
| 100 | } |
||
| 101 |