%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/CQuizQuestionOption.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CourseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CQuizQuestionOption.
*
* @ORM\Table(
* name="c_quiz_question_option",
* indexes={
* @ORM\Index(name="course", columns={"c_id"})
* }
* )
* @ORM\Entity
*/
class CQuizQuestionOption
{
/**
* @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
*
* @deprecated Now using iid
* @ORM\Column(name="id", type="integer", nullable=true)
*/
protected $id;
/**
* @var int
*
* @ORM\Column(name="question_id", type="integer", nullable=false)
*/
protected $questionId;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=true)
*/
protected $name;
/**
* @var int
*
* @ORM\Column(name="position", type="integer", nullable=false)
*/
protected $position;
/**
* Set questionId.
*
* @param int $questionId
*
* @return CQuizQuestionOption
*/
public function setQuestionId($questionId)
{
$this->questionId = $questionId;
return $this;
}
/**
* Get questionId.
*
* @return int
*/
public function getQuestionId()
{
return $this->questionId;
}
/**
* Set name.
*
* @param string $name
*
* @return CQuizQuestionOption
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name.
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set position.
*
* @param int $position
*
* @return CQuizQuestionOption
*/
public function setPosition($position)
{
$this->position = $position;
return $this;
}
/**
* Get position.
*
* @return int
*/
public function getPosition()
{
return $this->position;
}
/**
* Set id.
*
* @param int $iid
*
* @return CQuizQuestionOption
*/
public function setId($iid)
{
$this->iid = $iid;
return $this;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->iid;
}
/**
* Set cId.
*
* @param int $cId
*
* @return CQuizQuestionOption
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId.
*
* @return int
*/
public function getCId()
{
return $this->cId;
}
}