calendar_event.class.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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 CalendarEvent extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\CalendarEventRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\CalendarEventRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\CalendarEvent
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $c_id
  25. */
  26. protected $c_id;
  27. /**
  28. * @var integer $id
  29. */
  30. protected $id;
  31. /**
  32. * @var string $title
  33. */
  34. protected $title;
  35. /**
  36. * @var text $content
  37. */
  38. protected $content;
  39. /**
  40. * @var datetime $start_date
  41. */
  42. protected $start_date;
  43. /**
  44. * @var datetime $end_date
  45. */
  46. protected $end_date;
  47. /**
  48. * @var integer $parent_event_id
  49. */
  50. protected $parent_event_id;
  51. /**
  52. * @var integer $session_id
  53. */
  54. protected $session_id;
  55. /**
  56. * @var integer $all_day
  57. */
  58. protected $all_day;
  59. /**
  60. * Set c_id
  61. *
  62. * @param integer $value
  63. * @return CalendarEvent
  64. */
  65. public function set_c_id($value)
  66. {
  67. $this->c_id = $value;
  68. return $this;
  69. }
  70. /**
  71. * Get c_id
  72. *
  73. * @return integer
  74. */
  75. public function get_c_id()
  76. {
  77. return $this->c_id;
  78. }
  79. /**
  80. * Set id
  81. *
  82. * @param integer $value
  83. * @return CalendarEvent
  84. */
  85. public function set_id($value)
  86. {
  87. $this->id = $value;
  88. return $this;
  89. }
  90. /**
  91. * Get id
  92. *
  93. * @return integer
  94. */
  95. public function get_id()
  96. {
  97. return $this->id;
  98. }
  99. /**
  100. * Set title
  101. *
  102. * @param string $value
  103. * @return CalendarEvent
  104. */
  105. public function set_title($value)
  106. {
  107. $this->title = $value;
  108. return $this;
  109. }
  110. /**
  111. * Get title
  112. *
  113. * @return string
  114. */
  115. public function get_title()
  116. {
  117. return $this->title;
  118. }
  119. /**
  120. * Set content
  121. *
  122. * @param text $value
  123. * @return CalendarEvent
  124. */
  125. public function set_content($value)
  126. {
  127. $this->content = $value;
  128. return $this;
  129. }
  130. /**
  131. * Get content
  132. *
  133. * @return text
  134. */
  135. public function get_content()
  136. {
  137. return $this->content;
  138. }
  139. /**
  140. * Set start_date
  141. *
  142. * @param datetime $value
  143. * @return CalendarEvent
  144. */
  145. public function set_start_date($value)
  146. {
  147. $this->start_date = $value;
  148. return $this;
  149. }
  150. /**
  151. * Get start_date
  152. *
  153. * @return datetime
  154. */
  155. public function get_start_date()
  156. {
  157. return $this->start_date;
  158. }
  159. /**
  160. * Set end_date
  161. *
  162. * @param datetime $value
  163. * @return CalendarEvent
  164. */
  165. public function set_end_date($value)
  166. {
  167. $this->end_date = $value;
  168. return $this;
  169. }
  170. /**
  171. * Get end_date
  172. *
  173. * @return datetime
  174. */
  175. public function get_end_date()
  176. {
  177. return $this->end_date;
  178. }
  179. /**
  180. * Set parent_event_id
  181. *
  182. * @param integer $value
  183. * @return CalendarEvent
  184. */
  185. public function set_parent_event_id($value)
  186. {
  187. $this->parent_event_id = $value;
  188. return $this;
  189. }
  190. /**
  191. * Get parent_event_id
  192. *
  193. * @return integer
  194. */
  195. public function get_parent_event_id()
  196. {
  197. return $this->parent_event_id;
  198. }
  199. /**
  200. * Set session_id
  201. *
  202. * @param integer $value
  203. * @return CalendarEvent
  204. */
  205. public function set_session_id($value)
  206. {
  207. $this->session_id = $value;
  208. return $this;
  209. }
  210. /**
  211. * Get session_id
  212. *
  213. * @return integer
  214. */
  215. public function get_session_id()
  216. {
  217. return $this->session_id;
  218. }
  219. /**
  220. * Set all_day
  221. *
  222. * @param integer $value
  223. * @return CalendarEvent
  224. */
  225. public function set_all_day($value)
  226. {
  227. $this->all_day = $value;
  228. return $this;
  229. }
  230. /**
  231. * Get all_day
  232. *
  233. * @return integer
  234. */
  235. public function get_all_day()
  236. {
  237. return $this->all_day;
  238. }
  239. }