TrackExerciseAttemptJury.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * TrackExerciseAttemptJury
  6. *
  7. * @ORM\Table(name="track_attempt_jury")
  8. * @ORM\Entity
  9. */
  10. class TrackExerciseAttemptJury
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var integer
  22. *
  23. * @ORM\Column(name="exe_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  24. */
  25. private $exeId;
  26. /**
  27. * @var integer
  28. *
  29. * @ORM\Column(name="question_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  30. */
  31. private $questionId;
  32. /**
  33. * @var float
  34. *
  35. * @ORM\Column(name="score", type="float", precision=0, scale=0, nullable=true, unique=false)
  36. */
  37. private $score;
  38. /**
  39. * @var integer
  40. *
  41. * @ORM\Column(name="jury_user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  42. */
  43. private $juryUserId;
  44. /**
  45. * @var integer
  46. *
  47. * @ORM\Column(name="question_score_name_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  48. */
  49. private $questionScoreNameId;
  50. /**
  51. * @ORM\ManyToOne(targetEntity="TrackExercise")
  52. * @ORM\JoinColumn(name="exe_id", referencedColumnName="exe_id")
  53. */
  54. private $attempt;
  55. /**
  56. * @return TrackExercise
  57. */
  58. public function getAttempt()
  59. {
  60. return $this->attempt;
  61. }
  62. /**
  63. * @param TrackExercise $attempt
  64. */
  65. public function setAttempt(TrackExercise $attempt)
  66. {
  67. $this->attempt = $attempt;
  68. }
  69. /**
  70. * Get id
  71. *
  72. * @return integer
  73. */
  74. public function getId()
  75. {
  76. return $this->id;
  77. }
  78. /**
  79. * Set exeId
  80. *
  81. * @param integer $exeId
  82. * @return TrackExerciseAttemptJury
  83. */
  84. public function setExeId($exeId)
  85. {
  86. $this->exeId = $exeId;
  87. return $this;
  88. }
  89. /**
  90. * Get exeId
  91. *
  92. * @return integer
  93. */
  94. public function getExeId()
  95. {
  96. return $this->exeId;
  97. }
  98. /**
  99. * Set questionId
  100. *
  101. * @param integer $questionId
  102. * @return TrackExerciseAttemptJury
  103. */
  104. public function setQuestionId($questionId)
  105. {
  106. $this->questionId = $questionId;
  107. return $this;
  108. }
  109. /**
  110. * Get questionId
  111. *
  112. * @return integer
  113. */
  114. public function getQuestionId()
  115. {
  116. return $this->questionId;
  117. }
  118. /**
  119. * Set score
  120. *
  121. * @param float $score
  122. * @return TrackExerciseAttemptJury
  123. */
  124. public function setScore($score)
  125. {
  126. $this->score = $score;
  127. return $this;
  128. }
  129. /**
  130. * Get score
  131. *
  132. * @return float
  133. */
  134. public function getScore()
  135. {
  136. return $this->score;
  137. }
  138. /**
  139. * Set juryMemberId
  140. *
  141. * @param integer $juryUserId
  142. * @return TrackExerciseAttemptJury
  143. */
  144. public function setJuryUserId($juryUserId)
  145. {
  146. $this->juryUserId = $juryUserId;
  147. return $this;
  148. }
  149. /**
  150. * Get juryMemberId
  151. *
  152. * @return integer
  153. */
  154. public function getJuryUserId()
  155. {
  156. return $this->juryUserId;
  157. }
  158. /**
  159. * Set questionScoreNameId
  160. *
  161. * @param integer $questionScoreNameId
  162. * @return TrackExerciseAttemptJury
  163. */
  164. public function setQuestionScoreNameId($questionScoreNameId)
  165. {
  166. $this->questionScoreNameId = $questionScoreNameId;
  167. return $this;
  168. }
  169. /**
  170. * Get questionScoreNameId
  171. *
  172. * @return integer
  173. */
  174. public function getQuestionScoreNameId()
  175. {
  176. return $this->questionScoreNameId;
  177. }
  178. }