EntityCForumPost.php 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCForumPost
  5. *
  6. * @Table(name="c_forum_post")
  7. * @Entity
  8. */
  9. class EntityCForumPost
  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="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $postId;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="post_title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
  31. */
  32. private $postTitle;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="post_text", type="text", precision=0, scale=0, nullable=true, unique=false)
  37. */
  38. private $postText;
  39. /**
  40. * @var integer
  41. *
  42. * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  43. */
  44. private $threadId;
  45. /**
  46. * @var integer
  47. *
  48. * @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  49. */
  50. private $forumId;
  51. /**
  52. * @var integer
  53. *
  54. * @Column(name="poster_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  55. */
  56. private $posterId;
  57. /**
  58. * @var string
  59. *
  60. * @Column(name="poster_name", type="string", length=100, precision=0, scale=0, nullable=true, unique=false)
  61. */
  62. private $posterName;
  63. /**
  64. * @var \DateTime
  65. *
  66. * @Column(name="post_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
  67. */
  68. private $postDate;
  69. /**
  70. * @var boolean
  71. *
  72. * @Column(name="post_notification", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  73. */
  74. private $postNotification;
  75. /**
  76. * @var integer
  77. *
  78. * @Column(name="post_parent_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  79. */
  80. private $postParentId;
  81. /**
  82. * @var boolean
  83. *
  84. * @Column(name="visible", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  85. */
  86. private $visible;
  87. /**
  88. * Set cId
  89. *
  90. * @param integer $cId
  91. * @return EntityCForumPost
  92. */
  93. public function setCId($cId)
  94. {
  95. $this->cId = $cId;
  96. return $this;
  97. }
  98. /**
  99. * Get cId
  100. *
  101. * @return integer
  102. */
  103. public function getCId()
  104. {
  105. return $this->cId;
  106. }
  107. /**
  108. * Set postId
  109. *
  110. * @param integer $postId
  111. * @return EntityCForumPost
  112. */
  113. public function setPostId($postId)
  114. {
  115. $this->postId = $postId;
  116. return $this;
  117. }
  118. /**
  119. * Get postId
  120. *
  121. * @return integer
  122. */
  123. public function getPostId()
  124. {
  125. return $this->postId;
  126. }
  127. /**
  128. * Set postTitle
  129. *
  130. * @param string $postTitle
  131. * @return EntityCForumPost
  132. */
  133. public function setPostTitle($postTitle)
  134. {
  135. $this->postTitle = $postTitle;
  136. return $this;
  137. }
  138. /**
  139. * Get postTitle
  140. *
  141. * @return string
  142. */
  143. public function getPostTitle()
  144. {
  145. return $this->postTitle;
  146. }
  147. /**
  148. * Set postText
  149. *
  150. * @param string $postText
  151. * @return EntityCForumPost
  152. */
  153. public function setPostText($postText)
  154. {
  155. $this->postText = $postText;
  156. return $this;
  157. }
  158. /**
  159. * Get postText
  160. *
  161. * @return string
  162. */
  163. public function getPostText()
  164. {
  165. return $this->postText;
  166. }
  167. /**
  168. * Set threadId
  169. *
  170. * @param integer $threadId
  171. * @return EntityCForumPost
  172. */
  173. public function setThreadId($threadId)
  174. {
  175. $this->threadId = $threadId;
  176. return $this;
  177. }
  178. /**
  179. * Get threadId
  180. *
  181. * @return integer
  182. */
  183. public function getThreadId()
  184. {
  185. return $this->threadId;
  186. }
  187. /**
  188. * Set forumId
  189. *
  190. * @param integer $forumId
  191. * @return EntityCForumPost
  192. */
  193. public function setForumId($forumId)
  194. {
  195. $this->forumId = $forumId;
  196. return $this;
  197. }
  198. /**
  199. * Get forumId
  200. *
  201. * @return integer
  202. */
  203. public function getForumId()
  204. {
  205. return $this->forumId;
  206. }
  207. /**
  208. * Set posterId
  209. *
  210. * @param integer $posterId
  211. * @return EntityCForumPost
  212. */
  213. public function setPosterId($posterId)
  214. {
  215. $this->posterId = $posterId;
  216. return $this;
  217. }
  218. /**
  219. * Get posterId
  220. *
  221. * @return integer
  222. */
  223. public function getPosterId()
  224. {
  225. return $this->posterId;
  226. }
  227. /**
  228. * Set posterName
  229. *
  230. * @param string $posterName
  231. * @return EntityCForumPost
  232. */
  233. public function setPosterName($posterName)
  234. {
  235. $this->posterName = $posterName;
  236. return $this;
  237. }
  238. /**
  239. * Get posterName
  240. *
  241. * @return string
  242. */
  243. public function getPosterName()
  244. {
  245. return $this->posterName;
  246. }
  247. /**
  248. * Set postDate
  249. *
  250. * @param \DateTime $postDate
  251. * @return EntityCForumPost
  252. */
  253. public function setPostDate($postDate)
  254. {
  255. $this->postDate = $postDate;
  256. return $this;
  257. }
  258. /**
  259. * Get postDate
  260. *
  261. * @return \DateTime
  262. */
  263. public function getPostDate()
  264. {
  265. return $this->postDate;
  266. }
  267. /**
  268. * Set postNotification
  269. *
  270. * @param boolean $postNotification
  271. * @return EntityCForumPost
  272. */
  273. public function setPostNotification($postNotification)
  274. {
  275. $this->postNotification = $postNotification;
  276. return $this;
  277. }
  278. /**
  279. * Get postNotification
  280. *
  281. * @return boolean
  282. */
  283. public function getPostNotification()
  284. {
  285. return $this->postNotification;
  286. }
  287. /**
  288. * Set postParentId
  289. *
  290. * @param integer $postParentId
  291. * @return EntityCForumPost
  292. */
  293. public function setPostParentId($postParentId)
  294. {
  295. $this->postParentId = $postParentId;
  296. return $this;
  297. }
  298. /**
  299. * Get postParentId
  300. *
  301. * @return integer
  302. */
  303. public function getPostParentId()
  304. {
  305. return $this->postParentId;
  306. }
  307. /**
  308. * Set visible
  309. *
  310. * @param boolean $visible
  311. * @return EntityCForumPost
  312. */
  313. public function setVisible($visible)
  314. {
  315. $this->visible = $visible;
  316. return $this;
  317. }
  318. /**
  319. * Get visible
  320. *
  321. * @return boolean
  322. */
  323. public function getVisible()
  324. {
  325. return $this->visible;
  326. }
  327. }