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/EntitySharedSurveyQuestion.php

274 lines
4.9 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntitySharedSurveyQuestion
*
* @Table(name="shared_survey_question")
* @Entity
*/
class EntitySharedSurveyQuestion
{
/**
* @var integer
*
* @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="IDENTITY")
*/
private $questionId;
/**
* @var integer
*
* @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $surveyId;
/**
* @var string
*
* @Column(name="survey_question", type="text", precision=0, scale=0, nullable=false, unique=false)
*/
private $surveyQuestion;
/**
* @var string
*
* @Column(name="survey_question_comment", type="text", precision=0, scale=0, nullable=false, unique=false)
*/
private $surveyQuestionComment;
/**
* @var string
*
* @Column(name="type", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
*/
private $type;
/**
* @var string
*
* @Column(name="display", type="string", length=10, precision=0, scale=0, nullable=false, unique=false)
*/
private $display;
/**
* @var integer
*
* @Column(name="sort", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $sort;
/**
* @var string
*
* @Column(name="code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
*/
private $code;
/**
* @var integer
*
* @Column(name="max_value", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $maxValue;
/**
* Get questionId
*
* @return integer
*/
public function getQuestionId()
{
return $this->questionId;
}
/**
* Set surveyId
*
* @param integer $surveyId
* @return EntitySharedSurveyQuestion
*/
public function setSurveyId($surveyId)
{
$this->surveyId = $surveyId;
return $this;
}
/**
* Get surveyId
*
* @return integer
*/
public function getSurveyId()
{
return $this->surveyId;
}
/**
* Set surveyQuestion
*
* @param string $surveyQuestion
* @return EntitySharedSurveyQuestion
*/
public function setSurveyQuestion($surveyQuestion)
{
$this->surveyQuestion = $surveyQuestion;
return $this;
}
/**
* Get surveyQuestion
*
* @return string
*/
public function getSurveyQuestion()
{
return $this->surveyQuestion;
}
/**
* Set surveyQuestionComment
*
* @param string $surveyQuestionComment
* @return EntitySharedSurveyQuestion
*/
public function setSurveyQuestionComment($surveyQuestionComment)
{
$this->surveyQuestionComment = $surveyQuestionComment;
return $this;
}
/**
* Get surveyQuestionComment
*
* @return string
*/
public function getSurveyQuestionComment()
{
return $this->surveyQuestionComment;
}
/**
* Set type
*
* @param string $type
* @return EntitySharedSurveyQuestion
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Set display
*
* @param string $display
* @return EntitySharedSurveyQuestion
*/
public function setDisplay($display)
{
$this->display = $display;
return $this;
}
/**
* Get display
*
* @return string
*/
public function getDisplay()
{
return $this->display;
}
/**
* Set sort
*
* @param integer $sort
* @return EntitySharedSurveyQuestion
*/
public function setSort($sort)
{
$this->sort = $sort;
return $this;
}
/**
* Get sort
*
* @return integer
*/
public function getSort()
{
return $this->sort;
}
/**
* Set code
*
* @param string $code
* @return EntitySharedSurveyQuestion
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set maxValue
*
* @param integer $maxValue
* @return EntitySharedSurveyQuestion
*/
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
return $this;
}
/**
* Get maxValue
*
* @return integer
*/
public function getMaxValue()
{
return $this->maxValue;
}
}