reservation_item_rights.class.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class ReservationItemRights extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\ReservationItemRightsRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\ReservationItemRightsRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\ReservationItemRights
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $item_id
  25. */
  26. protected $item_id;
  27. /**
  28. * @var integer $class_id
  29. */
  30. protected $class_id;
  31. /**
  32. * @var boolean $edit_right
  33. */
  34. protected $edit_right;
  35. /**
  36. * @var boolean $delete_right
  37. */
  38. protected $delete_right;
  39. /**
  40. * @var boolean $m_reservation
  41. */
  42. protected $m_reservation;
  43. /**
  44. * @var boolean $view_right
  45. */
  46. protected $view_right;
  47. /**
  48. * Set item_id
  49. *
  50. * @param integer $value
  51. * @return ReservationItemRights
  52. */
  53. public function set_item_id($value)
  54. {
  55. $this->item_id = $value;
  56. return $this;
  57. }
  58. /**
  59. * Get item_id
  60. *
  61. * @return integer
  62. */
  63. public function get_item_id()
  64. {
  65. return $this->item_id;
  66. }
  67. /**
  68. * Set class_id
  69. *
  70. * @param integer $value
  71. * @return ReservationItemRights
  72. */
  73. public function set_class_id($value)
  74. {
  75. $this->class_id = $value;
  76. return $this;
  77. }
  78. /**
  79. * Get class_id
  80. *
  81. * @return integer
  82. */
  83. public function get_class_id()
  84. {
  85. return $this->class_id;
  86. }
  87. /**
  88. * Set edit_right
  89. *
  90. * @param boolean $value
  91. * @return ReservationItemRights
  92. */
  93. public function set_edit_right($value)
  94. {
  95. $this->edit_right = $value;
  96. return $this;
  97. }
  98. /**
  99. * Get edit_right
  100. *
  101. * @return boolean
  102. */
  103. public function get_edit_right()
  104. {
  105. return $this->edit_right;
  106. }
  107. /**
  108. * Set delete_right
  109. *
  110. * @param boolean $value
  111. * @return ReservationItemRights
  112. */
  113. public function set_delete_right($value)
  114. {
  115. $this->delete_right = $value;
  116. return $this;
  117. }
  118. /**
  119. * Get delete_right
  120. *
  121. * @return boolean
  122. */
  123. public function get_delete_right()
  124. {
  125. return $this->delete_right;
  126. }
  127. /**
  128. * Set m_reservation
  129. *
  130. * @param boolean $value
  131. * @return ReservationItemRights
  132. */
  133. public function set_m_reservation($value)
  134. {
  135. $this->m_reservation = $value;
  136. return $this;
  137. }
  138. /**
  139. * Get m_reservation
  140. *
  141. * @return boolean
  142. */
  143. public function get_m_reservation()
  144. {
  145. return $this->m_reservation;
  146. }
  147. /**
  148. * Set view_right
  149. *
  150. * @param boolean $value
  151. * @return ReservationItemRights
  152. */
  153. public function set_view_right($value)
  154. {
  155. $this->view_right = $value;
  156. return $this;
  157. }
  158. /**
  159. * Get view_right
  160. *
  161. * @return boolean
  162. */
  163. public function get_view_right()
  164. {
  165. return $this->view_right;
  166. }
  167. }