forum_notification.class.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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 ForumNotification extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\ForumNotificationRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\ForumNotificationRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\ForumNotification
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $c_id
  29. */
  30. protected $c_id;
  31. /**
  32. * @var integer $user_id
  33. */
  34. protected $user_id;
  35. /**
  36. * @var integer $forum_id
  37. */
  38. protected $forum_id;
  39. /**
  40. * @var integer $thread_id
  41. */
  42. protected $thread_id;
  43. /**
  44. * @var integer $post_id
  45. */
  46. protected $post_id;
  47. /**
  48. * Set id
  49. *
  50. * @param integer $value
  51. * @return ForumNotification
  52. */
  53. public function set_id($value)
  54. {
  55. $this->id = $value;
  56. return $this;
  57. }
  58. /**
  59. * Get id
  60. *
  61. * @return integer
  62. */
  63. public function get_id()
  64. {
  65. return $this->id;
  66. }
  67. /**
  68. * Set c_id
  69. *
  70. * @param integer $value
  71. * @return ForumNotification
  72. */
  73. public function set_c_id($value)
  74. {
  75. $this->c_id = $value;
  76. return $this;
  77. }
  78. /**
  79. * Get c_id
  80. *
  81. * @return integer
  82. */
  83. public function get_c_id()
  84. {
  85. return $this->c_id;
  86. }
  87. /**
  88. * Set user_id
  89. *
  90. * @param integer $value
  91. * @return ForumNotification
  92. */
  93. public function set_user_id($value)
  94. {
  95. $this->user_id = $value;
  96. return $this;
  97. }
  98. /**
  99. * Get user_id
  100. *
  101. * @return integer
  102. */
  103. public function get_user_id()
  104. {
  105. return $this->user_id;
  106. }
  107. /**
  108. * Set forum_id
  109. *
  110. * @param integer $value
  111. * @return ForumNotification
  112. */
  113. public function set_forum_id($value)
  114. {
  115. $this->forum_id = $value;
  116. return $this;
  117. }
  118. /**
  119. * Get forum_id
  120. *
  121. * @return integer
  122. */
  123. public function get_forum_id()
  124. {
  125. return $this->forum_id;
  126. }
  127. /**
  128. * Set thread_id
  129. *
  130. * @param integer $value
  131. * @return ForumNotification
  132. */
  133. public function set_thread_id($value)
  134. {
  135. $this->thread_id = $value;
  136. return $this;
  137. }
  138. /**
  139. * Get thread_id
  140. *
  141. * @return integer
  142. */
  143. public function get_thread_id()
  144. {
  145. return $this->thread_id;
  146. }
  147. /**
  148. * Set post_id
  149. *
  150. * @param integer $value
  151. * @return ForumNotification
  152. */
  153. public function set_post_id($value)
  154. {
  155. $this->post_id = $value;
  156. return $this;
  157. }
  158. /**
  159. * Get post_id
  160. *
  161. * @return integer
  162. */
  163. public function get_post_id()
  164. {
  165. return $this->post_id;
  166. }
  167. }