lp_item_view.class.php 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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 LpItemView extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\LpItemViewRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LpItemViewRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\LpItemView
  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 bigint $id
  29. */
  30. protected $id;
  31. /**
  32. * @var integer $lp_item_id
  33. */
  34. protected $lp_item_id;
  35. /**
  36. * @var integer $lp_view_id
  37. */
  38. protected $lp_view_id;
  39. /**
  40. * @var integer $view_count
  41. */
  42. protected $view_count;
  43. /**
  44. * @var integer $start_time
  45. */
  46. protected $start_time;
  47. /**
  48. * @var integer $total_time
  49. */
  50. protected $total_time;
  51. /**
  52. * @var float $score
  53. */
  54. protected $score;
  55. /**
  56. * @var string $status
  57. */
  58. protected $status;
  59. /**
  60. * @var text $suspend_data
  61. */
  62. protected $suspend_data;
  63. /**
  64. * @var text $lesson_location
  65. */
  66. protected $lesson_location;
  67. /**
  68. * @var string $core_exit
  69. */
  70. protected $core_exit;
  71. /**
  72. * @var string $max_score
  73. */
  74. protected $max_score;
  75. /**
  76. * Set c_id
  77. *
  78. * @param integer $value
  79. * @return LpItemView
  80. */
  81. public function set_c_id($value)
  82. {
  83. $this->c_id = $value;
  84. return $this;
  85. }
  86. /**
  87. * Get c_id
  88. *
  89. * @return integer
  90. */
  91. public function get_c_id()
  92. {
  93. return $this->c_id;
  94. }
  95. /**
  96. * Set id
  97. *
  98. * @param bigint $value
  99. * @return LpItemView
  100. */
  101. public function set_id($value)
  102. {
  103. $this->id = $value;
  104. return $this;
  105. }
  106. /**
  107. * Get id
  108. *
  109. * @return bigint
  110. */
  111. public function get_id()
  112. {
  113. return $this->id;
  114. }
  115. /**
  116. * Set lp_item_id
  117. *
  118. * @param integer $value
  119. * @return LpItemView
  120. */
  121. public function set_lp_item_id($value)
  122. {
  123. $this->lp_item_id = $value;
  124. return $this;
  125. }
  126. /**
  127. * Get lp_item_id
  128. *
  129. * @return integer
  130. */
  131. public function get_lp_item_id()
  132. {
  133. return $this->lp_item_id;
  134. }
  135. /**
  136. * Set lp_view_id
  137. *
  138. * @param integer $value
  139. * @return LpItemView
  140. */
  141. public function set_lp_view_id($value)
  142. {
  143. $this->lp_view_id = $value;
  144. return $this;
  145. }
  146. /**
  147. * Get lp_view_id
  148. *
  149. * @return integer
  150. */
  151. public function get_lp_view_id()
  152. {
  153. return $this->lp_view_id;
  154. }
  155. /**
  156. * Set view_count
  157. *
  158. * @param integer $value
  159. * @return LpItemView
  160. */
  161. public function set_view_count($value)
  162. {
  163. $this->view_count = $value;
  164. return $this;
  165. }
  166. /**
  167. * Get view_count
  168. *
  169. * @return integer
  170. */
  171. public function get_view_count()
  172. {
  173. return $this->view_count;
  174. }
  175. /**
  176. * Set start_time
  177. *
  178. * @param integer $value
  179. * @return LpItemView
  180. */
  181. public function set_start_time($value)
  182. {
  183. $this->start_time = $value;
  184. return $this;
  185. }
  186. /**
  187. * Get start_time
  188. *
  189. * @return integer
  190. */
  191. public function get_start_time()
  192. {
  193. return $this->start_time;
  194. }
  195. /**
  196. * Set total_time
  197. *
  198. * @param integer $value
  199. * @return LpItemView
  200. */
  201. public function set_total_time($value)
  202. {
  203. $this->total_time = $value;
  204. return $this;
  205. }
  206. /**
  207. * Get total_time
  208. *
  209. * @return integer
  210. */
  211. public function get_total_time()
  212. {
  213. return $this->total_time;
  214. }
  215. /**
  216. * Set score
  217. *
  218. * @param float $value
  219. * @return LpItemView
  220. */
  221. public function set_score($value)
  222. {
  223. $this->score = $value;
  224. return $this;
  225. }
  226. /**
  227. * Get score
  228. *
  229. * @return float
  230. */
  231. public function get_score()
  232. {
  233. return $this->score;
  234. }
  235. /**
  236. * Set status
  237. *
  238. * @param string $value
  239. * @return LpItemView
  240. */
  241. public function set_status($value)
  242. {
  243. $this->status = $value;
  244. return $this;
  245. }
  246. /**
  247. * Get status
  248. *
  249. * @return string
  250. */
  251. public function get_status()
  252. {
  253. return $this->status;
  254. }
  255. /**
  256. * Set suspend_data
  257. *
  258. * @param text $value
  259. * @return LpItemView
  260. */
  261. public function set_suspend_data($value)
  262. {
  263. $this->suspend_data = $value;
  264. return $this;
  265. }
  266. /**
  267. * Get suspend_data
  268. *
  269. * @return text
  270. */
  271. public function get_suspend_data()
  272. {
  273. return $this->suspend_data;
  274. }
  275. /**
  276. * Set lesson_location
  277. *
  278. * @param text $value
  279. * @return LpItemView
  280. */
  281. public function set_lesson_location($value)
  282. {
  283. $this->lesson_location = $value;
  284. return $this;
  285. }
  286. /**
  287. * Get lesson_location
  288. *
  289. * @return text
  290. */
  291. public function get_lesson_location()
  292. {
  293. return $this->lesson_location;
  294. }
  295. /**
  296. * Set core_exit
  297. *
  298. * @param string $value
  299. * @return LpItemView
  300. */
  301. public function set_core_exit($value)
  302. {
  303. $this->core_exit = $value;
  304. return $this;
  305. }
  306. /**
  307. * Get core_exit
  308. *
  309. * @return string
  310. */
  311. public function get_core_exit()
  312. {
  313. return $this->core_exit;
  314. }
  315. /**
  316. * Set max_score
  317. *
  318. * @param string $value
  319. * @return LpItemView
  320. */
  321. public function set_max_score($value)
  322. {
  323. $this->max_score = $value;
  324. return $this;
  325. }
  326. /**
  327. * Get max_score
  328. *
  329. * @return string
  330. */
  331. public function get_max_score()
  332. {
  333. return $this->max_score;
  334. }
  335. }