123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class ReservationItem extends \Entity
- {
- /**
- * @return \Entity\Repository\ReservationItemRepository
- */
- public static function repository(){
- return \Entity\Repository\ReservationItemRepository::instance();
- }
- /**
- * @return \Entity\ReservationItem
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $id
- */
- protected $id;
- /**
- * @var integer $category_id
- */
- protected $category_id;
- /**
- * @var string $course_code
- */
- protected $course_code;
- /**
- * @var string $name
- */
- protected $name;
- /**
- * @var text $description
- */
- protected $description;
- /**
- * @var boolean $blackout
- */
- protected $blackout;
- /**
- * @var integer $creator
- */
- protected $creator;
- /**
- * @var boolean $always_available
- */
- protected $always_available;
- /**
- * Get id
- *
- * @return integer
- */
- public function get_id()
- {
- return $this->id;
- }
- /**
- * Set category_id
- *
- * @param integer $value
- * @return ReservationItem
- */
- public function set_category_id($value)
- {
- $this->category_id = $value;
- return $this;
- }
- /**
- * Get category_id
- *
- * @return integer
- */
- public function get_category_id()
- {
- return $this->category_id;
- }
- /**
- * Set course_code
- *
- * @param string $value
- * @return ReservationItem
- */
- public function set_course_code($value)
- {
- $this->course_code = $value;
- return $this;
- }
- /**
- * Get course_code
- *
- * @return string
- */
- public function get_course_code()
- {
- return $this->course_code;
- }
- /**
- * Set name
- *
- * @param string $value
- * @return ReservationItem
- */
- public function set_name($value)
- {
- $this->name = $value;
- return $this;
- }
- /**
- * Get name
- *
- * @return string
- */
- public function get_name()
- {
- return $this->name;
- }
- /**
- * Set description
- *
- * @param text $value
- * @return ReservationItem
- */
- public function set_description($value)
- {
- $this->description = $value;
- return $this;
- }
- /**
- * Get description
- *
- * @return text
- */
- public function get_description()
- {
- return $this->description;
- }
- /**
- * Set blackout
- *
- * @param boolean $value
- * @return ReservationItem
- */
- public function set_blackout($value)
- {
- $this->blackout = $value;
- return $this;
- }
- /**
- * Get blackout
- *
- * @return boolean
- */
- public function get_blackout()
- {
- return $this->blackout;
- }
- /**
- * Set creator
- *
- * @param integer $value
- * @return ReservationItem
- */
- public function set_creator($value)
- {
- $this->creator = $value;
- return $this;
- }
- /**
- * Get creator
- *
- * @return integer
- */
- public function get_creator()
- {
- return $this->creator;
- }
- /**
- * Set always_available
- *
- * @param boolean $value
- * @return ReservationItem
- */
- public function set_always_available($value)
- {
- $this->always_available = $value;
- return $this;
- }
- /**
- * Get always_available
- *
- * @return boolean
- */
- public function get_always_available()
- {
- return $this->always_available;
- }
- }
|