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.
379 lines
6.3 KiB
379 lines
6.3 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class SurveyQuestion extends \CourseEntity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\SurveyQuestionRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\SurveyQuestionRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\SurveyQuestion
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $c_id
|
|
*/
|
|
protected $c_id;
|
|
|
|
/**
|
|
* @var integer $question_id
|
|
*/
|
|
protected $question_id;
|
|
|
|
/**
|
|
* @var integer $survey_id
|
|
*/
|
|
protected $survey_id;
|
|
|
|
/**
|
|
* @var text $survey_question
|
|
*/
|
|
protected $survey_question;
|
|
|
|
/**
|
|
* @var text $survey_question_comment
|
|
*/
|
|
protected $survey_question_comment;
|
|
|
|
/**
|
|
* @var string $type
|
|
*/
|
|
protected $type;
|
|
|
|
/**
|
|
* @var string $display
|
|
*/
|
|
protected $display;
|
|
|
|
/**
|
|
* @var integer $sort
|
|
*/
|
|
protected $sort;
|
|
|
|
/**
|
|
* @var integer $shared_question_id
|
|
*/
|
|
protected $shared_question_id;
|
|
|
|
/**
|
|
* @var integer $max_value
|
|
*/
|
|
protected $max_value;
|
|
|
|
/**
|
|
* @var integer $survey_group_pri
|
|
*/
|
|
protected $survey_group_pri;
|
|
|
|
/**
|
|
* @var integer $survey_group_sec1
|
|
*/
|
|
protected $survey_group_sec1;
|
|
|
|
/**
|
|
* @var integer $survey_group_sec2
|
|
*/
|
|
protected $survey_group_sec2;
|
|
|
|
|
|
/**
|
|
* Set c_id
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_c_id($value)
|
|
{
|
|
$this->c_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get c_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_c_id()
|
|
{
|
|
return $this->c_id;
|
|
}
|
|
|
|
/**
|
|
* Set question_id
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_question_id($value)
|
|
{
|
|
$this->question_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get question_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_question_id()
|
|
{
|
|
return $this->question_id;
|
|
}
|
|
|
|
/**
|
|
* Set survey_id
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_survey_id($value)
|
|
{
|
|
$this->survey_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get survey_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_survey_id()
|
|
{
|
|
return $this->survey_id;
|
|
}
|
|
|
|
/**
|
|
* Set survey_question
|
|
*
|
|
* @param text $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_survey_question($value)
|
|
{
|
|
$this->survey_question = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get survey_question
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_survey_question()
|
|
{
|
|
return $this->survey_question;
|
|
}
|
|
|
|
/**
|
|
* Set survey_question_comment
|
|
*
|
|
* @param text $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_survey_question_comment($value)
|
|
{
|
|
$this->survey_question_comment = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get survey_question_comment
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_survey_question_comment()
|
|
{
|
|
return $this->survey_question_comment;
|
|
}
|
|
|
|
/**
|
|
* Set type
|
|
*
|
|
* @param string $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_type($value)
|
|
{
|
|
$this->type = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get type
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_type()
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* Set display
|
|
*
|
|
* @param string $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_display($value)
|
|
{
|
|
$this->display = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get display
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_display()
|
|
{
|
|
return $this->display;
|
|
}
|
|
|
|
/**
|
|
* Set sort
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_sort($value)
|
|
{
|
|
$this->sort = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get sort
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_sort()
|
|
{
|
|
return $this->sort;
|
|
}
|
|
|
|
/**
|
|
* Set shared_question_id
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_shared_question_id($value)
|
|
{
|
|
$this->shared_question_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get shared_question_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_shared_question_id()
|
|
{
|
|
return $this->shared_question_id;
|
|
}
|
|
|
|
/**
|
|
* Set max_value
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_max_value($value)
|
|
{
|
|
$this->max_value = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get max_value
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_max_value()
|
|
{
|
|
return $this->max_value;
|
|
}
|
|
|
|
/**
|
|
* Set survey_group_pri
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_survey_group_pri($value)
|
|
{
|
|
$this->survey_group_pri = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get survey_group_pri
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_survey_group_pri()
|
|
{
|
|
return $this->survey_group_pri;
|
|
}
|
|
|
|
/**
|
|
* Set survey_group_sec1
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_survey_group_sec1($value)
|
|
{
|
|
$this->survey_group_sec1 = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get survey_group_sec1
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_survey_group_sec1()
|
|
{
|
|
return $this->survey_group_sec1;
|
|
}
|
|
|
|
/**
|
|
* Set survey_group_sec2
|
|
*
|
|
* @param integer $value
|
|
* @return SurveyQuestion
|
|
*/
|
|
public function set_survey_group_sec2($value)
|
|
{
|
|
$this->survey_group_sec2 = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get survey_group_sec2
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_survey_group_sec2()
|
|
{
|
|
return $this->survey_group_sec2;
|
|
}
|
|
} |