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.
334 lines
5.7 KiB
334 lines
5.7 KiB
<?php
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* EntitySharedSurvey
|
|
*
|
|
* @Table(name="shared_survey")
|
|
* @Entity
|
|
*/
|
|
class EntitySharedSurvey
|
|
{
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
|
|
* @Id
|
|
* @GeneratedValue(strategy="IDENTITY")
|
|
*/
|
|
private $surveyId;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="code", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $code;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="title", type="text", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $title;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="subtitle", type="text", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $subtitle;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="author", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $author;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="lang", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $lang;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="template", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $template;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="intro", type="text", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $intro;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="surveythanks", type="text", precision=0, scale=0, nullable=true, unique=false)
|
|
*/
|
|
private $surveythanks;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $creationDate;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
|
|
*/
|
|
private $courseCode;
|
|
|
|
|
|
/**
|
|
* Get surveyId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getSurveyId()
|
|
{
|
|
return $this->surveyId;
|
|
}
|
|
|
|
/**
|
|
* Set code
|
|
*
|
|
* @param string $code
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setCode($code)
|
|
{
|
|
$this->code = $code;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get code
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCode()
|
|
{
|
|
return $this->code;
|
|
}
|
|
|
|
/**
|
|
* Set title
|
|
*
|
|
* @param string $title
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setTitle($title)
|
|
{
|
|
$this->title = $title;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get title
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getTitle()
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
/**
|
|
* Set subtitle
|
|
*
|
|
* @param string $subtitle
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setSubtitle($subtitle)
|
|
{
|
|
$this->subtitle = $subtitle;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get subtitle
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getSubtitle()
|
|
{
|
|
return $this->subtitle;
|
|
}
|
|
|
|
/**
|
|
* Set author
|
|
*
|
|
* @param string $author
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setAuthor($author)
|
|
{
|
|
$this->author = $author;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get author
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getAuthor()
|
|
{
|
|
return $this->author;
|
|
}
|
|
|
|
/**
|
|
* Set lang
|
|
*
|
|
* @param string $lang
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setLang($lang)
|
|
{
|
|
$this->lang = $lang;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get lang
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getLang()
|
|
{
|
|
return $this->lang;
|
|
}
|
|
|
|
/**
|
|
* Set template
|
|
*
|
|
* @param string $template
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setTemplate($template)
|
|
{
|
|
$this->template = $template;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get template
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getTemplate()
|
|
{
|
|
return $this->template;
|
|
}
|
|
|
|
/**
|
|
* Set intro
|
|
*
|
|
* @param string $intro
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setIntro($intro)
|
|
{
|
|
$this->intro = $intro;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get intro
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getIntro()
|
|
{
|
|
return $this->intro;
|
|
}
|
|
|
|
/**
|
|
* Set surveythanks
|
|
*
|
|
* @param string $surveythanks
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setSurveythanks($surveythanks)
|
|
{
|
|
$this->surveythanks = $surveythanks;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get surveythanks
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getSurveythanks()
|
|
{
|
|
return $this->surveythanks;
|
|
}
|
|
|
|
/**
|
|
* Set creationDate
|
|
*
|
|
* @param \DateTime $creationDate
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setCreationDate($creationDate)
|
|
{
|
|
$this->creationDate = $creationDate;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get creationDate
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getCreationDate()
|
|
{
|
|
return $this->creationDate;
|
|
}
|
|
|
|
/**
|
|
* Set courseCode
|
|
*
|
|
* @param string $courseCode
|
|
* @return EntitySharedSurvey
|
|
*/
|
|
public function setCourseCode($courseCode)
|
|
{
|
|
$this->courseCode = $courseCode;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get courseCode
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getCourseCode()
|
|
{
|
|
return $this->courseCode;
|
|
}
|
|
}
|
|
|