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.
313 lines
4.8 KiB
313 lines
4.8 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class SharedSurvey extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\SharedSurveyRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\SharedSurveyRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\SharedSurvey
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $survey_id
|
|
*/
|
|
protected $survey_id;
|
|
|
|
/**
|
|
* @var string $code
|
|
*/
|
|
protected $code;
|
|
|
|
/**
|
|
* @var text $title
|
|
*/
|
|
protected $title;
|
|
|
|
/**
|
|
* @var text $subtitle
|
|
*/
|
|
protected $subtitle;
|
|
|
|
/**
|
|
* @var string $author
|
|
*/
|
|
protected $author;
|
|
|
|
/**
|
|
* @var string $lang
|
|
*/
|
|
protected $lang;
|
|
|
|
/**
|
|
* @var string $template
|
|
*/
|
|
protected $template;
|
|
|
|
/**
|
|
* @var text $intro
|
|
*/
|
|
protected $intro;
|
|
|
|
/**
|
|
* @var text $surveythanks
|
|
*/
|
|
protected $surveythanks;
|
|
|
|
/**
|
|
* @var datetime $creation_date
|
|
*/
|
|
protected $creation_date;
|
|
|
|
/**
|
|
* @var string $course_code
|
|
*/
|
|
protected $course_code;
|
|
|
|
|
|
/**
|
|
* Get survey_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_survey_id()
|
|
{
|
|
return $this->survey_id;
|
|
}
|
|
|
|
/**
|
|
* Set code
|
|
*
|
|
* @param string $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_code($value)
|
|
{
|
|
$this->code = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get code
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_code()
|
|
{
|
|
return $this->code;
|
|
}
|
|
|
|
/**
|
|
* Set title
|
|
*
|
|
* @param text $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_title($value)
|
|
{
|
|
$this->title = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get title
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_title()
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
/**
|
|
* Set subtitle
|
|
*
|
|
* @param text $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_subtitle($value)
|
|
{
|
|
$this->subtitle = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get subtitle
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_subtitle()
|
|
{
|
|
return $this->subtitle;
|
|
}
|
|
|
|
/**
|
|
* Set author
|
|
*
|
|
* @param string $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_author($value)
|
|
{
|
|
$this->author = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get author
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_author()
|
|
{
|
|
return $this->author;
|
|
}
|
|
|
|
/**
|
|
* Set lang
|
|
*
|
|
* @param string $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_lang($value)
|
|
{
|
|
$this->lang = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get lang
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_lang()
|
|
{
|
|
return $this->lang;
|
|
}
|
|
|
|
/**
|
|
* Set template
|
|
*
|
|
* @param string $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_template($value)
|
|
{
|
|
$this->template = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get template
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_template()
|
|
{
|
|
return $this->template;
|
|
}
|
|
|
|
/**
|
|
* Set intro
|
|
*
|
|
* @param text $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_intro($value)
|
|
{
|
|
$this->intro = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get intro
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_intro()
|
|
{
|
|
return $this->intro;
|
|
}
|
|
|
|
/**
|
|
* Set surveythanks
|
|
*
|
|
* @param text $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_surveythanks($value)
|
|
{
|
|
$this->surveythanks = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get surveythanks
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_surveythanks()
|
|
{
|
|
return $this->surveythanks;
|
|
}
|
|
|
|
/**
|
|
* Set creation_date
|
|
*
|
|
* @param datetime $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_creation_date($value)
|
|
{
|
|
$this->creation_date = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get creation_date
|
|
*
|
|
* @return datetime
|
|
*/
|
|
public function get_creation_date()
|
|
{
|
|
return $this->creation_date;
|
|
}
|
|
|
|
/**
|
|
* Set course_code
|
|
*
|
|
* @param string $value
|
|
* @return SharedSurvey
|
|
*/
|
|
public function set_course_code($value)
|
|
{
|
|
$this->course_code = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get course_code
|
|
*
|
|
* @return string
|
|
*/
|
|
public function get_course_code()
|
|
{
|
|
return $this->course_code;
|
|
}
|
|
} |