%PDF- %PDF-
| Direktori : /home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CourseBundle/Entity/ |
| Current File : //home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CourseBundle/Entity/CSurveyQuestionOption.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CSurveyQuestionOption.
*
* @ORM\Table(
* name="c_survey_question_option",
* indexes={
* @ORM\Index(name="course", columns={"c_id"})
* }
* )
* @ORM\Entity
*/
class CSurveyQuestionOption
{
/**
* @var int
*
* @ORM\Column(name="iid", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
protected $iid;
/**
* @var int
*
* @ORM\Column(name="c_id", type="integer")
*/
protected $cId;
/**
* @var int
*
* @ORM\Column(name="question_option_id", type="integer")
*/
protected $questionOptionId;
/**
* @var int
*
* @ORM\Column(name="question_id", type="integer", nullable=false)
*/
protected $questionId;
/**
* @var int
*
* @ORM\Column(name="survey_id", type="integer", nullable=false)
*/
protected $surveyId;
/**
* @var string
*
* @ORM\Column(name="option_text", type="text", nullable=false)
*/
protected $optionText;
/**
* @var int
*
* @ORM\Column(name="sort", type="integer", nullable=false)
*/
protected $sort;
/**
* @var int
*
* @ORM\Column(name="value", type="integer", nullable=false)
*/
protected $value;
/**
* Set questionId.
*
* @param int $questionId
*
* @return CSurveyQuestionOption
*/
public function setQuestionId($questionId)
{
$this->questionId = $questionId;
return $this;
}
/**
* Get questionId.
*
* @return int
*/
public function getQuestionId()
{
return $this->questionId;
}
/**
* Set surveyId.
*
* @param int $surveyId
*
* @return CSurveyQuestionOption
*/
public function setSurveyId($surveyId)
{
$this->surveyId = $surveyId;
return $this;
}
/**
* Get surveyId.
*
* @return int
*/
public function getSurveyId()
{
return $this->surveyId;
}
/**
* Set optionText.
*
* @param string $optionText
*
* @return CSurveyQuestionOption
*/
public function setOptionText($optionText)
{
$this->optionText = $optionText;
return $this;
}
/**
* Get optionText.
*
* @return string
*/
public function getOptionText()
{
return $this->optionText;
}
/**
* Set sort.
*
* @param int $sort
*
* @return CSurveyQuestionOption
*/
public function setSort($sort)
{
$this->sort = $sort;
return $this;
}
/**
* Get sort.
*
* @return int
*/
public function getSort()
{
return $this->sort;
}
/**
* Set value.
*
* @param int $value
*
* @return CSurveyQuestionOption
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
/**
* Get value.
*
* @return int
*/
public function getValue()
{
return $this->value;
}
/**
* Set questionOptionId.
*
* @param int $questionOptionId
*
* @return CSurveyQuestionOption
*/
public function setQuestionOptionId($questionOptionId)
{
$this->questionOptionId = $questionOptionId;
return $this;
}
/**
* Get questionOptionId.
*
* @return int
*/
public function getQuestionOptionId()
{
return $this->questionOptionId;
}
/**
* Set cId.
*
* @param int $cId
*
* @return CSurveyQuestionOption
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId.
*
* @return int
*/
public function getCId()
{
return $this->cId;
}
}