123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * CQuiz
- *
- * @ORM\Table(name="c_quiz")
- * @ORM\Entity
- */
- class CQuiz
- {
- /**
- * @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)
- */
- private $cId;
- /**
- * @var string
- *
- * @ORM\Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $title;
- /**
- * @var string
- *
- * @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $description;
- /**
- * @var string
- *
- * @ORM\Column(name="sound", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $sound;
- /**
- * @var boolean
- *
- * @ORM\Column(name="type", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $type;
- /**
- * @var integer
- *
- * @ORM\Column(name="random", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $random;
- /**
- * @var boolean
- *
- * @ORM\Column(name="random_answers", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $randomAnswers;
- /**
- * @var boolean
- *
- * @ORM\Column(name="active", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $active;
- /**
- * @var integer
- *
- * @ORM\Column(name="results_disabled", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $resultsDisabled;
- /**
- * @var string
- *
- * @ORM\Column(name="access_condition", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $accessCondition;
- /**
- * @var integer
- *
- * @ORM\Column(name="max_attempt", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $maxAttempt;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="start_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $startTime;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="end_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $endTime;
- /**
- * @var integer
- *
- * @ORM\Column(name="feedback_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $feedbackType;
- /**
- * @var integer
- *
- * @ORM\Column(name="expired_time", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $expiredTime;
- /**
- * @var integer
- *
- * @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $sessionId;
- /**
- * @var integer
- *
- * @ORM\Column(name="propagate_neg", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $propagateNeg;
- /**
- * @var integer
- *
- * @ORM\Column(name="review_answers", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $reviewAnswers;
- /**
- * @var integer
- *
- * @ORM\Column(name="random_by_category", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $randomByCategory;
- /**
- * @var string
- *
- * @ORM\Column(name="text_when_finished", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $textWhenFinished;
- /**
- * @var integer
- *
- * @ORM\Column(name="display_category_name", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $displayCategoryName;
- /**
- * @var integer
- *
- * @ORM\Column(name="pass_percentage", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $passPercentage;
- /**
- * @var integer
- *
- * @ORM\Column(name="autolaunch", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $autolaunch;
- /**
- * @var integer
- *
- * @ORM\Column(name="end_button", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $endButton;
- /**
- * @var string
- *
- * @ORM\Column(name="email_notification_template", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $emailNotificationTemplate;
- /**
- * @var integer
- *
- * @ORM\Column(name="model_type", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $modelType;
- /**
- * Get iid
- *
- * @return integer
- */
- public function getIid()
- {
- return $this->iid;
- }
- /**
- * Set cId
- *
- * @param integer $cId
- * @return CQuiz
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set title
- *
- * @param string $title
- * @return CQuiz
- */
- public function setTitle($title)
- {
- $this->title = $title;
- return $this;
- }
- /**
- * Get title
- *
- * @return string
- */
- public function getTitle()
- {
- return $this->title;
- }
- /**
- * Set description
- *
- * @param string $description
- * @return CQuiz
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
- /**
- * Get description
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
- /**
- * Set sound
- *
- * @param string $sound
- * @return CQuiz
- */
- public function setSound($sound)
- {
- $this->sound = $sound;
- return $this;
- }
- /**
- * Get sound
- *
- * @return string
- */
- public function getSound()
- {
- return $this->sound;
- }
- /**
- * Set type
- *
- * @param boolean $type
- * @return CQuiz
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
- /**
- * Get type
- *
- * @return boolean
- */
- public function getType()
- {
- return $this->type;
- }
- /**
- * Set random
- *
- * @param integer $random
- * @return CQuiz
- */
- public function setRandom($random)
- {
- $this->random = $random;
- return $this;
- }
- /**
- * Get random
- *
- * @return integer
- */
- public function getRandom()
- {
- return $this->random;
- }
- /**
- * Set randomAnswers
- *
- * @param boolean $randomAnswers
- * @return CQuiz
- */
- public function setRandomAnswers($randomAnswers)
- {
- $this->randomAnswers = $randomAnswers;
- return $this;
- }
- /**
- * Get randomAnswers
- *
- * @return boolean
- */
- public function getRandomAnswers()
- {
- return $this->randomAnswers;
- }
- /**
- * Set active
- *
- * @param boolean $active
- * @return CQuiz
- */
- public function setActive($active)
- {
- $this->active = $active;
- return $this;
- }
- /**
- * Get active
- *
- * @return boolean
- */
- public function getActive()
- {
- return $this->active;
- }
- /**
- * Set resultsDisabled
- *
- * @param integer $resultsDisabled
- * @return CQuiz
- */
- public function setResultsDisabled($resultsDisabled)
- {
- $this->resultsDisabled = $resultsDisabled;
- return $this;
- }
- /**
- * Get resultsDisabled
- *
- * @return integer
- */
- public function getResultsDisabled()
- {
- return $this->resultsDisabled;
- }
- /**
- * Set accessCondition
- *
- * @param string $accessCondition
- * @return CQuiz
- */
- public function setAccessCondition($accessCondition)
- {
- $this->accessCondition = $accessCondition;
- return $this;
- }
- /**
- * Get accessCondition
- *
- * @return string
- */
- public function getAccessCondition()
- {
- return $this->accessCondition;
- }
- /**
- * Set maxAttempt
- *
- * @param integer $maxAttempt
- * @return CQuiz
- */
- public function setMaxAttempt($maxAttempt)
- {
- $this->maxAttempt = $maxAttempt;
- return $this;
- }
- /**
- * Get maxAttempt
- *
- * @return integer
- */
- public function getMaxAttempt()
- {
- return $this->maxAttempt;
- }
- /**
- * Set startTime
- *
- * @param \DateTime $startTime
- * @return CQuiz
- */
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- return $this;
- }
- /**
- * Get startTime
- *
- * @return \DateTime
- */
- public function getStartTime()
- {
- return $this->startTime;
- }
- /**
- * Set endTime
- *
- * @param \DateTime $endTime
- * @return CQuiz
- */
- public function setEndTime($endTime)
- {
- $this->endTime = $endTime;
- return $this;
- }
- /**
- * Get endTime
- *
- * @return \DateTime
- */
- public function getEndTime()
- {
- return $this->endTime;
- }
- /**
- * Set feedbackType
- *
- * @param integer $feedbackType
- * @return CQuiz
- */
- public function setFeedbackType($feedbackType)
- {
- $this->feedbackType = $feedbackType;
- return $this;
- }
- /**
- * Get feedbackType
- *
- * @return integer
- */
- public function getFeedbackType()
- {
- return $this->feedbackType;
- }
- /**
- * Set expiredTime
- *
- * @param integer $expiredTime
- * @return CQuiz
- */
- public function setExpiredTime($expiredTime)
- {
- $this->expiredTime = $expiredTime;
- return $this;
- }
- /**
- * Get expiredTime
- *
- * @return integer
- */
- public function getExpiredTime()
- {
- return $this->expiredTime;
- }
- /**
- * Set sessionId
- *
- * @param integer $sessionId
- * @return CQuiz
- */
- public function setSessionId($sessionId)
- {
- $this->sessionId = $sessionId;
- return $this;
- }
- /**
- * Get sessionId
- *
- * @return integer
- */
- public function getSessionId()
- {
- return $this->sessionId;
- }
- /**
- * Set propagateNeg
- *
- * @param integer $propagateNeg
- * @return CQuiz
- */
- public function setPropagateNeg($propagateNeg)
- {
- $this->propagateNeg = $propagateNeg;
- return $this;
- }
- /**
- * Get propagateNeg
- *
- * @return integer
- */
- public function getPropagateNeg()
- {
- return $this->propagateNeg;
- }
- /**
- * Set reviewAnswers
- *
- * @param integer $reviewAnswers
- * @return CQuiz
- */
- public function setReviewAnswers($reviewAnswers)
- {
- $this->reviewAnswers = $reviewAnswers;
- return $this;
- }
- /**
- * Get reviewAnswers
- *
- * @return integer
- */
- public function getReviewAnswers()
- {
- return $this->reviewAnswers;
- }
- /**
- * Set randomByCategory
- *
- * @param integer $randomByCategory
- * @return CQuiz
- */
- public function setRandomByCategory($randomByCategory)
- {
- $this->randomByCategory = $randomByCategory;
- return $this;
- }
- /**
- * Get randomByCategory
- *
- * @return integer
- */
- public function getRandomByCategory()
- {
- return $this->randomByCategory;
- }
- /**
- * Set textWhenFinished
- *
- * @param string $textWhenFinished
- * @return CQuiz
- */
- public function setTextWhenFinished($textWhenFinished)
- {
- $this->textWhenFinished = $textWhenFinished;
- return $this;
- }
- /**
- * Get textWhenFinished
- *
- * @return string
- */
- public function getTextWhenFinished()
- {
- return $this->textWhenFinished;
- }
- /**
- * Set displayCategoryName
- *
- * @param integer $displayCategoryName
- * @return CQuiz
- */
- public function setDisplayCategoryName($displayCategoryName)
- {
- $this->displayCategoryName = $displayCategoryName;
- return $this;
- }
- /**
- * Get displayCategoryName
- *
- * @return integer
- */
- public function getDisplayCategoryName()
- {
- return $this->displayCategoryName;
- }
- /**
- * Set passPercentage
- *
- * @param integer $passPercentage
- * @return CQuiz
- */
- public function setPassPercentage($passPercentage)
- {
- $this->passPercentage = $passPercentage;
- return $this;
- }
- /**
- * Get passPercentage
- *
- * @return integer
- */
- public function getPassPercentage()
- {
- return $this->passPercentage;
- }
- /**
- * Set autolaunch
- *
- * @param integer $autolaunch
- * @return CQuiz
- */
- public function setAutolaunch($autolaunch)
- {
- $this->autolaunch = $autolaunch;
- return $this;
- }
- /**
- * Get autolaunch
- *
- * @return integer
- */
- public function getAutolaunch()
- {
- return $this->autolaunch;
- }
- /**
- * Set endButton
- *
- * @param integer $endButton
- * @return CQuiz
- */
- public function setEndButton($endButton)
- {
- $this->endButton = $endButton;
- return $this;
- }
- /**
- * Get endButton
- *
- * @return integer
- */
- public function getEndButton()
- {
- return $this->endButton;
- }
- /**
- * Set emailNotificationTemplate
- *
- * @param string $emailNotificationTemplate
- * @return CQuiz
- */
- public function setEmailNotificationTemplate($emailNotificationTemplate)
- {
- $this->emailNotificationTemplate = $emailNotificationTemplate;
- return $this;
- }
- /**
- * Get emailNotificationTemplate
- *
- * @return string
- */
- public function getEmailNotificationTemplate()
- {
- return $this->emailNotificationTemplate;
- }
- /**
- * Set modelType
- *
- * @param integer $modelType
- * @return CQuiz
- */
- public function setModelType($modelType)
- {
- $this->modelType = $modelType;
- return $this;
- }
- /**
- * Get modelType
- *
- * @return integer
- */
- public function getModelType()
- {
- return $this->modelType;
- }
- }
|