CTimeline.php 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * CTimeline
  6. *
  7. * @ORM\Table(name="c_timeline")
  8. * @ORM\Entity
  9. */
  10. class CTimeline
  11. {
  12. /**
  13. * @var integer $id
  14. *
  15. * @ORM\Column(name="id", type="integer", nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var integer
  22. *
  23. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  24. * @Id
  25. * @GeneratedValue(strategy="NONE")
  26. */
  27. private $cId;
  28. /**
  29. * @var string
  30. *
  31. * @Column(name="headline", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  32. */
  33. private $headline;
  34. /**
  35. * @var string
  36. *
  37. * @Column(name="type", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  38. */
  39. private $type;
  40. /**
  41. * @var string
  42. *
  43. * @Column(name="start_date", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  44. */
  45. private $startDate;
  46. /**
  47. * @var string
  48. *
  49. * @Column(name="end_date", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  50. */
  51. private $endDate;
  52. /**
  53. * @var string
  54. *
  55. * @Column(name="text", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  56. */
  57. private $text;
  58. /**
  59. * @var string
  60. *
  61. * @Column(name="media", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  62. */
  63. private $media;
  64. /**
  65. * @var string
  66. *
  67. * @Column(name="media_credit", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  68. */
  69. private $mediaCredit;
  70. /**
  71. * @var string
  72. *
  73. * @Column(name="media_caption", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  74. */
  75. private $mediaCaption;
  76. /**
  77. * @var string
  78. *
  79. * @Column(name="title_slide", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  80. */
  81. private $titleSlide;
  82. /**
  83. * @var integer
  84. *
  85. * @Column(name="parent_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  86. */
  87. private $parentId;
  88. /**
  89. * @var integer
  90. *
  91. * @Column(name="status", type="integer", precision=0, scale=0, nullable=false, unique=false)
  92. */
  93. private $status;
  94. /**
  95. * Set id
  96. *
  97. * @param integer $id
  98. * @return CTimeline
  99. */
  100. public function setId($id)
  101. {
  102. $this->id = $id;
  103. return $this;
  104. }
  105. /**
  106. * Get id
  107. *
  108. * @return integer
  109. */
  110. public function getId()
  111. {
  112. return $this->id;
  113. }
  114. /**
  115. * Set cId
  116. *
  117. * @param integer $cId
  118. * @return CTimeline
  119. */
  120. public function setCId($cId)
  121. {
  122. $this->cId = $cId;
  123. return $this;
  124. }
  125. /**
  126. * Get cId
  127. *
  128. * @return integer
  129. */
  130. public function getCId()
  131. {
  132. return $this->cId;
  133. }
  134. /**
  135. * Set headline
  136. *
  137. * @param string $headline
  138. * @return CTimeline
  139. */
  140. public function setHeadline($headline)
  141. {
  142. $this->headline = $headline;
  143. return $this;
  144. }
  145. /**
  146. * Get headline
  147. *
  148. * @return string
  149. */
  150. public function getHeadline()
  151. {
  152. return $this->headline;
  153. }
  154. /**
  155. * Set type
  156. *
  157. * @param string $type
  158. * @return CTimeline
  159. */
  160. public function setType($type)
  161. {
  162. $this->type = $type;
  163. return $this;
  164. }
  165. /**
  166. * Get type
  167. *
  168. * @return string
  169. */
  170. public function getType()
  171. {
  172. return $this->type;
  173. }
  174. /**
  175. * Set startDate
  176. *
  177. * @param string $startDate
  178. * @return CTimeline
  179. */
  180. public function setStartDate($startDate)
  181. {
  182. $this->startDate = $startDate;
  183. return $this;
  184. }
  185. /**
  186. * Get startDate
  187. *
  188. * @return string
  189. */
  190. public function getStartDate()
  191. {
  192. return $this->startDate;
  193. }
  194. /**
  195. * Set endDate
  196. *
  197. * @param string $endDate
  198. * @return CTimeline
  199. */
  200. public function setEndDate($endDate)
  201. {
  202. $this->endDate = $endDate;
  203. return $this;
  204. }
  205. /**
  206. * Get endDate
  207. *
  208. * @return string
  209. */
  210. public function getEndDate()
  211. {
  212. return $this->endDate;
  213. }
  214. /**
  215. * Set text
  216. *
  217. * @param string $text
  218. * @return CTimeline
  219. */
  220. public function setText($text)
  221. {
  222. $this->text = $text;
  223. return $this;
  224. }
  225. /**
  226. * Get text
  227. *
  228. * @return string
  229. */
  230. public function getText()
  231. {
  232. return $this->text;
  233. }
  234. /**
  235. * Set media
  236. *
  237. * @param string $media
  238. * @return CTimeline
  239. */
  240. public function setMedia($media)
  241. {
  242. $this->media = $media;
  243. return $this;
  244. }
  245. /**
  246. * Get media
  247. *
  248. * @return string
  249. */
  250. public function getMedia()
  251. {
  252. return $this->media;
  253. }
  254. /**
  255. * Set mediaCredit
  256. *
  257. * @param string $mediaCredit
  258. * @return CTimeline
  259. */
  260. public function setMediaCredit($mediaCredit)
  261. {
  262. $this->mediaCredit = $mediaCredit;
  263. return $this;
  264. }
  265. /**
  266. * Get mediaCredit
  267. *
  268. * @return string
  269. */
  270. public function getMediaCredit()
  271. {
  272. return $this->mediaCredit;
  273. }
  274. /**
  275. * Set mediaCaption
  276. *
  277. * @param string $mediaCaption
  278. * @return CTimeline
  279. */
  280. public function setMediaCaption($mediaCaption)
  281. {
  282. $this->mediaCaption = $mediaCaption;
  283. return $this;
  284. }
  285. /**
  286. * Get mediaCaption
  287. *
  288. * @return string
  289. */
  290. public function getMediaCaption()
  291. {
  292. return $this->mediaCaption;
  293. }
  294. /**
  295. * Set titleSlide
  296. *
  297. * @param string $titleSlide
  298. * @return CTimeline
  299. */
  300. public function setTitleSlide($titleSlide)
  301. {
  302. $this->titleSlide = $titleSlide;
  303. return $this;
  304. }
  305. /**
  306. * Get titleSlide
  307. *
  308. * @return string
  309. */
  310. public function getTitleSlide()
  311. {
  312. return $this->titleSlide;
  313. }
  314. /**
  315. * Set parentId
  316. *
  317. * @param integer $parentId
  318. * @return CTimeline
  319. */
  320. public function setParentId($parentId)
  321. {
  322. $this->parentId = $parentId;
  323. return $this;
  324. }
  325. /**
  326. * Get parentId
  327. *
  328. * @return integer
  329. */
  330. public function getParentId()
  331. {
  332. return $this->parentId;
  333. }
  334. /**
  335. * Set status
  336. *
  337. * @param integer $status
  338. * @return CTimeline
  339. */
  340. public function setStatus($status)
  341. {
  342. $this->status = $status;
  343. return $this;
  344. }
  345. /**
  346. * Get status
  347. *
  348. * @return integer
  349. */
  350. public function getStatus()
  351. {
  352. return $this->status;
  353. }
  354. }