reservation_main.class.php 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  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 ReservationMain extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\ReservationMainRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\ReservationMainRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\ReservationMain
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $subid
  29. */
  30. protected $subid;
  31. /**
  32. * @var integer $item_id
  33. */
  34. protected $item_id;
  35. /**
  36. * @var boolean $auto_accept
  37. */
  38. protected $auto_accept;
  39. /**
  40. * @var integer $max_users
  41. */
  42. protected $max_users;
  43. /**
  44. * @var datetime $start_at
  45. */
  46. protected $start_at;
  47. /**
  48. * @var datetime $end_at
  49. */
  50. protected $end_at;
  51. /**
  52. * @var datetime $subscribe_from
  53. */
  54. protected $subscribe_from;
  55. /**
  56. * @var datetime $subscribe_until
  57. */
  58. protected $subscribe_until;
  59. /**
  60. * @var integer $subscribers
  61. */
  62. protected $subscribers;
  63. /**
  64. * @var text $notes
  65. */
  66. protected $notes;
  67. /**
  68. * @var boolean $timepicker
  69. */
  70. protected $timepicker;
  71. /**
  72. * @var integer $timepicker_min
  73. */
  74. protected $timepicker_min;
  75. /**
  76. * @var integer $timepicker_max
  77. */
  78. protected $timepicker_max;
  79. /**
  80. * Get id
  81. *
  82. * @return integer
  83. */
  84. public function get_id()
  85. {
  86. return $this->id;
  87. }
  88. /**
  89. * Set subid
  90. *
  91. * @param integer $value
  92. * @return ReservationMain
  93. */
  94. public function set_subid($value)
  95. {
  96. $this->subid = $value;
  97. return $this;
  98. }
  99. /**
  100. * Get subid
  101. *
  102. * @return integer
  103. */
  104. public function get_subid()
  105. {
  106. return $this->subid;
  107. }
  108. /**
  109. * Set item_id
  110. *
  111. * @param integer $value
  112. * @return ReservationMain
  113. */
  114. public function set_item_id($value)
  115. {
  116. $this->item_id = $value;
  117. return $this;
  118. }
  119. /**
  120. * Get item_id
  121. *
  122. * @return integer
  123. */
  124. public function get_item_id()
  125. {
  126. return $this->item_id;
  127. }
  128. /**
  129. * Set auto_accept
  130. *
  131. * @param boolean $value
  132. * @return ReservationMain
  133. */
  134. public function set_auto_accept($value)
  135. {
  136. $this->auto_accept = $value;
  137. return $this;
  138. }
  139. /**
  140. * Get auto_accept
  141. *
  142. * @return boolean
  143. */
  144. public function get_auto_accept()
  145. {
  146. return $this->auto_accept;
  147. }
  148. /**
  149. * Set max_users
  150. *
  151. * @param integer $value
  152. * @return ReservationMain
  153. */
  154. public function set_max_users($value)
  155. {
  156. $this->max_users = $value;
  157. return $this;
  158. }
  159. /**
  160. * Get max_users
  161. *
  162. * @return integer
  163. */
  164. public function get_max_users()
  165. {
  166. return $this->max_users;
  167. }
  168. /**
  169. * Set start_at
  170. *
  171. * @param datetime $value
  172. * @return ReservationMain
  173. */
  174. public function set_start_at($value)
  175. {
  176. $this->start_at = $value;
  177. return $this;
  178. }
  179. /**
  180. * Get start_at
  181. *
  182. * @return datetime
  183. */
  184. public function get_start_at()
  185. {
  186. return $this->start_at;
  187. }
  188. /**
  189. * Set end_at
  190. *
  191. * @param datetime $value
  192. * @return ReservationMain
  193. */
  194. public function set_end_at($value)
  195. {
  196. $this->end_at = $value;
  197. return $this;
  198. }
  199. /**
  200. * Get end_at
  201. *
  202. * @return datetime
  203. */
  204. public function get_end_at()
  205. {
  206. return $this->end_at;
  207. }
  208. /**
  209. * Set subscribe_from
  210. *
  211. * @param datetime $value
  212. * @return ReservationMain
  213. */
  214. public function set_subscribe_from($value)
  215. {
  216. $this->subscribe_from = $value;
  217. return $this;
  218. }
  219. /**
  220. * Get subscribe_from
  221. *
  222. * @return datetime
  223. */
  224. public function get_subscribe_from()
  225. {
  226. return $this->subscribe_from;
  227. }
  228. /**
  229. * Set subscribe_until
  230. *
  231. * @param datetime $value
  232. * @return ReservationMain
  233. */
  234. public function set_subscribe_until($value)
  235. {
  236. $this->subscribe_until = $value;
  237. return $this;
  238. }
  239. /**
  240. * Get subscribe_until
  241. *
  242. * @return datetime
  243. */
  244. public function get_subscribe_until()
  245. {
  246. return $this->subscribe_until;
  247. }
  248. /**
  249. * Set subscribers
  250. *
  251. * @param integer $value
  252. * @return ReservationMain
  253. */
  254. public function set_subscribers($value)
  255. {
  256. $this->subscribers = $value;
  257. return $this;
  258. }
  259. /**
  260. * Get subscribers
  261. *
  262. * @return integer
  263. */
  264. public function get_subscribers()
  265. {
  266. return $this->subscribers;
  267. }
  268. /**
  269. * Set notes
  270. *
  271. * @param text $value
  272. * @return ReservationMain
  273. */
  274. public function set_notes($value)
  275. {
  276. $this->notes = $value;
  277. return $this;
  278. }
  279. /**
  280. * Get notes
  281. *
  282. * @return text
  283. */
  284. public function get_notes()
  285. {
  286. return $this->notes;
  287. }
  288. /**
  289. * Set timepicker
  290. *
  291. * @param boolean $value
  292. * @return ReservationMain
  293. */
  294. public function set_timepicker($value)
  295. {
  296. $this->timepicker = $value;
  297. return $this;
  298. }
  299. /**
  300. * Get timepicker
  301. *
  302. * @return boolean
  303. */
  304. public function get_timepicker()
  305. {
  306. return $this->timepicker;
  307. }
  308. /**
  309. * Set timepicker_min
  310. *
  311. * @param integer $value
  312. * @return ReservationMain
  313. */
  314. public function set_timepicker_min($value)
  315. {
  316. $this->timepicker_min = $value;
  317. return $this;
  318. }
  319. /**
  320. * Get timepicker_min
  321. *
  322. * @return integer
  323. */
  324. public function get_timepicker_min()
  325. {
  326. return $this->timepicker_min;
  327. }
  328. /**
  329. * Set timepicker_max
  330. *
  331. * @param integer $value
  332. * @return ReservationMain
  333. */
  334. public function set_timepicker_max($value)
  335. {
  336. $this->timepicker_max = $value;
  337. return $this;
  338. }
  339. /**
  340. * Get timepicker_max
  341. *
  342. * @return integer
  343. */
  344. public function get_timepicker_max()
  345. {
  346. return $this->timepicker_max;
  347. }
  348. }