EntityCCalendarEvent.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCCalendarEvent
  5. *
  6. * @Table(name="c_calendar_event")
  7. * @Entity
  8. */
  9. class EntityCCalendarEvent
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="NONE")
  17. */
  18. private $cId;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $id;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $title;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
  37. */
  38. private $content;
  39. /**
  40. * @var \DateTime
  41. *
  42. * @Column(name="start_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  43. */
  44. private $startDate;
  45. /**
  46. * @var \DateTime
  47. *
  48. * @Column(name="end_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  49. */
  50. private $endDate;
  51. /**
  52. * @var integer
  53. *
  54. * @Column(name="parent_event_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  55. */
  56. private $parentEventId;
  57. /**
  58. * @var integer
  59. *
  60. * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  61. */
  62. private $sessionId;
  63. /**
  64. * @var integer
  65. *
  66. * @Column(name="all_day", type="integer", precision=0, scale=0, nullable=false, unique=false)
  67. */
  68. private $allDay;
  69. /**
  70. * Set cId
  71. *
  72. * @param integer $cId
  73. * @return EntityCCalendarEvent
  74. */
  75. public function setCId($cId)
  76. {
  77. $this->cId = $cId;
  78. return $this;
  79. }
  80. /**
  81. * Get cId
  82. *
  83. * @return integer
  84. */
  85. public function getCId()
  86. {
  87. return $this->cId;
  88. }
  89. /**
  90. * Set id
  91. *
  92. * @param integer $id
  93. * @return EntityCCalendarEvent
  94. */
  95. public function setId($id)
  96. {
  97. $this->id = $id;
  98. return $this;
  99. }
  100. /**
  101. * Get id
  102. *
  103. * @return integer
  104. */
  105. public function getId()
  106. {
  107. return $this->id;
  108. }
  109. /**
  110. * Set title
  111. *
  112. * @param string $title
  113. * @return EntityCCalendarEvent
  114. */
  115. public function setTitle($title)
  116. {
  117. $this->title = $title;
  118. return $this;
  119. }
  120. /**
  121. * Get title
  122. *
  123. * @return string
  124. */
  125. public function getTitle()
  126. {
  127. return $this->title;
  128. }
  129. /**
  130. * Set content
  131. *
  132. * @param string $content
  133. * @return EntityCCalendarEvent
  134. */
  135. public function setContent($content)
  136. {
  137. $this->content = $content;
  138. return $this;
  139. }
  140. /**
  141. * Get content
  142. *
  143. * @return string
  144. */
  145. public function getContent()
  146. {
  147. return $this->content;
  148. }
  149. /**
  150. * Set startDate
  151. *
  152. * @param \DateTime $startDate
  153. * @return EntityCCalendarEvent
  154. */
  155. public function setStartDate($startDate)
  156. {
  157. $this->startDate = $startDate;
  158. return $this;
  159. }
  160. /**
  161. * Get startDate
  162. *
  163. * @return \DateTime
  164. */
  165. public function getStartDate()
  166. {
  167. return $this->startDate;
  168. }
  169. /**
  170. * Set endDate
  171. *
  172. * @param \DateTime $endDate
  173. * @return EntityCCalendarEvent
  174. */
  175. public function setEndDate($endDate)
  176. {
  177. $this->endDate = $endDate;
  178. return $this;
  179. }
  180. /**
  181. * Get endDate
  182. *
  183. * @return \DateTime
  184. */
  185. public function getEndDate()
  186. {
  187. return $this->endDate;
  188. }
  189. /**
  190. * Set parentEventId
  191. *
  192. * @param integer $parentEventId
  193. * @return EntityCCalendarEvent
  194. */
  195. public function setParentEventId($parentEventId)
  196. {
  197. $this->parentEventId = $parentEventId;
  198. return $this;
  199. }
  200. /**
  201. * Get parentEventId
  202. *
  203. * @return integer
  204. */
  205. public function getParentEventId()
  206. {
  207. return $this->parentEventId;
  208. }
  209. /**
  210. * Set sessionId
  211. *
  212. * @param integer $sessionId
  213. * @return EntityCCalendarEvent
  214. */
  215. public function setSessionId($sessionId)
  216. {
  217. $this->sessionId = $sessionId;
  218. return $this;
  219. }
  220. /**
  221. * Get sessionId
  222. *
  223. * @return integer
  224. */
  225. public function getSessionId()
  226. {
  227. return $this->sessionId;
  228. }
  229. /**
  230. * Set allDay
  231. *
  232. * @param integer $allDay
  233. * @return EntityCCalendarEvent
  234. */
  235. public function setAllDay($allDay)
  236. {
  237. $this->allDay = $allDay;
  238. return $this;
  239. }
  240. /**
  241. * Get allDay
  242. *
  243. * @return integer
  244. */
  245. public function getAllDay()
  246. {
  247. return $this->allDay;
  248. }
  249. }