12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class ReservationCategory extends \Entity
- {
- /**
- * @return \Entity\Repository\ReservationCategoryRepository
- */
- public static function repository(){
- return \Entity\Repository\ReservationCategoryRepository::instance();
- }
- /**
- * @return \Entity\ReservationCategory
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $id
- */
- protected $id;
- /**
- * @var integer $parent_id
- */
- protected $parent_id;
- /**
- * @var string $name
- */
- protected $name;
- /**
- * Get id
- *
- * @return integer
- */
- public function get_id()
- {
- return $this->id;
- }
- /**
- * Set parent_id
- *
- * @param integer $value
- * @return ReservationCategory
- */
- public function set_parent_id($value)
- {
- $this->parent_id = $value;
- return $this;
- }
- /**
- * Get parent_id
- *
- * @return integer
- */
- public function get_parent_id()
- {
- return $this->parent_id;
- }
- /**
- * Set name
- *
- * @param string $value
- * @return ReservationCategory
- */
- public function set_name($value)
- {
- $this->name = $value;
- return $this;
- }
- /**
- * Get name
- *
- * @return string
- */
- public function get_name()
- {
- return $this->name;
- }
- }
|