reservation_item.class.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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 ReservationItem extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\ReservationItemRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\ReservationItemRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\ReservationItem
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $category_id
  29. */
  30. protected $category_id;
  31. /**
  32. * @var string $course_code
  33. */
  34. protected $course_code;
  35. /**
  36. * @var string $name
  37. */
  38. protected $name;
  39. /**
  40. * @var text $description
  41. */
  42. protected $description;
  43. /**
  44. * @var boolean $blackout
  45. */
  46. protected $blackout;
  47. /**
  48. * @var integer $creator
  49. */
  50. protected $creator;
  51. /**
  52. * @var boolean $always_available
  53. */
  54. protected $always_available;
  55. /**
  56. * Get id
  57. *
  58. * @return integer
  59. */
  60. public function get_id()
  61. {
  62. return $this->id;
  63. }
  64. /**
  65. * Set category_id
  66. *
  67. * @param integer $value
  68. * @return ReservationItem
  69. */
  70. public function set_category_id($value)
  71. {
  72. $this->category_id = $value;
  73. return $this;
  74. }
  75. /**
  76. * Get category_id
  77. *
  78. * @return integer
  79. */
  80. public function get_category_id()
  81. {
  82. return $this->category_id;
  83. }
  84. /**
  85. * Set course_code
  86. *
  87. * @param string $value
  88. * @return ReservationItem
  89. */
  90. public function set_course_code($value)
  91. {
  92. $this->course_code = $value;
  93. return $this;
  94. }
  95. /**
  96. * Get course_code
  97. *
  98. * @return string
  99. */
  100. public function get_course_code()
  101. {
  102. return $this->course_code;
  103. }
  104. /**
  105. * Set name
  106. *
  107. * @param string $value
  108. * @return ReservationItem
  109. */
  110. public function set_name($value)
  111. {
  112. $this->name = $value;
  113. return $this;
  114. }
  115. /**
  116. * Get name
  117. *
  118. * @return string
  119. */
  120. public function get_name()
  121. {
  122. return $this->name;
  123. }
  124. /**
  125. * Set description
  126. *
  127. * @param text $value
  128. * @return ReservationItem
  129. */
  130. public function set_description($value)
  131. {
  132. $this->description = $value;
  133. return $this;
  134. }
  135. /**
  136. * Get description
  137. *
  138. * @return text
  139. */
  140. public function get_description()
  141. {
  142. return $this->description;
  143. }
  144. /**
  145. * Set blackout
  146. *
  147. * @param boolean $value
  148. * @return ReservationItem
  149. */
  150. public function set_blackout($value)
  151. {
  152. $this->blackout = $value;
  153. return $this;
  154. }
  155. /**
  156. * Get blackout
  157. *
  158. * @return boolean
  159. */
  160. public function get_blackout()
  161. {
  162. return $this->blackout;
  163. }
  164. /**
  165. * Set creator
  166. *
  167. * @param integer $value
  168. * @return ReservationItem
  169. */
  170. public function set_creator($value)
  171. {
  172. $this->creator = $value;
  173. return $this;
  174. }
  175. /**
  176. * Get creator
  177. *
  178. * @return integer
  179. */
  180. public function get_creator()
  181. {
  182. return $this->creator;
  183. }
  184. /**
  185. * Set always_available
  186. *
  187. * @param boolean $value
  188. * @return ReservationItem
  189. */
  190. public function set_always_available($value)
  191. {
  192. $this->always_available = $value;
  193. return $this;
  194. }
  195. /**
  196. * Get always_available
  197. *
  198. * @return boolean
  199. */
  200. public function get_always_available()
  201. {
  202. return $this->always_available;
  203. }
  204. }