EntityTrackEAttempt.php 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityTrackEAttempt
  5. *
  6. * @Table(name="track_e_attempt")
  7. * @Entity
  8. */
  9. class EntityTrackEAttempt
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="IDENTITY")
  17. */
  18. private $id;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="exe_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  23. */
  24. private $exeId;
  25. /**
  26. * @var integer
  27. *
  28. * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  29. */
  30. private $userId;
  31. /**
  32. * @var integer
  33. *
  34. * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  35. */
  36. private $questionId;
  37. /**
  38. * @var string
  39. *
  40. * @Column(name="answer", type="text", precision=0, scale=0, nullable=false, unique=false)
  41. */
  42. private $answer;
  43. /**
  44. * @var string
  45. *
  46. * @Column(name="teacher_comment", type="text", precision=0, scale=0, nullable=false, unique=false)
  47. */
  48. private $teacherComment;
  49. /**
  50. * @var float
  51. *
  52. * @Column(name="marks", type="float", precision=0, scale=0, nullable=false, unique=false)
  53. */
  54. private $marks;
  55. /**
  56. * @var string
  57. *
  58. * @Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
  59. */
  60. private $courseCode;
  61. /**
  62. * @var integer
  63. *
  64. * @Column(name="position", type="integer", precision=0, scale=0, nullable=true, unique=false)
  65. */
  66. private $position;
  67. /**
  68. * @var \DateTime
  69. *
  70. * @Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  71. */
  72. private $tms;
  73. /**
  74. * @var integer
  75. *
  76. * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  77. */
  78. private $sessionId;
  79. /**
  80. * @var string
  81. *
  82. * @Column(name="filename", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  83. */
  84. private $filename;
  85. /**
  86. * Get id
  87. *
  88. * @return integer
  89. */
  90. public function getId()
  91. {
  92. return $this->id;
  93. }
  94. /**
  95. * Set exeId
  96. *
  97. * @param integer $exeId
  98. * @return EntityTrackEAttempt
  99. */
  100. public function setExeId($exeId)
  101. {
  102. $this->exeId = $exeId;
  103. return $this;
  104. }
  105. /**
  106. * Get exeId
  107. *
  108. * @return integer
  109. */
  110. public function getExeId()
  111. {
  112. return $this->exeId;
  113. }
  114. /**
  115. * Set userId
  116. *
  117. * @param integer $userId
  118. * @return EntityTrackEAttempt
  119. */
  120. public function setUserId($userId)
  121. {
  122. $this->userId = $userId;
  123. return $this;
  124. }
  125. /**
  126. * Get userId
  127. *
  128. * @return integer
  129. */
  130. public function getUserId()
  131. {
  132. return $this->userId;
  133. }
  134. /**
  135. * Set questionId
  136. *
  137. * @param integer $questionId
  138. * @return EntityTrackEAttempt
  139. */
  140. public function setQuestionId($questionId)
  141. {
  142. $this->questionId = $questionId;
  143. return $this;
  144. }
  145. /**
  146. * Get questionId
  147. *
  148. * @return integer
  149. */
  150. public function getQuestionId()
  151. {
  152. return $this->questionId;
  153. }
  154. /**
  155. * Set answer
  156. *
  157. * @param string $answer
  158. * @return EntityTrackEAttempt
  159. */
  160. public function setAnswer($answer)
  161. {
  162. $this->answer = $answer;
  163. return $this;
  164. }
  165. /**
  166. * Get answer
  167. *
  168. * @return string
  169. */
  170. public function getAnswer()
  171. {
  172. return $this->answer;
  173. }
  174. /**
  175. * Set teacherComment
  176. *
  177. * @param string $teacherComment
  178. * @return EntityTrackEAttempt
  179. */
  180. public function setTeacherComment($teacherComment)
  181. {
  182. $this->teacherComment = $teacherComment;
  183. return $this;
  184. }
  185. /**
  186. * Get teacherComment
  187. *
  188. * @return string
  189. */
  190. public function getTeacherComment()
  191. {
  192. return $this->teacherComment;
  193. }
  194. /**
  195. * Set marks
  196. *
  197. * @param float $marks
  198. * @return EntityTrackEAttempt
  199. */
  200. public function setMarks($marks)
  201. {
  202. $this->marks = $marks;
  203. return $this;
  204. }
  205. /**
  206. * Get marks
  207. *
  208. * @return float
  209. */
  210. public function getMarks()
  211. {
  212. return $this->marks;
  213. }
  214. /**
  215. * Set courseCode
  216. *
  217. * @param string $courseCode
  218. * @return EntityTrackEAttempt
  219. */
  220. public function setCourseCode($courseCode)
  221. {
  222. $this->courseCode = $courseCode;
  223. return $this;
  224. }
  225. /**
  226. * Get courseCode
  227. *
  228. * @return string
  229. */
  230. public function getCourseCode()
  231. {
  232. return $this->courseCode;
  233. }
  234. /**
  235. * Set position
  236. *
  237. * @param integer $position
  238. * @return EntityTrackEAttempt
  239. */
  240. public function setPosition($position)
  241. {
  242. $this->position = $position;
  243. return $this;
  244. }
  245. /**
  246. * Get position
  247. *
  248. * @return integer
  249. */
  250. public function getPosition()
  251. {
  252. return $this->position;
  253. }
  254. /**
  255. * Set tms
  256. *
  257. * @param \DateTime $tms
  258. * @return EntityTrackEAttempt
  259. */
  260. public function setTms($tms)
  261. {
  262. $this->tms = $tms;
  263. return $this;
  264. }
  265. /**
  266. * Get tms
  267. *
  268. * @return \DateTime
  269. */
  270. public function getTms()
  271. {
  272. return $this->tms;
  273. }
  274. /**
  275. * Set sessionId
  276. *
  277. * @param integer $sessionId
  278. * @return EntityTrackEAttempt
  279. */
  280. public function setSessionId($sessionId)
  281. {
  282. $this->sessionId = $sessionId;
  283. return $this;
  284. }
  285. /**
  286. * Get sessionId
  287. *
  288. * @return integer
  289. */
  290. public function getSessionId()
  291. {
  292. return $this->sessionId;
  293. }
  294. /**
  295. * Set filename
  296. *
  297. * @param string $filename
  298. * @return EntityTrackEAttempt
  299. */
  300. public function setFilename($filename)
  301. {
  302. $this->filename = $filename;
  303. return $this;
  304. }
  305. /**
  306. * Get filename
  307. *
  308. * @return string
  309. */
  310. public function getFilename()
  311. {
  312. return $this->filename;
  313. }
  314. }