EntityCWikiDiscuss.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCWikiDiscuss
  5. *
  6. * @Table(name="c_wiki_discuss")
  7. * @Entity
  8. */
  9. class EntityCWikiDiscuss
  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 integer
  29. *
  30. * @Column(name="publication_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $publicationId;
  33. /**
  34. * @var integer
  35. *
  36. * @Column(name="userc_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  37. */
  38. private $usercId;
  39. /**
  40. * @var string
  41. *
  42. * @Column(name="comment", type="text", precision=0, scale=0, nullable=false, unique=false)
  43. */
  44. private $comment;
  45. /**
  46. * @var string
  47. *
  48. * @Column(name="p_score", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  49. */
  50. private $pScore;
  51. /**
  52. * @var \DateTime
  53. *
  54. * @Column(name="dtime", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  55. */
  56. private $dtime;
  57. /**
  58. * Set cId
  59. *
  60. * @param integer $cId
  61. * @return EntityCWikiDiscuss
  62. */
  63. public function setCId($cId)
  64. {
  65. $this->cId = $cId;
  66. return $this;
  67. }
  68. /**
  69. * Get cId
  70. *
  71. * @return integer
  72. */
  73. public function getCId()
  74. {
  75. return $this->cId;
  76. }
  77. /**
  78. * Set id
  79. *
  80. * @param integer $id
  81. * @return EntityCWikiDiscuss
  82. */
  83. public function setId($id)
  84. {
  85. $this->id = $id;
  86. return $this;
  87. }
  88. /**
  89. * Get id
  90. *
  91. * @return integer
  92. */
  93. public function getId()
  94. {
  95. return $this->id;
  96. }
  97. /**
  98. * Set publicationId
  99. *
  100. * @param integer $publicationId
  101. * @return EntityCWikiDiscuss
  102. */
  103. public function setPublicationId($publicationId)
  104. {
  105. $this->publicationId = $publicationId;
  106. return $this;
  107. }
  108. /**
  109. * Get publicationId
  110. *
  111. * @return integer
  112. */
  113. public function getPublicationId()
  114. {
  115. return $this->publicationId;
  116. }
  117. /**
  118. * Set usercId
  119. *
  120. * @param integer $usercId
  121. * @return EntityCWikiDiscuss
  122. */
  123. public function setUsercId($usercId)
  124. {
  125. $this->usercId = $usercId;
  126. return $this;
  127. }
  128. /**
  129. * Get usercId
  130. *
  131. * @return integer
  132. */
  133. public function getUsercId()
  134. {
  135. return $this->usercId;
  136. }
  137. /**
  138. * Set comment
  139. *
  140. * @param string $comment
  141. * @return EntityCWikiDiscuss
  142. */
  143. public function setComment($comment)
  144. {
  145. $this->comment = $comment;
  146. return $this;
  147. }
  148. /**
  149. * Get comment
  150. *
  151. * @return string
  152. */
  153. public function getComment()
  154. {
  155. return $this->comment;
  156. }
  157. /**
  158. * Set pScore
  159. *
  160. * @param string $pScore
  161. * @return EntityCWikiDiscuss
  162. */
  163. public function setPScore($pScore)
  164. {
  165. $this->pScore = $pScore;
  166. return $this;
  167. }
  168. /**
  169. * Get pScore
  170. *
  171. * @return string
  172. */
  173. public function getPScore()
  174. {
  175. return $this->pScore;
  176. }
  177. /**
  178. * Set dtime
  179. *
  180. * @param \DateTime $dtime
  181. * @return EntityCWikiDiscuss
  182. */
  183. public function setDtime($dtime)
  184. {
  185. $this->dtime = $dtime;
  186. return $this;
  187. }
  188. /**
  189. * Get dtime
  190. *
  191. * @return \DateTime
  192. */
  193. public function getDtime()
  194. {
  195. return $this->dtime;
  196. }
  197. }