track_e_attempt.class.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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 TrackEAttempt extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\TrackEAttemptRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\TrackEAttemptRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\TrackEAttempt
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $exe_id
  29. */
  30. protected $exe_id;
  31. /**
  32. * @var integer $user_id
  33. */
  34. protected $user_id;
  35. /**
  36. * @var integer $question_id
  37. */
  38. protected $question_id;
  39. /**
  40. * @var text $answer
  41. */
  42. protected $answer;
  43. /**
  44. * @var text $teacher_comment
  45. */
  46. protected $teacher_comment;
  47. /**
  48. * @var float $marks
  49. */
  50. protected $marks;
  51. /**
  52. * @var string $course_code
  53. */
  54. protected $course_code;
  55. /**
  56. * @var integer $position
  57. */
  58. protected $position;
  59. /**
  60. * @var datetime $tms
  61. */
  62. protected $tms;
  63. /**
  64. * @var integer $session_id
  65. */
  66. protected $session_id;
  67. /**
  68. * @var string $filename
  69. */
  70. protected $filename;
  71. /**
  72. * Get id
  73. *
  74. * @return integer
  75. */
  76. public function get_id()
  77. {
  78. return $this->id;
  79. }
  80. /**
  81. * Set exe_id
  82. *
  83. * @param integer $value
  84. * @return TrackEAttempt
  85. */
  86. public function set_exe_id($value)
  87. {
  88. $this->exe_id = $value;
  89. return $this;
  90. }
  91. /**
  92. * Get exe_id
  93. *
  94. * @return integer
  95. */
  96. public function get_exe_id()
  97. {
  98. return $this->exe_id;
  99. }
  100. /**
  101. * Set user_id
  102. *
  103. * @param integer $value
  104. * @return TrackEAttempt
  105. */
  106. public function set_user_id($value)
  107. {
  108. $this->user_id = $value;
  109. return $this;
  110. }
  111. /**
  112. * Get user_id
  113. *
  114. * @return integer
  115. */
  116. public function get_user_id()
  117. {
  118. return $this->user_id;
  119. }
  120. /**
  121. * Set question_id
  122. *
  123. * @param integer $value
  124. * @return TrackEAttempt
  125. */
  126. public function set_question_id($value)
  127. {
  128. $this->question_id = $value;
  129. return $this;
  130. }
  131. /**
  132. * Get question_id
  133. *
  134. * @return integer
  135. */
  136. public function get_question_id()
  137. {
  138. return $this->question_id;
  139. }
  140. /**
  141. * Set answer
  142. *
  143. * @param text $value
  144. * @return TrackEAttempt
  145. */
  146. public function set_answer($value)
  147. {
  148. $this->answer = $value;
  149. return $this;
  150. }
  151. /**
  152. * Get answer
  153. *
  154. * @return text
  155. */
  156. public function get_answer()
  157. {
  158. return $this->answer;
  159. }
  160. /**
  161. * Set teacher_comment
  162. *
  163. * @param text $value
  164. * @return TrackEAttempt
  165. */
  166. public function set_teacher_comment($value)
  167. {
  168. $this->teacher_comment = $value;
  169. return $this;
  170. }
  171. /**
  172. * Get teacher_comment
  173. *
  174. * @return text
  175. */
  176. public function get_teacher_comment()
  177. {
  178. return $this->teacher_comment;
  179. }
  180. /**
  181. * Set marks
  182. *
  183. * @param float $value
  184. * @return TrackEAttempt
  185. */
  186. public function set_marks($value)
  187. {
  188. $this->marks = $value;
  189. return $this;
  190. }
  191. /**
  192. * Get marks
  193. *
  194. * @return float
  195. */
  196. public function get_marks()
  197. {
  198. return $this->marks;
  199. }
  200. /**
  201. * Set course_code
  202. *
  203. * @param string $value
  204. * @return TrackEAttempt
  205. */
  206. public function set_course_code($value)
  207. {
  208. $this->course_code = $value;
  209. return $this;
  210. }
  211. /**
  212. * Get course_code
  213. *
  214. * @return string
  215. */
  216. public function get_course_code()
  217. {
  218. return $this->course_code;
  219. }
  220. /**
  221. * Set position
  222. *
  223. * @param integer $value
  224. * @return TrackEAttempt
  225. */
  226. public function set_position($value)
  227. {
  228. $this->position = $value;
  229. return $this;
  230. }
  231. /**
  232. * Get position
  233. *
  234. * @return integer
  235. */
  236. public function get_position()
  237. {
  238. return $this->position;
  239. }
  240. /**
  241. * Set tms
  242. *
  243. * @param datetime $value
  244. * @return TrackEAttempt
  245. */
  246. public function set_tms($value)
  247. {
  248. $this->tms = $value;
  249. return $this;
  250. }
  251. /**
  252. * Get tms
  253. *
  254. * @return datetime
  255. */
  256. public function get_tms()
  257. {
  258. return $this->tms;
  259. }
  260. /**
  261. * Set session_id
  262. *
  263. * @param integer $value
  264. * @return TrackEAttempt
  265. */
  266. public function set_session_id($value)
  267. {
  268. $this->session_id = $value;
  269. return $this;
  270. }
  271. /**
  272. * Get session_id
  273. *
  274. * @return integer
  275. */
  276. public function get_session_id()
  277. {
  278. return $this->session_id;
  279. }
  280. /**
  281. * Set filename
  282. *
  283. * @param string $value
  284. * @return TrackEAttempt
  285. */
  286. public function set_filename($value)
  287. {
  288. $this->filename = $value;
  289. return $this;
  290. }
  291. /**
  292. * Get filename
  293. *
  294. * @return string
  295. */
  296. public function get_filename()
  297. {
  298. return $this->filename;
  299. }
  300. }