123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * CQuizRelQuestion
- *
- * @ORM\Table(name="c_quiz_rel_question")
- * @ORM\Entity
- */
- class CQuizRelQuestion
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="iid", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $iid;
- /**
- * @var integer
- *
- * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="NONE")
- */
- private $cId;
- /**
- * @var integer
- *
- * @ORM\Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="NONE")
- */
- private $questionId;
- /**
- * @var integer
- *
- * @ORM\Column(name="exercice_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="NONE")
- */
- private $exerciceId;
- /**
- * @var integer
- *
- * @ORM\Column(name="question_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $questionOrder;
- /**
- * @ORM\ManyToOne(targetEntity="CQuizCategory")
- * @ORM\JoinColumn(name="c_id", referencedColumnName="id")
- */
- //private $category;
- /**
- * @ORM\ManyToOne(targetEntity="CQuizQuestion")
- * @ORM\JoinColumn(name="to_group_id", referencedColumnName="iid")
- */
- //private $question;
- /**
- * Set cId
- *
- * @param integer $cId
- * @return CQuizRelQuestion
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set questionId
- *
- * @param integer $questionId
- * @return CQuizRelQuestion
- */
- public function setQuestionId($questionId)
- {
- $this->questionId = $questionId;
- return $this;
- }
- /**
- * Get questionId
- *
- * @return integer
- */
- public function getQuestionId()
- {
- return $this->questionId;
- }
- /**
- * Set exerciceId
- *
- * @param integer $exerciceId
- * @return CQuizRelQuestion
- */
- public function setExerciceId($exerciceId)
- {
- $this->exerciceId = $exerciceId;
- return $this;
- }
- /**
- * Get exerciceId
- *
- * @return integer
- */
- public function getExerciceId()
- {
- return $this->exerciceId;
- }
- /**
- * Set questionOrder
- *
- * @param integer $questionOrder
- * @return CQuizRelQuestion
- */
- public function setQuestionOrder($questionOrder)
- {
- $this->questionOrder = $questionOrder;
- return $this;
- }
- /**
- * Get questionOrder
- *
- * @return integer
- */
- public function getQuestionOrder()
- {
- return $this->questionOrder;
- }
- }
|