EntityCForumForum.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCForumForum
  5. *
  6. * @Table(name="c_forum_forum")
  7. * @Entity
  8. */
  9. class EntityCForumForum
  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="forum_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $forumId;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="forum_title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $forumTitle;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="forum_comment", type="text", precision=0, scale=0, nullable=true, unique=false)
  37. */
  38. private $forumComment;
  39. /**
  40. * @var integer
  41. *
  42. * @Column(name="forum_threads", type="integer", precision=0, scale=0, nullable=true, unique=false)
  43. */
  44. private $forumThreads;
  45. /**
  46. * @var integer
  47. *
  48. * @Column(name="forum_posts", type="integer", precision=0, scale=0, nullable=true, unique=false)
  49. */
  50. private $forumPosts;
  51. /**
  52. * @var integer
  53. *
  54. * @Column(name="forum_last_post", type="integer", precision=0, scale=0, nullable=true, unique=false)
  55. */
  56. private $forumLastPost;
  57. /**
  58. * @var integer
  59. *
  60. * @Column(name="forum_category", type="integer", precision=0, scale=0, nullable=true, unique=false)
  61. */
  62. private $forumCategory;
  63. /**
  64. * @var integer
  65. *
  66. * @Column(name="allow_anonymous", type="integer", precision=0, scale=0, nullable=true, unique=false)
  67. */
  68. private $allowAnonymous;
  69. /**
  70. * @var integer
  71. *
  72. * @Column(name="allow_edit", type="integer", precision=0, scale=0, nullable=true, unique=false)
  73. */
  74. private $allowEdit;
  75. /**
  76. * @var string
  77. *
  78. * @Column(name="approval_direct_post", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
  79. */
  80. private $approvalDirectPost;
  81. /**
  82. * @var integer
  83. *
  84. * @Column(name="allow_attachments", type="integer", precision=0, scale=0, nullable=true, unique=false)
  85. */
  86. private $allowAttachments;
  87. /**
  88. * @var integer
  89. *
  90. * @Column(name="allow_new_threads", type="integer", precision=0, scale=0, nullable=true, unique=false)
  91. */
  92. private $allowNewThreads;
  93. /**
  94. * @var string
  95. *
  96. * @Column(name="default_view", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
  97. */
  98. private $defaultView;
  99. /**
  100. * @var string
  101. *
  102. * @Column(name="forum_of_group", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
  103. */
  104. private $forumOfGroup;
  105. /**
  106. * @var string
  107. *
  108. * @Column(name="forum_group_public_private", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
  109. */
  110. private $forumGroupPublicPrivate;
  111. /**
  112. * @var integer
  113. *
  114. * @Column(name="forum_order", type="integer", precision=0, scale=0, nullable=true, unique=false)
  115. */
  116. private $forumOrder;
  117. /**
  118. * @var integer
  119. *
  120. * @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
  121. */
  122. private $locked;
  123. /**
  124. * @var integer
  125. *
  126. * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  127. */
  128. private $sessionId;
  129. /**
  130. * @var string
  131. *
  132. * @Column(name="forum_image", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  133. */
  134. private $forumImage;
  135. /**
  136. * @var \DateTime
  137. *
  138. * @Column(name="start_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  139. */
  140. private $startTime;
  141. /**
  142. * @var \DateTime
  143. *
  144. * @Column(name="end_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  145. */
  146. private $endTime;
  147. /**
  148. * Set cId
  149. *
  150. * @param integer $cId
  151. * @return EntityCForumForum
  152. */
  153. public function setCId($cId)
  154. {
  155. $this->cId = $cId;
  156. return $this;
  157. }
  158. /**
  159. * Get cId
  160. *
  161. * @return integer
  162. */
  163. public function getCId()
  164. {
  165. return $this->cId;
  166. }
  167. /**
  168. * Set forumId
  169. *
  170. * @param integer $forumId
  171. * @return EntityCForumForum
  172. */
  173. public function setForumId($forumId)
  174. {
  175. $this->forumId = $forumId;
  176. return $this;
  177. }
  178. /**
  179. * Get forumId
  180. *
  181. * @return integer
  182. */
  183. public function getForumId()
  184. {
  185. return $this->forumId;
  186. }
  187. /**
  188. * Set forumTitle
  189. *
  190. * @param string $forumTitle
  191. * @return EntityCForumForum
  192. */
  193. public function setForumTitle($forumTitle)
  194. {
  195. $this->forumTitle = $forumTitle;
  196. return $this;
  197. }
  198. /**
  199. * Get forumTitle
  200. *
  201. * @return string
  202. */
  203. public function getForumTitle()
  204. {
  205. return $this->forumTitle;
  206. }
  207. /**
  208. * Set forumComment
  209. *
  210. * @param string $forumComment
  211. * @return EntityCForumForum
  212. */
  213. public function setForumComment($forumComment)
  214. {
  215. $this->forumComment = $forumComment;
  216. return $this;
  217. }
  218. /**
  219. * Get forumComment
  220. *
  221. * @return string
  222. */
  223. public function getForumComment()
  224. {
  225. return $this->forumComment;
  226. }
  227. /**
  228. * Set forumThreads
  229. *
  230. * @param integer $forumThreads
  231. * @return EntityCForumForum
  232. */
  233. public function setForumThreads($forumThreads)
  234. {
  235. $this->forumThreads = $forumThreads;
  236. return $this;
  237. }
  238. /**
  239. * Get forumThreads
  240. *
  241. * @return integer
  242. */
  243. public function getForumThreads()
  244. {
  245. return $this->forumThreads;
  246. }
  247. /**
  248. * Set forumPosts
  249. *
  250. * @param integer $forumPosts
  251. * @return EntityCForumForum
  252. */
  253. public function setForumPosts($forumPosts)
  254. {
  255. $this->forumPosts = $forumPosts;
  256. return $this;
  257. }
  258. /**
  259. * Get forumPosts
  260. *
  261. * @return integer
  262. */
  263. public function getForumPosts()
  264. {
  265. return $this->forumPosts;
  266. }
  267. /**
  268. * Set forumLastPost
  269. *
  270. * @param integer $forumLastPost
  271. * @return EntityCForumForum
  272. */
  273. public function setForumLastPost($forumLastPost)
  274. {
  275. $this->forumLastPost = $forumLastPost;
  276. return $this;
  277. }
  278. /**
  279. * Get forumLastPost
  280. *
  281. * @return integer
  282. */
  283. public function getForumLastPost()
  284. {
  285. return $this->forumLastPost;
  286. }
  287. /**
  288. * Set forumCategory
  289. *
  290. * @param integer $forumCategory
  291. * @return EntityCForumForum
  292. */
  293. public function setForumCategory($forumCategory)
  294. {
  295. $this->forumCategory = $forumCategory;
  296. return $this;
  297. }
  298. /**
  299. * Get forumCategory
  300. *
  301. * @return integer
  302. */
  303. public function getForumCategory()
  304. {
  305. return $this->forumCategory;
  306. }
  307. /**
  308. * Set allowAnonymous
  309. *
  310. * @param integer $allowAnonymous
  311. * @return EntityCForumForum
  312. */
  313. public function setAllowAnonymous($allowAnonymous)
  314. {
  315. $this->allowAnonymous = $allowAnonymous;
  316. return $this;
  317. }
  318. /**
  319. * Get allowAnonymous
  320. *
  321. * @return integer
  322. */
  323. public function getAllowAnonymous()
  324. {
  325. return $this->allowAnonymous;
  326. }
  327. /**
  328. * Set allowEdit
  329. *
  330. * @param integer $allowEdit
  331. * @return EntityCForumForum
  332. */
  333. public function setAllowEdit($allowEdit)
  334. {
  335. $this->allowEdit = $allowEdit;
  336. return $this;
  337. }
  338. /**
  339. * Get allowEdit
  340. *
  341. * @return integer
  342. */
  343. public function getAllowEdit()
  344. {
  345. return $this->allowEdit;
  346. }
  347. /**
  348. * Set approvalDirectPost
  349. *
  350. * @param string $approvalDirectPost
  351. * @return EntityCForumForum
  352. */
  353. public function setApprovalDirectPost($approvalDirectPost)
  354. {
  355. $this->approvalDirectPost = $approvalDirectPost;
  356. return $this;
  357. }
  358. /**
  359. * Get approvalDirectPost
  360. *
  361. * @return string
  362. */
  363. public function getApprovalDirectPost()
  364. {
  365. return $this->approvalDirectPost;
  366. }
  367. /**
  368. * Set allowAttachments
  369. *
  370. * @param integer $allowAttachments
  371. * @return EntityCForumForum
  372. */
  373. public function setAllowAttachments($allowAttachments)
  374. {
  375. $this->allowAttachments = $allowAttachments;
  376. return $this;
  377. }
  378. /**
  379. * Get allowAttachments
  380. *
  381. * @return integer
  382. */
  383. public function getAllowAttachments()
  384. {
  385. return $this->allowAttachments;
  386. }
  387. /**
  388. * Set allowNewThreads
  389. *
  390. * @param integer $allowNewThreads
  391. * @return EntityCForumForum
  392. */
  393. public function setAllowNewThreads($allowNewThreads)
  394. {
  395. $this->allowNewThreads = $allowNewThreads;
  396. return $this;
  397. }
  398. /**
  399. * Get allowNewThreads
  400. *
  401. * @return integer
  402. */
  403. public function getAllowNewThreads()
  404. {
  405. return $this->allowNewThreads;
  406. }
  407. /**
  408. * Set defaultView
  409. *
  410. * @param string $defaultView
  411. * @return EntityCForumForum
  412. */
  413. public function setDefaultView($defaultView)
  414. {
  415. $this->defaultView = $defaultView;
  416. return $this;
  417. }
  418. /**
  419. * Get defaultView
  420. *
  421. * @return string
  422. */
  423. public function getDefaultView()
  424. {
  425. return $this->defaultView;
  426. }
  427. /**
  428. * Set forumOfGroup
  429. *
  430. * @param string $forumOfGroup
  431. * @return EntityCForumForum
  432. */
  433. public function setForumOfGroup($forumOfGroup)
  434. {
  435. $this->forumOfGroup = $forumOfGroup;
  436. return $this;
  437. }
  438. /**
  439. * Get forumOfGroup
  440. *
  441. * @return string
  442. */
  443. public function getForumOfGroup()
  444. {
  445. return $this->forumOfGroup;
  446. }
  447. /**
  448. * Set forumGroupPublicPrivate
  449. *
  450. * @param string $forumGroupPublicPrivate
  451. * @return EntityCForumForum
  452. */
  453. public function setForumGroupPublicPrivate($forumGroupPublicPrivate)
  454. {
  455. $this->forumGroupPublicPrivate = $forumGroupPublicPrivate;
  456. return $this;
  457. }
  458. /**
  459. * Get forumGroupPublicPrivate
  460. *
  461. * @return string
  462. */
  463. public function getForumGroupPublicPrivate()
  464. {
  465. return $this->forumGroupPublicPrivate;
  466. }
  467. /**
  468. * Set forumOrder
  469. *
  470. * @param integer $forumOrder
  471. * @return EntityCForumForum
  472. */
  473. public function setForumOrder($forumOrder)
  474. {
  475. $this->forumOrder = $forumOrder;
  476. return $this;
  477. }
  478. /**
  479. * Get forumOrder
  480. *
  481. * @return integer
  482. */
  483. public function getForumOrder()
  484. {
  485. return $this->forumOrder;
  486. }
  487. /**
  488. * Set locked
  489. *
  490. * @param integer $locked
  491. * @return EntityCForumForum
  492. */
  493. public function setLocked($locked)
  494. {
  495. $this->locked = $locked;
  496. return $this;
  497. }
  498. /**
  499. * Get locked
  500. *
  501. * @return integer
  502. */
  503. public function getLocked()
  504. {
  505. return $this->locked;
  506. }
  507. /**
  508. * Set sessionId
  509. *
  510. * @param integer $sessionId
  511. * @return EntityCForumForum
  512. */
  513. public function setSessionId($sessionId)
  514. {
  515. $this->sessionId = $sessionId;
  516. return $this;
  517. }
  518. /**
  519. * Get sessionId
  520. *
  521. * @return integer
  522. */
  523. public function getSessionId()
  524. {
  525. return $this->sessionId;
  526. }
  527. /**
  528. * Set forumImage
  529. *
  530. * @param string $forumImage
  531. * @return EntityCForumForum
  532. */
  533. public function setForumImage($forumImage)
  534. {
  535. $this->forumImage = $forumImage;
  536. return $this;
  537. }
  538. /**
  539. * Get forumImage
  540. *
  541. * @return string
  542. */
  543. public function getForumImage()
  544. {
  545. return $this->forumImage;
  546. }
  547. /**
  548. * Set startTime
  549. *
  550. * @param \DateTime $startTime
  551. * @return EntityCForumForum
  552. */
  553. public function setStartTime($startTime)
  554. {
  555. $this->startTime = $startTime;
  556. return $this;
  557. }
  558. /**
  559. * Get startTime
  560. *
  561. * @return \DateTime
  562. */
  563. public function getStartTime()
  564. {
  565. return $this->startTime;
  566. }
  567. /**
  568. * Set endTime
  569. *
  570. * @param \DateTime $endTime
  571. * @return EntityCForumForum
  572. */
  573. public function setEndTime($endTime)
  574. {
  575. $this->endTime = $endTime;
  576. return $this;
  577. }
  578. /**
  579. * Get endTime
  580. *
  581. * @return \DateTime
  582. */
  583. public function getEndTime()
  584. {
  585. return $this->endTime;
  586. }
  587. }