shared_survey.class.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class SharedSurvey extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SharedSurveyRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SharedSurveyRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SharedSurvey
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $survey_id
  25. */
  26. protected $survey_id;
  27. /**
  28. * @var string $code
  29. */
  30. protected $code;
  31. /**
  32. * @var text $title
  33. */
  34. protected $title;
  35. /**
  36. * @var text $subtitle
  37. */
  38. protected $subtitle;
  39. /**
  40. * @var string $author
  41. */
  42. protected $author;
  43. /**
  44. * @var string $lang
  45. */
  46. protected $lang;
  47. /**
  48. * @var string $template
  49. */
  50. protected $template;
  51. /**
  52. * @var text $intro
  53. */
  54. protected $intro;
  55. /**
  56. * @var text $surveythanks
  57. */
  58. protected $surveythanks;
  59. /**
  60. * @var datetime $creation_date
  61. */
  62. protected $creation_date;
  63. /**
  64. * @var string $course_code
  65. */
  66. protected $course_code;
  67. /**
  68. * Get survey_id
  69. *
  70. * @return integer
  71. */
  72. public function get_survey_id()
  73. {
  74. return $this->survey_id;
  75. }
  76. /**
  77. * Set code
  78. *
  79. * @param string $value
  80. * @return SharedSurvey
  81. */
  82. public function set_code($value)
  83. {
  84. $this->code = $value;
  85. return $this;
  86. }
  87. /**
  88. * Get code
  89. *
  90. * @return string
  91. */
  92. public function get_code()
  93. {
  94. return $this->code;
  95. }
  96. /**
  97. * Set title
  98. *
  99. * @param text $value
  100. * @return SharedSurvey
  101. */
  102. public function set_title($value)
  103. {
  104. $this->title = $value;
  105. return $this;
  106. }
  107. /**
  108. * Get title
  109. *
  110. * @return text
  111. */
  112. public function get_title()
  113. {
  114. return $this->title;
  115. }
  116. /**
  117. * Set subtitle
  118. *
  119. * @param text $value
  120. * @return SharedSurvey
  121. */
  122. public function set_subtitle($value)
  123. {
  124. $this->subtitle = $value;
  125. return $this;
  126. }
  127. /**
  128. * Get subtitle
  129. *
  130. * @return text
  131. */
  132. public function get_subtitle()
  133. {
  134. return $this->subtitle;
  135. }
  136. /**
  137. * Set author
  138. *
  139. * @param string $value
  140. * @return SharedSurvey
  141. */
  142. public function set_author($value)
  143. {
  144. $this->author = $value;
  145. return $this;
  146. }
  147. /**
  148. * Get author
  149. *
  150. * @return string
  151. */
  152. public function get_author()
  153. {
  154. return $this->author;
  155. }
  156. /**
  157. * Set lang
  158. *
  159. * @param string $value
  160. * @return SharedSurvey
  161. */
  162. public function set_lang($value)
  163. {
  164. $this->lang = $value;
  165. return $this;
  166. }
  167. /**
  168. * Get lang
  169. *
  170. * @return string
  171. */
  172. public function get_lang()
  173. {
  174. return $this->lang;
  175. }
  176. /**
  177. * Set template
  178. *
  179. * @param string $value
  180. * @return SharedSurvey
  181. */
  182. public function set_template($value)
  183. {
  184. $this->template = $value;
  185. return $this;
  186. }
  187. /**
  188. * Get template
  189. *
  190. * @return string
  191. */
  192. public function get_template()
  193. {
  194. return $this->template;
  195. }
  196. /**
  197. * Set intro
  198. *
  199. * @param text $value
  200. * @return SharedSurvey
  201. */
  202. public function set_intro($value)
  203. {
  204. $this->intro = $value;
  205. return $this;
  206. }
  207. /**
  208. * Get intro
  209. *
  210. * @return text
  211. */
  212. public function get_intro()
  213. {
  214. return $this->intro;
  215. }
  216. /**
  217. * Set surveythanks
  218. *
  219. * @param text $value
  220. * @return SharedSurvey
  221. */
  222. public function set_surveythanks($value)
  223. {
  224. $this->surveythanks = $value;
  225. return $this;
  226. }
  227. /**
  228. * Get surveythanks
  229. *
  230. * @return text
  231. */
  232. public function get_surveythanks()
  233. {
  234. return $this->surveythanks;
  235. }
  236. /**
  237. * Set creation_date
  238. *
  239. * @param datetime $value
  240. * @return SharedSurvey
  241. */
  242. public function set_creation_date($value)
  243. {
  244. $this->creation_date = $value;
  245. return $this;
  246. }
  247. /**
  248. * Get creation_date
  249. *
  250. * @return datetime
  251. */
  252. public function get_creation_date()
  253. {
  254. return $this->creation_date;
  255. }
  256. /**
  257. * Set course_code
  258. *
  259. * @param string $value
  260. * @return SharedSurvey
  261. */
  262. public function set_course_code($value)
  263. {
  264. $this->course_code = $value;
  265. return $this;
  266. }
  267. /**
  268. * Get course_code
  269. *
  270. * @return string
  271. */
  272. public function get_course_code()
  273. {
  274. return $this->course_code;
  275. }
  276. }