Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/main/inc/Entity/EntityCQuizQuestionOption.php

169 lines
2.8 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntityCQuizQuestionOption
*
* @Table(name="c_quiz_question_option")
* @Entity
*/
class EntityCQuizQuestionOption
{
/**
* @var integer
*
* @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $cId;
/**
* @var integer
*
* @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $id;
/**
* @var integer
*
* @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $questionId;
/**
* @var string
*
* @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
*/
private $name;
/**
* @var integer
*
* @Column(name="position", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $position;
/**
* Set cId
*
* @param integer $cId
* @return EntityCQuizQuestionOption
*/
public function setCId($cId)
{
$this->cId = $cId;
return $this;
}
/**
* Get cId
*
* @return integer
*/
public function getCId()
{
return $this->cId;
}
/**
* Set id
*
* @param integer $id
* @return EntityCQuizQuestionOption
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set questionId
*
* @param integer $questionId
* @return EntityCQuizQuestionOption
*/
public function setQuestionId($questionId)
{
$this->questionId = $questionId;
return $this;
}
/**
* Get questionId
*
* @return integer
*/
public function getQuestionId()
{
return $this->questionId;
}
/**
* Set name
*
* @param string $name
* @return EntityCQuizQuestionOption
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set position
*
* @param integer $position
* @return EntityCQuizQuestionOption
*/
public function setPosition($position)
{
$this->position = $position;
return $this;
}
/**
* Get position
*
* @return integer
*/
public function getPosition()
{
return $this->position;
}
}