EntityCForumNotification.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCForumNotification
  5. *
  6. * @Table(name="c_forum_notification")
  7. * @Entity
  8. */
  9. class EntityCForumNotification
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="NONE")
  17. */
  18. private $id;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $cId;
  27. /**
  28. * @var integer
  29. *
  30. * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  31. * @Id
  32. * @GeneratedValue(strategy="NONE")
  33. */
  34. private $userId;
  35. /**
  36. * @var integer
  37. *
  38. * @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  39. * @Id
  40. * @GeneratedValue(strategy="NONE")
  41. */
  42. private $forumId;
  43. /**
  44. * @var integer
  45. *
  46. * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  47. * @Id
  48. * @GeneratedValue(strategy="NONE")
  49. */
  50. private $threadId;
  51. /**
  52. * @var integer
  53. *
  54. * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  55. * @Id
  56. * @GeneratedValue(strategy="NONE")
  57. */
  58. private $postId;
  59. /**
  60. * Set id
  61. *
  62. * @param integer $id
  63. * @return EntityCForumNotification
  64. */
  65. public function setId($id)
  66. {
  67. $this->id = $id;
  68. return $this;
  69. }
  70. /**
  71. * Get id
  72. *
  73. * @return integer
  74. */
  75. public function getId()
  76. {
  77. return $this->id;
  78. }
  79. /**
  80. * Set cId
  81. *
  82. * @param integer $cId
  83. * @return EntityCForumNotification
  84. */
  85. public function setCId($cId)
  86. {
  87. $this->cId = $cId;
  88. return $this;
  89. }
  90. /**
  91. * Get cId
  92. *
  93. * @return integer
  94. */
  95. public function getCId()
  96. {
  97. return $this->cId;
  98. }
  99. /**
  100. * Set userId
  101. *
  102. * @param integer $userId
  103. * @return EntityCForumNotification
  104. */
  105. public function setUserId($userId)
  106. {
  107. $this->userId = $userId;
  108. return $this;
  109. }
  110. /**
  111. * Get userId
  112. *
  113. * @return integer
  114. */
  115. public function getUserId()
  116. {
  117. return $this->userId;
  118. }
  119. /**
  120. * Set forumId
  121. *
  122. * @param integer $forumId
  123. * @return EntityCForumNotification
  124. */
  125. public function setForumId($forumId)
  126. {
  127. $this->forumId = $forumId;
  128. return $this;
  129. }
  130. /**
  131. * Get forumId
  132. *
  133. * @return integer
  134. */
  135. public function getForumId()
  136. {
  137. return $this->forumId;
  138. }
  139. /**
  140. * Set threadId
  141. *
  142. * @param integer $threadId
  143. * @return EntityCForumNotification
  144. */
  145. public function setThreadId($threadId)
  146. {
  147. $this->threadId = $threadId;
  148. return $this;
  149. }
  150. /**
  151. * Get threadId
  152. *
  153. * @return integer
  154. */
  155. public function getThreadId()
  156. {
  157. return $this->threadId;
  158. }
  159. /**
  160. * Set postId
  161. *
  162. * @param integer $postId
  163. * @return EntityCForumNotification
  164. */
  165. public function setPostId($postId)
  166. {
  167. $this->postId = $postId;
  168. return $this;
  169. }
  170. /**
  171. * Get postId
  172. *
  173. * @return integer
  174. */
  175. public function getPostId()
  176. {
  177. return $this->postId;
  178. }
  179. }