| 1 | <?php |
||
| 11 | class Box extends Entity |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @orm\ManyToOne(targetEntity="Page") |
||
| 15 | * @orm\JoinColumn(name="page_from_id", referencedColumnName="id", onDelete="CASCADE") |
||
| 16 | */ |
||
| 17 | private $pageFrom; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @orm\ManyToOne(targetEntity="Page") |
||
| 21 | * @orm\JoinColumn(name="page_to_id", referencedColumnName="id", onDelete="CASCADE") |
||
| 22 | */ |
||
| 23 | private $pageTo; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @orm\Column |
||
| 27 | */ |
||
| 28 | private $box; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @orm\Column |
||
| 32 | */ |
||
| 33 | private $presenter; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @orm\Column |
||
| 37 | */ |
||
| 38 | private $moduleName; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @orm\Column |
||
| 42 | */ |
||
| 43 | private $function; |
||
| 44 | |||
| 45 | public function getPageFrom() |
||
| 49 | |||
| 50 | 1 | public function setPageFrom($pageFrom) |
|
| 54 | |||
| 55 | public function getPageTo() |
||
| 59 | |||
| 60 | 1 | public function setPageTo($pageTo) |
|
| 64 | |||
| 65 | public function getBox() |
||
| 69 | |||
| 70 | 1 | public function setBox($box) |
|
| 74 | |||
| 75 | public function getPresenter() |
||
| 79 | |||
| 80 | 1 | public function setPresenter($presenter) |
|
| 84 | |||
| 85 | public function getFunction() |
||
| 89 | |||
| 90 | 1 | public function setFunction($function) |
|
| 94 | |||
| 95 | public function getModuleName() |
||
| 99 | |||
| 100 | 1 | public function setModuleName($moduleName) |
|
| 104 | } |
||
| 105 |