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.
409 lines
7.5 KiB
409 lines
7.5 KiB
<?php
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* EntityCSurveyQuestion
|
|
*
|
|
* @Table(name="c_survey_question")
|
|
* @Entity
|
|
*/
|
|
class EntityCSurveyQuestion
|
|
{
|
|
/**
|
|
* @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="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
|
* @Id
|
|
* @GeneratedValue(strategy="NONE")
|
|
*/
|
|
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 integer
|
|
*
|
|
* @Column(name="shared_question_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $sharedQuestionId;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="max_value", type="integer", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $maxValue;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="survey_group_pri", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $surveyGroupPri;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="survey_group_sec1", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $surveyGroupSec1;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="survey_group_sec2", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $surveyGroupSec2;
|
|
|
|
|
|
/**
|
|
* Set cId
|
|
*
|
|
* @param integer $cId
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
public function setCId($cId)
|
|
{
|
|
$this->cId = $cId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCId()
|
|
{
|
|
return $this->cId;
|
|
}
|
|
|
|
/**
|
|
* Set questionId
|
|
*
|
|
* @param integer $questionId
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
public function setQuestionId($questionId)
|
|
{
|
|
$this->questionId = $questionId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get questionId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getQuestionId()
|
|
{
|
|
return $this->questionId;
|
|
}
|
|
|
|
/**
|
|
* Set surveyId
|
|
*
|
|
* @param integer $surveyId
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
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 EntityCSurveyQuestion
|
|
*/
|
|
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 EntityCSurveyQuestion
|
|
*/
|
|
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 EntityCSurveyQuestion
|
|
*/
|
|
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 EntityCSurveyQuestion
|
|
*/
|
|
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 EntityCSurveyQuestion
|
|
*/
|
|
public function setSort($sort)
|
|
{
|
|
$this->sort = $sort;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get sort
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSort()
|
|
{
|
|
return $this->sort;
|
|
}
|
|
|
|
/**
|
|
* Set sharedQuestionId
|
|
*
|
|
* @param integer $sharedQuestionId
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
public function setSharedQuestionId($sharedQuestionId)
|
|
{
|
|
$this->sharedQuestionId = $sharedQuestionId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get sharedQuestionId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSharedQuestionId()
|
|
{
|
|
return $this->sharedQuestionId;
|
|
}
|
|
|
|
/**
|
|
* Set maxValue
|
|
*
|
|
* @param integer $maxValue
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
public function setMaxValue($maxValue)
|
|
{
|
|
$this->maxValue = $maxValue;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get maxValue
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getMaxValue()
|
|
{
|
|
return $this->maxValue;
|
|
}
|
|
|
|
/**
|
|
* Set surveyGroupPri
|
|
*
|
|
* @param integer $surveyGroupPri
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
public function setSurveyGroupPri($surveyGroupPri)
|
|
{
|
|
$this->surveyGroupPri = $surveyGroupPri;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get surveyGroupPri
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSurveyGroupPri()
|
|
{
|
|
return $this->surveyGroupPri;
|
|
}
|
|
|
|
/**
|
|
* Set surveyGroupSec1
|
|
*
|
|
* @param integer $surveyGroupSec1
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
public function setSurveyGroupSec1($surveyGroupSec1)
|
|
{
|
|
$this->surveyGroupSec1 = $surveyGroupSec1;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get surveyGroupSec1
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSurveyGroupSec1()
|
|
{
|
|
return $this->surveyGroupSec1;
|
|
}
|
|
|
|
/**
|
|
* Set surveyGroupSec2
|
|
*
|
|
* @param integer $surveyGroupSec2
|
|
* @return EntityCSurveyQuestion
|
|
*/
|
|
public function setSurveyGroupSec2($surveyGroupSec2)
|
|
{
|
|
$this->surveyGroupSec2 = $surveyGroupSec2;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get surveyGroupSec2
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSurveyGroupSec2()
|
|
{
|
|
return $this->surveyGroupSec2;
|
|
}
|
|
}
|
|
|