EntitySharedSurvey.php 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntitySharedSurvey
  5. *
  6. * @Table(name="shared_survey")
  7. * @Entity
  8. */
  9. class EntitySharedSurvey
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="IDENTITY")
  17. */
  18. private $surveyId;
  19. /**
  20. * @var string
  21. *
  22. * @Column(name="code", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
  23. */
  24. private $code;
  25. /**
  26. * @var string
  27. *
  28. * @Column(name="title", type="text", precision=0, scale=0, nullable=true, unique=false)
  29. */
  30. private $title;
  31. /**
  32. * @var string
  33. *
  34. * @Column(name="subtitle", type="text", precision=0, scale=0, nullable=true, unique=false)
  35. */
  36. private $subtitle;
  37. /**
  38. * @var string
  39. *
  40. * @Column(name="author", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
  41. */
  42. private $author;
  43. /**
  44. * @var string
  45. *
  46. * @Column(name="lang", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
  47. */
  48. private $lang;
  49. /**
  50. * @var string
  51. *
  52. * @Column(name="template", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
  53. */
  54. private $template;
  55. /**
  56. * @var string
  57. *
  58. * @Column(name="intro", type="text", precision=0, scale=0, nullable=true, unique=false)
  59. */
  60. private $intro;
  61. /**
  62. * @var string
  63. *
  64. * @Column(name="surveythanks", type="text", precision=0, scale=0, nullable=true, unique=false)
  65. */
  66. private $surveythanks;
  67. /**
  68. * @var \DateTime
  69. *
  70. * @Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  71. */
  72. private $creationDate;
  73. /**
  74. * @var string
  75. *
  76. * @Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
  77. */
  78. private $courseCode;
  79. /**
  80. * Get surveyId
  81. *
  82. * @return integer
  83. */
  84. public function getSurveyId()
  85. {
  86. return $this->surveyId;
  87. }
  88. /**
  89. * Set code
  90. *
  91. * @param string $code
  92. * @return EntitySharedSurvey
  93. */
  94. public function setCode($code)
  95. {
  96. $this->code = $code;
  97. return $this;
  98. }
  99. /**
  100. * Get code
  101. *
  102. * @return string
  103. */
  104. public function getCode()
  105. {
  106. return $this->code;
  107. }
  108. /**
  109. * Set title
  110. *
  111. * @param string $title
  112. * @return EntitySharedSurvey
  113. */
  114. public function setTitle($title)
  115. {
  116. $this->title = $title;
  117. return $this;
  118. }
  119. /**
  120. * Get title
  121. *
  122. * @return string
  123. */
  124. public function getTitle()
  125. {
  126. return $this->title;
  127. }
  128. /**
  129. * Set subtitle
  130. *
  131. * @param string $subtitle
  132. * @return EntitySharedSurvey
  133. */
  134. public function setSubtitle($subtitle)
  135. {
  136. $this->subtitle = $subtitle;
  137. return $this;
  138. }
  139. /**
  140. * Get subtitle
  141. *
  142. * @return string
  143. */
  144. public function getSubtitle()
  145. {
  146. return $this->subtitle;
  147. }
  148. /**
  149. * Set author
  150. *
  151. * @param string $author
  152. * @return EntitySharedSurvey
  153. */
  154. public function setAuthor($author)
  155. {
  156. $this->author = $author;
  157. return $this;
  158. }
  159. /**
  160. * Get author
  161. *
  162. * @return string
  163. */
  164. public function getAuthor()
  165. {
  166. return $this->author;
  167. }
  168. /**
  169. * Set lang
  170. *
  171. * @param string $lang
  172. * @return EntitySharedSurvey
  173. */
  174. public function setLang($lang)
  175. {
  176. $this->lang = $lang;
  177. return $this;
  178. }
  179. /**
  180. * Get lang
  181. *
  182. * @return string
  183. */
  184. public function getLang()
  185. {
  186. return $this->lang;
  187. }
  188. /**
  189. * Set template
  190. *
  191. * @param string $template
  192. * @return EntitySharedSurvey
  193. */
  194. public function setTemplate($template)
  195. {
  196. $this->template = $template;
  197. return $this;
  198. }
  199. /**
  200. * Get template
  201. *
  202. * @return string
  203. */
  204. public function getTemplate()
  205. {
  206. return $this->template;
  207. }
  208. /**
  209. * Set intro
  210. *
  211. * @param string $intro
  212. * @return EntitySharedSurvey
  213. */
  214. public function setIntro($intro)
  215. {
  216. $this->intro = $intro;
  217. return $this;
  218. }
  219. /**
  220. * Get intro
  221. *
  222. * @return string
  223. */
  224. public function getIntro()
  225. {
  226. return $this->intro;
  227. }
  228. /**
  229. * Set surveythanks
  230. *
  231. * @param string $surveythanks
  232. * @return EntitySharedSurvey
  233. */
  234. public function setSurveythanks($surveythanks)
  235. {
  236. $this->surveythanks = $surveythanks;
  237. return $this;
  238. }
  239. /**
  240. * Get surveythanks
  241. *
  242. * @return string
  243. */
  244. public function getSurveythanks()
  245. {
  246. return $this->surveythanks;
  247. }
  248. /**
  249. * Set creationDate
  250. *
  251. * @param \DateTime $creationDate
  252. * @return EntitySharedSurvey
  253. */
  254. public function setCreationDate($creationDate)
  255. {
  256. $this->creationDate = $creationDate;
  257. return $this;
  258. }
  259. /**
  260. * Get creationDate
  261. *
  262. * @return \DateTime
  263. */
  264. public function getCreationDate()
  265. {
  266. return $this->creationDate;
  267. }
  268. /**
  269. * Set courseCode
  270. *
  271. * @param string $courseCode
  272. * @return EntitySharedSurvey
  273. */
  274. public function setCourseCode($courseCode)
  275. {
  276. $this->courseCode = $courseCode;
  277. return $this;
  278. }
  279. /**
  280. * Get courseCode
  281. *
  282. * @return string
  283. */
  284. public function getCourseCode()
  285. {
  286. return $this->courseCode;
  287. }
  288. }