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