wiki_discuss.class.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class WikiDiscuss extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\WikiDiscussRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\WikiDiscussRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\WikiDiscuss
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $c_id
  25. */
  26. protected $c_id;
  27. /**
  28. * @var integer $id
  29. */
  30. protected $id;
  31. /**
  32. * @var integer $publication_id
  33. */
  34. protected $publication_id;
  35. /**
  36. * @var integer $userc_id
  37. */
  38. protected $userc_id;
  39. /**
  40. * @var text $comment
  41. */
  42. protected $comment;
  43. /**
  44. * @var string $p_score
  45. */
  46. protected $p_score;
  47. /**
  48. * @var datetime $dtime
  49. */
  50. protected $dtime;
  51. /**
  52. * Set c_id
  53. *
  54. * @param integer $value
  55. * @return WikiDiscuss
  56. */
  57. public function set_c_id($value)
  58. {
  59. $this->c_id = $value;
  60. return $this;
  61. }
  62. /**
  63. * Get c_id
  64. *
  65. * @return integer
  66. */
  67. public function get_c_id()
  68. {
  69. return $this->c_id;
  70. }
  71. /**
  72. * Set id
  73. *
  74. * @param integer $value
  75. * @return WikiDiscuss
  76. */
  77. public function set_id($value)
  78. {
  79. $this->id = $value;
  80. return $this;
  81. }
  82. /**
  83. * Get id
  84. *
  85. * @return integer
  86. */
  87. public function get_id()
  88. {
  89. return $this->id;
  90. }
  91. /**
  92. * Set publication_id
  93. *
  94. * @param integer $value
  95. * @return WikiDiscuss
  96. */
  97. public function set_publication_id($value)
  98. {
  99. $this->publication_id = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get publication_id
  104. *
  105. * @return integer
  106. */
  107. public function get_publication_id()
  108. {
  109. return $this->publication_id;
  110. }
  111. /**
  112. * Set userc_id
  113. *
  114. * @param integer $value
  115. * @return WikiDiscuss
  116. */
  117. public function set_userc_id($value)
  118. {
  119. $this->userc_id = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get userc_id
  124. *
  125. * @return integer
  126. */
  127. public function get_userc_id()
  128. {
  129. return $this->userc_id;
  130. }
  131. /**
  132. * Set comment
  133. *
  134. * @param text $value
  135. * @return WikiDiscuss
  136. */
  137. public function set_comment($value)
  138. {
  139. $this->comment = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get comment
  144. *
  145. * @return text
  146. */
  147. public function get_comment()
  148. {
  149. return $this->comment;
  150. }
  151. /**
  152. * Set p_score
  153. *
  154. * @param string $value
  155. * @return WikiDiscuss
  156. */
  157. public function set_p_score($value)
  158. {
  159. $this->p_score = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get p_score
  164. *
  165. * @return string
  166. */
  167. public function get_p_score()
  168. {
  169. return $this->p_score;
  170. }
  171. /**
  172. * Set dtime
  173. *
  174. * @param datetime $value
  175. * @return WikiDiscuss
  176. */
  177. public function set_dtime($value)
  178. {
  179. $this->dtime = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get dtime
  184. *
  185. * @return datetime
  186. */
  187. public function get_dtime()
  188. {
  189. return $this->dtime;
  190. }
  191. }