123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- use Doctrine\Common\Collections\ArrayCollection;
- /**
- * TrackExercise
- *
- * @ORM\Table(name="track_e_exercices")
- * @ORM\Entity(repositoryClass="Entity\Repository\TrackExerciseRepository")
- */
- class TrackExercise
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="exe_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $exeId;
- /**
- * @var integer
- *
- * @ORM\Column(name="exe_user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $exeUserId;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="exe_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $exeDate;
- /**
- * @var integer
- *
- * @ORM\Column(name="exe_exo_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $exeExoId;
- /**
- * @var float
- *
- * @ORM\Column(name="exe_result", type="float", precision=0, scale=0, nullable=false, unique=false)
- */
- private $exeResult;
- /**
- * @var float
- *
- * @ORM\Column(name="exe_weighting", type="float", precision=0, scale=0, nullable=false, unique=false)
- */
- private $exeWeighting;
- /**
- * @var integer
- *
- * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $cId;
- /**
- * @var string
- *
- * @ORM\Column(name="status", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
- */
- private $status;
- /**
- * @var string
- *
- * @ORM\Column(name="data_tracking", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $dataTracking;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="start_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $startDate;
- /**
- * @var integer
- *
- * @ORM\Column(name="steps_counter", type="smallint", precision=0, scale=0, nullable=false, unique=false)
- */
- private $stepsCounter;
- /**
- * @var integer
- *
- * @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $sessionId;
- /**
- * @var integer
- *
- * @ORM\Column(name="orig_lp_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $origLpId;
- /**
- * @var integer
- *
- * @ORM\Column(name="orig_lp_item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $origLpItemId;
- /**
- * @var integer
- *
- * @ORM\Column(name="exe_duration", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $exeDuration;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="expired_time_control", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $expiredTimeControl;
- /**
- * @var integer
- *
- * @ORM\Column(name="orig_lp_item_view_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $origLpItemViewId;
- /**
- * @var string
- *
- * @ORM\Column(name="questions_to_check", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $questionsToCheck;
- /**
- * @var float
- *
- * @ORM\Column(name="jury_score", type="float", precision=0, scale=0, nullable=false, unique=false)
- */
- private $juryScore;
- /**
- * @var integer
- *
- * @ORM\Column(name="jury_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $juryId;
- /**
- * @var integer
- *
- * @ORM\Column(name="quiz_distribution_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $quizDistributionId;
- /**
- * @ORM\ManyToOne(targetEntity="CQuiz")
- * @ORM\JoinColumn(name="exe_exo_id", referencedColumnName="iid")
- */
- private $exercise;
- /**
- * @ORM\ManyToOne(targetEntity="Jury")
- * @ORM\JoinColumn(name="exe_exo_id", referencedColumnName="exercise_id")
- */
- private $attempt;
- /**
- * @ORM\ManyToOne(targetEntity="User")
- * @ORM\JoinColumn(name="exe_user_id", referencedColumnName="user_id")
- */
- private $user;
- /**
- * @ORM\OneToMany(targetEntity="TrackExerciseAttemptJury", mappedBy="attempt")
- **/
- private $juryAttempts;
- /**
- * @ORM\ManyToOne(targetEntity="CQuizDistribution")
- * @ORM\JoinColumn(name="quiz_distribution_id", referencedColumnName="id")
- */
- private $distribution;
- /**
- * @ORM\OneToMany(targetEntity="TrackAttempt", mappedBy="attempt")
- **/
- private $questionAttempts;
- /**
- * @return ArrayCollection
- */
- public function getQuestionAttempts()
- {
- return $this->questionAttempts;
- }
- /**
- * @return \Entity\CQuizDistribution
- */
- public function getDistribution()
- {
- return $this->distribution;
- }
- public function getAttempt()
- {
- return $this->attempt;
- }
- public function getUser()
- {
- return $this->user;
- }
- public function getExercise()
- {
- return $this->exercise;
- }
- /**
- * @return mixed
- */
- public function getJuryAttempts()
- {
- return $this->juryAttempts;
- }
- /**
- * Get exeId
- *
- * @return integer
- */
- public function getExeId()
- {
- return $this->exeId;
- }
- /**
- * Set exeUserId
- *
- * @param integer $exeUserId
- * @return TrackExercise
- */
- public function setExeUserId($exeUserId)
- {
- $this->exeUserId = $exeUserId;
- return $this;
- }
- /**
- * Get exeUserId
- *
- * @return integer
- */
- public function getExeUserId()
- {
- return $this->exeUserId;
- }
- /**
- * Set exeDate
- *
- * @param \DateTime $exeDate
- * @return TrackExercise
- */
- public function setExeDate($exeDate)
- {
- $this->exeDate = $exeDate;
- return $this;
- }
- /**
- * Get exeDate
- *
- * @return \DateTime
- */
- public function getExeDate()
- {
- return $this->exeDate;
- }
- /**
- * Set exeExoId
- *
- * @param integer $exeExoId
- * @return TrackExercise
- */
- public function setExeExoId($exeExoId)
- {
- $this->exeExoId = $exeExoId;
- return $this;
- }
- /**
- * Get exeExoId
- *
- * @return integer
- */
- public function getExeExoId()
- {
- return $this->exeExoId;
- }
- /**
- * Set exeResult
- *
- * @param float $exeResult
- * @return TrackExercise
- */
- public function setExeResult($exeResult)
- {
- $this->exeResult = $exeResult;
- return $this;
- }
- /**
- * Get exeResult
- *
- * @return float
- */
- public function getExeResult()
- {
- return $this->exeResult;
- }
- /**
- * Set exeWeighting
- *
- * @param float $exeWeighting
- * @return TrackExercise
- */
- public function setExeWeighting($exeWeighting)
- {
- $this->exeWeighting = $exeWeighting;
- return $this;
- }
- /**
- * Get exeWeighting
- *
- * @return float
- */
- public function getExeWeighting()
- {
- return $this->exeWeighting;
- }
- /**
- * Set cId
- *
- * @param integer $cId
- * @return TrackExercise
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set status
- *
- * @param string $status
- * @return TrackExercise
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
- /**
- * Get status
- *
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
- /**
- * Set dataTracking
- *
- * @param string $dataTracking
- * @return TrackExercise
- */
- public function setDataTracking($dataTracking)
- {
- $this->dataTracking = $dataTracking;
- return $this;
- }
- /**
- * Get dataTracking
- *
- * @return string
- */
- public function getDataTracking()
- {
- return $this->dataTracking;
- }
- /**
- * Set startDate
- *
- * @param \DateTime $startDate
- * @return TrackExercise
- */
- public function setStartDate($startDate)
- {
- $this->startDate = $startDate;
- return $this;
- }
- /**
- * Get startDate
- *
- * @return \DateTime
- */
- public function getStartDate()
- {
- return $this->startDate;
- }
- /**
- * Set stepsCounter
- *
- * @param integer $stepsCounter
- * @return TrackExercise
- */
- public function setStepsCounter($stepsCounter)
- {
- $this->stepsCounter = $stepsCounter;
- return $this;
- }
- /**
- * Get stepsCounter
- *
- * @return integer
- */
- public function getStepsCounter()
- {
- return $this->stepsCounter;
- }
- /**
- * Set sessionId
- *
- * @param integer $sessionId
- * @return TrackExercise
- */
- public function setSessionId($sessionId)
- {
- $this->sessionId = $sessionId;
- return $this;
- }
- /**
- * Get sessionId
- *
- * @return integer
- */
- public function getSessionId()
- {
- return $this->sessionId;
- }
- /**
- * Set origLpId
- *
- * @param integer $origLpId
- * @return TrackExercise
- */
- public function setOrigLpId($origLpId)
- {
- $this->origLpId = $origLpId;
- return $this;
- }
- /**
- * Get origLpId
- *
- * @return integer
- */
- public function getOrigLpId()
- {
- return $this->origLpId;
- }
- /**
- * Set origLpItemId
- *
- * @param integer $origLpItemId
- * @return TrackExercise
- */
- public function setOrigLpItemId($origLpItemId)
- {
- $this->origLpItemId = $origLpItemId;
- return $this;
- }
- /**
- * Get origLpItemId
- *
- * @return integer
- */
- public function getOrigLpItemId()
- {
- return $this->origLpItemId;
- }
- /**
- * Set exeDuration
- *
- * @param integer $exeDuration
- * @return TrackExercise
- */
- public function setExeDuration($exeDuration)
- {
- $this->exeDuration = $exeDuration;
- return $this;
- }
- /**
- * Get exeDuration
- *
- * @return integer
- */
- public function getExeDuration()
- {
- return $this->exeDuration;
- }
- /**
- * Set expiredTimeControl
- *
- * @param \DateTime $expiredTimeControl
- * @return TrackExercise
- */
- public function setExpiredTimeControl($expiredTimeControl)
- {
- $this->expiredTimeControl = $expiredTimeControl;
- return $this;
- }
- /**
- * Get expiredTimeControl
- *
- * @return \DateTime
- */
- public function getExpiredTimeControl()
- {
- return $this->expiredTimeControl;
- }
- /**
- * Set origLpItemViewId
- *
- * @param integer $origLpItemViewId
- * @return TrackExercise
- */
- public function setOrigLpItemViewId($origLpItemViewId)
- {
- $this->origLpItemViewId = $origLpItemViewId;
- return $this;
- }
- /**
- * Get origLpItemViewId
- *
- * @return integer
- */
- public function getOrigLpItemViewId()
- {
- return $this->origLpItemViewId;
- }
- /**
- * Set questionsToCheck
- *
- * @param string $questionsToCheck
- * @return TrackExercise
- */
- public function setQuestionsToCheck($questionsToCheck)
- {
- $this->questionsToCheck = $questionsToCheck;
- return $this;
- }
- /**
- * Get questionsToCheck
- *
- * @return string
- */
- public function getQuestionsToCheck()
- {
- return $this->questionsToCheck;
- }
- /**
- * Get juryScore
- *
- * @return integer
- */
- public function getJuryScore()
- {
- return $this->juryScore;
- }
- /**
- * Set juryScore
- *
- * @param integer $juryScore
- * @return TrackExercise
- */
- public function setJuryScore($juryScore)
- {
- $this->juryScore = $juryScore;
- return $this;
- }
- /**
- * Get juryId
- *
- * @return integer
- */
- public function getJuryId()
- {
- return $this->juryId;
- }
- /**
- * Set juryId
- *
- * @param integer $juryId
- * @return TrackExercise
- */
- public function setJuryId($juryId)
- {
- $this->juryId = $juryId;
- return $this;
- }
- /**
- * Get juryMembers
- *
- * @return integer
- */
- public function getJuryMembers()
- {
- return $this->juryMembers;
- }
- /**
- * Set juryMembers
- *
- * @param JuryMembers $juryMembers
- * @return TrackExercise
- */
- public function setJuryMembers(JuryMembers $juryMembers)
- {
- $this->juryMembers = $juryMembers;
- return $this;
- }
- /**
- * Set quizDistributionId
- *
- * @param integer $quizDistributionId
- */
- public function setQuizDistributionId($quizDistributionId)
- {
- $this->quizDistributionId = $quizDistributionId;
- return $this;
- }
- /**
- * Get quizDistributionId
- *
- * @return integer
- */
- public function getQuizDistributionId()
- {
- return $this->quizDistributionId;
- }
- }
|