forum_thread.class.php 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  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 ForumThread extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\ForumThreadRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\ForumThreadRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\ForumThread
  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 $thread_id
  29. */
  30. protected $thread_id;
  31. /**
  32. * @var string $thread_title
  33. */
  34. protected $thread_title;
  35. /**
  36. * @var integer $forum_id
  37. */
  38. protected $forum_id;
  39. /**
  40. * @var integer $thread_replies
  41. */
  42. protected $thread_replies;
  43. /**
  44. * @var integer $thread_poster_id
  45. */
  46. protected $thread_poster_id;
  47. /**
  48. * @var string $thread_poster_name
  49. */
  50. protected $thread_poster_name;
  51. /**
  52. * @var integer $thread_views
  53. */
  54. protected $thread_views;
  55. /**
  56. * @var integer $thread_last_post
  57. */
  58. protected $thread_last_post;
  59. /**
  60. * @var datetime $thread_date
  61. */
  62. protected $thread_date;
  63. /**
  64. * @var boolean $thread_sticky
  65. */
  66. protected $thread_sticky;
  67. /**
  68. * @var integer $locked
  69. */
  70. protected $locked;
  71. /**
  72. * @var integer $session_id
  73. */
  74. protected $session_id;
  75. /**
  76. * @var string $thread_title_qualify
  77. */
  78. protected $thread_title_qualify;
  79. /**
  80. * @var float $thread_qualify_max
  81. */
  82. protected $thread_qualify_max;
  83. /**
  84. * @var datetime $thread_close_date
  85. */
  86. protected $thread_close_date;
  87. /**
  88. * @var float $thread_weight
  89. */
  90. protected $thread_weight;
  91. /**
  92. * Set c_id
  93. *
  94. * @param integer $value
  95. * @return ForumThread
  96. */
  97. public function set_c_id($value)
  98. {
  99. $this->c_id = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get c_id
  104. *
  105. * @return integer
  106. */
  107. public function get_c_id()
  108. {
  109. return $this->c_id;
  110. }
  111. /**
  112. * Set thread_id
  113. *
  114. * @param integer $value
  115. * @return ForumThread
  116. */
  117. public function set_thread_id($value)
  118. {
  119. $this->thread_id = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get thread_id
  124. *
  125. * @return integer
  126. */
  127. public function get_thread_id()
  128. {
  129. return $this->thread_id;
  130. }
  131. /**
  132. * Set thread_title
  133. *
  134. * @param string $value
  135. * @return ForumThread
  136. */
  137. public function set_thread_title($value)
  138. {
  139. $this->thread_title = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get thread_title
  144. *
  145. * @return string
  146. */
  147. public function get_thread_title()
  148. {
  149. return $this->thread_title;
  150. }
  151. /**
  152. * Set forum_id
  153. *
  154. * @param integer $value
  155. * @return ForumThread
  156. */
  157. public function set_forum_id($value)
  158. {
  159. $this->forum_id = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get forum_id
  164. *
  165. * @return integer
  166. */
  167. public function get_forum_id()
  168. {
  169. return $this->forum_id;
  170. }
  171. /**
  172. * Set thread_replies
  173. *
  174. * @param integer $value
  175. * @return ForumThread
  176. */
  177. public function set_thread_replies($value)
  178. {
  179. $this->thread_replies = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get thread_replies
  184. *
  185. * @return integer
  186. */
  187. public function get_thread_replies()
  188. {
  189. return $this->thread_replies;
  190. }
  191. /**
  192. * Set thread_poster_id
  193. *
  194. * @param integer $value
  195. * @return ForumThread
  196. */
  197. public function set_thread_poster_id($value)
  198. {
  199. $this->thread_poster_id = $value;
  200. return $this;
  201. }
  202. /**
  203. * Get thread_poster_id
  204. *
  205. * @return integer
  206. */
  207. public function get_thread_poster_id()
  208. {
  209. return $this->thread_poster_id;
  210. }
  211. /**
  212. * Set thread_poster_name
  213. *
  214. * @param string $value
  215. * @return ForumThread
  216. */
  217. public function set_thread_poster_name($value)
  218. {
  219. $this->thread_poster_name = $value;
  220. return $this;
  221. }
  222. /**
  223. * Get thread_poster_name
  224. *
  225. * @return string
  226. */
  227. public function get_thread_poster_name()
  228. {
  229. return $this->thread_poster_name;
  230. }
  231. /**
  232. * Set thread_views
  233. *
  234. * @param integer $value
  235. * @return ForumThread
  236. */
  237. public function set_thread_views($value)
  238. {
  239. $this->thread_views = $value;
  240. return $this;
  241. }
  242. /**
  243. * Get thread_views
  244. *
  245. * @return integer
  246. */
  247. public function get_thread_views()
  248. {
  249. return $this->thread_views;
  250. }
  251. /**
  252. * Set thread_last_post
  253. *
  254. * @param integer $value
  255. * @return ForumThread
  256. */
  257. public function set_thread_last_post($value)
  258. {
  259. $this->thread_last_post = $value;
  260. return $this;
  261. }
  262. /**
  263. * Get thread_last_post
  264. *
  265. * @return integer
  266. */
  267. public function get_thread_last_post()
  268. {
  269. return $this->thread_last_post;
  270. }
  271. /**
  272. * Set thread_date
  273. *
  274. * @param datetime $value
  275. * @return ForumThread
  276. */
  277. public function set_thread_date($value)
  278. {
  279. $this->thread_date = $value;
  280. return $this;
  281. }
  282. /**
  283. * Get thread_date
  284. *
  285. * @return datetime
  286. */
  287. public function get_thread_date()
  288. {
  289. return $this->thread_date;
  290. }
  291. /**
  292. * Set thread_sticky
  293. *
  294. * @param boolean $value
  295. * @return ForumThread
  296. */
  297. public function set_thread_sticky($value)
  298. {
  299. $this->thread_sticky = $value;
  300. return $this;
  301. }
  302. /**
  303. * Get thread_sticky
  304. *
  305. * @return boolean
  306. */
  307. public function get_thread_sticky()
  308. {
  309. return $this->thread_sticky;
  310. }
  311. /**
  312. * Set locked
  313. *
  314. * @param integer $value
  315. * @return ForumThread
  316. */
  317. public function set_locked($value)
  318. {
  319. $this->locked = $value;
  320. return $this;
  321. }
  322. /**
  323. * Get locked
  324. *
  325. * @return integer
  326. */
  327. public function get_locked()
  328. {
  329. return $this->locked;
  330. }
  331. /**
  332. * Set session_id
  333. *
  334. * @param integer $value
  335. * @return ForumThread
  336. */
  337. public function set_session_id($value)
  338. {
  339. $this->session_id = $value;
  340. return $this;
  341. }
  342. /**
  343. * Get session_id
  344. *
  345. * @return integer
  346. */
  347. public function get_session_id()
  348. {
  349. return $this->session_id;
  350. }
  351. /**
  352. * Set thread_title_qualify
  353. *
  354. * @param string $value
  355. * @return ForumThread
  356. */
  357. public function set_thread_title_qualify($value)
  358. {
  359. $this->thread_title_qualify = $value;
  360. return $this;
  361. }
  362. /**
  363. * Get thread_title_qualify
  364. *
  365. * @return string
  366. */
  367. public function get_thread_title_qualify()
  368. {
  369. return $this->thread_title_qualify;
  370. }
  371. /**
  372. * Set thread_qualify_max
  373. *
  374. * @param float $value
  375. * @return ForumThread
  376. */
  377. public function set_thread_qualify_max($value)
  378. {
  379. $this->thread_qualify_max = $value;
  380. return $this;
  381. }
  382. /**
  383. * Get thread_qualify_max
  384. *
  385. * @return float
  386. */
  387. public function get_thread_qualify_max()
  388. {
  389. return $this->thread_qualify_max;
  390. }
  391. /**
  392. * Set thread_close_date
  393. *
  394. * @param datetime $value
  395. * @return ForumThread
  396. */
  397. public function set_thread_close_date($value)
  398. {
  399. $this->thread_close_date = $value;
  400. return $this;
  401. }
  402. /**
  403. * Get thread_close_date
  404. *
  405. * @return datetime
  406. */
  407. public function get_thread_close_date()
  408. {
  409. return $this->thread_close_date;
  410. }
  411. /**
  412. * Set thread_weight
  413. *
  414. * @param float $value
  415. * @return ForumThread
  416. */
  417. public function set_thread_weight($value)
  418. {
  419. $this->thread_weight = $value;
  420. return $this;
  421. }
  422. /**
  423. * Get thread_weight
  424. *
  425. * @return float
  426. */
  427. public function get_thread_weight()
  428. {
  429. return $this->thread_weight;
  430. }
  431. }