123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- use Doctrine\Common\Collections\ArrayCollection;
- /**
- * CQuizDistributionRelSession
- *
- * @ORM\Table(name="c_quiz_distribution_rel_session")
- * @ORM\Entity
- */
- class CQuizDistributionRelSession
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var integer
- *
- * @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $sessionId;
- /**
- * @var integer
- *
- * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $cId;
- /**
- * @var integer
- *
- * @ORM\Column(name="exercise_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $exerciseId;
- /**
- * @var integer
- *
- * @ORM\Column(name="quiz_distribution_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $quizDistributionId;
- /**
- * @ORM\ManyToOne(targetEntity="CQuizDistribution")
- * @ORM\JoinColumn(name="quiz_distribution_id", referencedColumnName="id")
- */
- private $distribution;
- /**
- * @return \Entity\CQuizDistribution
- */
- public function getDistribution()
- {
- return $this->distribution;
- }
- /**
- * @param CQuizDistribution $distribution
- */
- public function setDistribution(\Entity\CQuizDistribution $distribution)
- {
- $this->distribution = $distribution;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set sessionId
- *
- * @param integer $sessionId
- * @return CQuizDistributionRelSession
- */
- public function setSessionId($sessionId)
- {
- $this->sessionId = $sessionId;
- return $this;
- }
- /**
- * Get sessionId
- *
- * @return integer
- */
- public function getSessionId()
- {
- return $this->sessionId;
- }
- /**
- * Set cId
- *
- * @param integer $cId
- * @return CQuizDistributionRelSession
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set exerciseId
- *
- * @param integer $exerciseId
- * @return CQuizDistributionRelSession
- */
- public function setExerciseId($exerciseId)
- {
- $this->exerciseId = $exerciseId;
- return $this;
- }
- /**
- * Get exerciseId
- *
- * @return integer
- */
- public function getExerciseId()
- {
- return $this->exerciseId;
- }
- /**
- * Set quizDistributionId
- *
- * @param integer $quizDistributionId
- * @return CQuizDistributionRelSession
- */
- public function setQuizDistributionId($quizDistributionId)
- {
- $this->quizDistributionId = $quizDistributionId;
- return $this;
- }
- /**
- * Get quizDistributionId
- *
- * @return integer
- */
- public function getQuizDistributionId()
- {
- return $this->quizDistributionId;
- }
- }
|