123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379 |
- <?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;
- }
- }
|