lp_view.class.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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 LpView extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\LpViewRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LpViewRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\LpView
  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 $lp_id
  33. */
  34. protected $lp_id;
  35. /**
  36. * @var integer $user_id
  37. */
  38. protected $user_id;
  39. /**
  40. * @var integer $view_count
  41. */
  42. protected $view_count;
  43. /**
  44. * @var integer $last_item
  45. */
  46. protected $last_item;
  47. /**
  48. * @var integer $progress
  49. */
  50. protected $progress;
  51. /**
  52. * @var integer $session_id
  53. */
  54. protected $session_id;
  55. /**
  56. * Set c_id
  57. *
  58. * @param integer $value
  59. * @return LpView
  60. */
  61. public function set_c_id($value)
  62. {
  63. $this->c_id = $value;
  64. return $this;
  65. }
  66. /**
  67. * Get c_id
  68. *
  69. * @return integer
  70. */
  71. public function get_c_id()
  72. {
  73. return $this->c_id;
  74. }
  75. /**
  76. * Set id
  77. *
  78. * @param integer $value
  79. * @return LpView
  80. */
  81. public function set_id($value)
  82. {
  83. $this->id = $value;
  84. return $this;
  85. }
  86. /**
  87. * Get id
  88. *
  89. * @return integer
  90. */
  91. public function get_id()
  92. {
  93. return $this->id;
  94. }
  95. /**
  96. * Set lp_id
  97. *
  98. * @param integer $value
  99. * @return LpView
  100. */
  101. public function set_lp_id($value)
  102. {
  103. $this->lp_id = $value;
  104. return $this;
  105. }
  106. /**
  107. * Get lp_id
  108. *
  109. * @return integer
  110. */
  111. public function get_lp_id()
  112. {
  113. return $this->lp_id;
  114. }
  115. /**
  116. * Set user_id
  117. *
  118. * @param integer $value
  119. * @return LpView
  120. */
  121. public function set_user_id($value)
  122. {
  123. $this->user_id = $value;
  124. return $this;
  125. }
  126. /**
  127. * Get user_id
  128. *
  129. * @return integer
  130. */
  131. public function get_user_id()
  132. {
  133. return $this->user_id;
  134. }
  135. /**
  136. * Set view_count
  137. *
  138. * @param integer $value
  139. * @return LpView
  140. */
  141. public function set_view_count($value)
  142. {
  143. $this->view_count = $value;
  144. return $this;
  145. }
  146. /**
  147. * Get view_count
  148. *
  149. * @return integer
  150. */
  151. public function get_view_count()
  152. {
  153. return $this->view_count;
  154. }
  155. /**
  156. * Set last_item
  157. *
  158. * @param integer $value
  159. * @return LpView
  160. */
  161. public function set_last_item($value)
  162. {
  163. $this->last_item = $value;
  164. return $this;
  165. }
  166. /**
  167. * Get last_item
  168. *
  169. * @return integer
  170. */
  171. public function get_last_item()
  172. {
  173. return $this->last_item;
  174. }
  175. /**
  176. * Set progress
  177. *
  178. * @param integer $value
  179. * @return LpView
  180. */
  181. public function set_progress($value)
  182. {
  183. $this->progress = $value;
  184. return $this;
  185. }
  186. /**
  187. * Get progress
  188. *
  189. * @return integer
  190. */
  191. public function get_progress()
  192. {
  193. return $this->progress;
  194. }
  195. /**
  196. * Set session_id
  197. *
  198. * @param integer $value
  199. * @return LpView
  200. */
  201. public function set_session_id($value)
  202. {
  203. $this->session_id = $value;
  204. return $this;
  205. }
  206. /**
  207. * Get session_id
  208. *
  209. * @return integer
  210. */
  211. public function get_session_id()
  212. {
  213. return $this->session_id;
  214. }
  215. }