123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class ReservationItemRights extends \Entity
- {
- /**
- * @return \Entity\Repository\ReservationItemRightsRepository
- */
- public static function repository(){
- return \Entity\Repository\ReservationItemRightsRepository::instance();
- }
- /**
- * @return \Entity\ReservationItemRights
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $item_id
- */
- protected $item_id;
- /**
- * @var integer $class_id
- */
- protected $class_id;
- /**
- * @var boolean $edit_right
- */
- protected $edit_right;
- /**
- * @var boolean $delete_right
- */
- protected $delete_right;
- /**
- * @var boolean $m_reservation
- */
- protected $m_reservation;
- /**
- * @var boolean $view_right
- */
- protected $view_right;
- /**
- * Set item_id
- *
- * @param integer $value
- * @return ReservationItemRights
- */
- public function set_item_id($value)
- {
- $this->item_id = $value;
- return $this;
- }
- /**
- * Get item_id
- *
- * @return integer
- */
- public function get_item_id()
- {
- return $this->item_id;
- }
- /**
- * Set class_id
- *
- * @param integer $value
- * @return ReservationItemRights
- */
- public function set_class_id($value)
- {
- $this->class_id = $value;
- return $this;
- }
- /**
- * Get class_id
- *
- * @return integer
- */
- public function get_class_id()
- {
- return $this->class_id;
- }
- /**
- * Set edit_right
- *
- * @param boolean $value
- * @return ReservationItemRights
- */
- public function set_edit_right($value)
- {
- $this->edit_right = $value;
- return $this;
- }
- /**
- * Get edit_right
- *
- * @return boolean
- */
- public function get_edit_right()
- {
- return $this->edit_right;
- }
- /**
- * Set delete_right
- *
- * @param boolean $value
- * @return ReservationItemRights
- */
- public function set_delete_right($value)
- {
- $this->delete_right = $value;
- return $this;
- }
- /**
- * Get delete_right
- *
- * @return boolean
- */
- public function get_delete_right()
- {
- return $this->delete_right;
- }
- /**
- * Set m_reservation
- *
- * @param boolean $value
- * @return ReservationItemRights
- */
- public function set_m_reservation($value)
- {
- $this->m_reservation = $value;
- return $this;
- }
- /**
- * Get m_reservation
- *
- * @return boolean
- */
- public function get_m_reservation()
- {
- return $this->m_reservation;
- }
- /**
- * Set view_right
- *
- * @param boolean $value
- * @return ReservationItemRights
- */
- public function set_view_right($value)
- {
- $this->view_right = $value;
- return $this;
- }
- /**
- * Get view_right
- *
- * @return boolean
- */
- public function get_view_right()
- {
- return $this->view_right;
- }
- }
|