survey_question.class.php 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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 SurveyQuestion extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\SurveyQuestionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SurveyQuestionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SurveyQuestion
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $c_id
  25. */
  26. protected $c_id;
  27. /**
  28. * @var integer $question_id
  29. */
  30. protected $question_id;
  31. /**
  32. * @var integer $survey_id
  33. */
  34. protected $survey_id;
  35. /**
  36. * @var text $survey_question
  37. */
  38. protected $survey_question;
  39. /**
  40. * @var text $survey_question_comment
  41. */
  42. protected $survey_question_comment;
  43. /**
  44. * @var string $type
  45. */
  46. protected $type;
  47. /**
  48. * @var string $display
  49. */
  50. protected $display;
  51. /**
  52. * @var integer $sort
  53. */
  54. protected $sort;
  55. /**
  56. * @var integer $shared_question_id
  57. */
  58. protected $shared_question_id;
  59. /**
  60. * @var integer $max_value
  61. */
  62. protected $max_value;
  63. /**
  64. * @var integer $survey_group_pri
  65. */
  66. protected $survey_group_pri;
  67. /**
  68. * @var integer $survey_group_sec1
  69. */
  70. protected $survey_group_sec1;
  71. /**
  72. * @var integer $survey_group_sec2
  73. */
  74. protected $survey_group_sec2;
  75. /**
  76. * Set c_id
  77. *
  78. * @param integer $value
  79. * @return SurveyQuestion
  80. */
  81. public function set_c_id($value)
  82. {
  83. $this->c_id = $value;
  84. return $this;
  85. }
  86. /**
  87. * Get c_id
  88. *
  89. * @return integer
  90. */
  91. public function get_c_id()
  92. {
  93. return $this->c_id;
  94. }
  95. /**
  96. * Set question_id
  97. *
  98. * @param integer $value
  99. * @return SurveyQuestion
  100. */
  101. public function set_question_id($value)
  102. {
  103. $this->question_id = $value;
  104. return $this;
  105. }
  106. /**
  107. * Get question_id
  108. *
  109. * @return integer
  110. */
  111. public function get_question_id()
  112. {
  113. return $this->question_id;
  114. }
  115. /**
  116. * Set survey_id
  117. *
  118. * @param integer $value
  119. * @return SurveyQuestion
  120. */
  121. public function set_survey_id($value)
  122. {
  123. $this->survey_id = $value;
  124. return $this;
  125. }
  126. /**
  127. * Get survey_id
  128. *
  129. * @return integer
  130. */
  131. public function get_survey_id()
  132. {
  133. return $this->survey_id;
  134. }
  135. /**
  136. * Set survey_question
  137. *
  138. * @param text $value
  139. * @return SurveyQuestion
  140. */
  141. public function set_survey_question($value)
  142. {
  143. $this->survey_question = $value;
  144. return $this;
  145. }
  146. /**
  147. * Get survey_question
  148. *
  149. * @return text
  150. */
  151. public function get_survey_question()
  152. {
  153. return $this->survey_question;
  154. }
  155. /**
  156. * Set survey_question_comment
  157. *
  158. * @param text $value
  159. * @return SurveyQuestion
  160. */
  161. public function set_survey_question_comment($value)
  162. {
  163. $this->survey_question_comment = $value;
  164. return $this;
  165. }
  166. /**
  167. * Get survey_question_comment
  168. *
  169. * @return text
  170. */
  171. public function get_survey_question_comment()
  172. {
  173. return $this->survey_question_comment;
  174. }
  175. /**
  176. * Set type
  177. *
  178. * @param string $value
  179. * @return SurveyQuestion
  180. */
  181. public function set_type($value)
  182. {
  183. $this->type = $value;
  184. return $this;
  185. }
  186. /**
  187. * Get type
  188. *
  189. * @return string
  190. */
  191. public function get_type()
  192. {
  193. return $this->type;
  194. }
  195. /**
  196. * Set display
  197. *
  198. * @param string $value
  199. * @return SurveyQuestion
  200. */
  201. public function set_display($value)
  202. {
  203. $this->display = $value;
  204. return $this;
  205. }
  206. /**
  207. * Get display
  208. *
  209. * @return string
  210. */
  211. public function get_display()
  212. {
  213. return $this->display;
  214. }
  215. /**
  216. * Set sort
  217. *
  218. * @param integer $value
  219. * @return SurveyQuestion
  220. */
  221. public function set_sort($value)
  222. {
  223. $this->sort = $value;
  224. return $this;
  225. }
  226. /**
  227. * Get sort
  228. *
  229. * @return integer
  230. */
  231. public function get_sort()
  232. {
  233. return $this->sort;
  234. }
  235. /**
  236. * Set shared_question_id
  237. *
  238. * @param integer $value
  239. * @return SurveyQuestion
  240. */
  241. public function set_shared_question_id($value)
  242. {
  243. $this->shared_question_id = $value;
  244. return $this;
  245. }
  246. /**
  247. * Get shared_question_id
  248. *
  249. * @return integer
  250. */
  251. public function get_shared_question_id()
  252. {
  253. return $this->shared_question_id;
  254. }
  255. /**
  256. * Set max_value
  257. *
  258. * @param integer $value
  259. * @return SurveyQuestion
  260. */
  261. public function set_max_value($value)
  262. {
  263. $this->max_value = $value;
  264. return $this;
  265. }
  266. /**
  267. * Get max_value
  268. *
  269. * @return integer
  270. */
  271. public function get_max_value()
  272. {
  273. return $this->max_value;
  274. }
  275. /**
  276. * Set survey_group_pri
  277. *
  278. * @param integer $value
  279. * @return SurveyQuestion
  280. */
  281. public function set_survey_group_pri($value)
  282. {
  283. $this->survey_group_pri = $value;
  284. return $this;
  285. }
  286. /**
  287. * Get survey_group_pri
  288. *
  289. * @return integer
  290. */
  291. public function get_survey_group_pri()
  292. {
  293. return $this->survey_group_pri;
  294. }
  295. /**
  296. * Set survey_group_sec1
  297. *
  298. * @param integer $value
  299. * @return SurveyQuestion
  300. */
  301. public function set_survey_group_sec1($value)
  302. {
  303. $this->survey_group_sec1 = $value;
  304. return $this;
  305. }
  306. /**
  307. * Get survey_group_sec1
  308. *
  309. * @return integer
  310. */
  311. public function get_survey_group_sec1()
  312. {
  313. return $this->survey_group_sec1;
  314. }
  315. /**
  316. * Set survey_group_sec2
  317. *
  318. * @param integer $value
  319. * @return SurveyQuestion
  320. */
  321. public function set_survey_group_sec2($value)
  322. {
  323. $this->survey_group_sec2 = $value;
  324. return $this;
  325. }
  326. /**
  327. * Get survey_group_sec2
  328. *
  329. * @return integer
  330. */
  331. public function get_survey_group_sec2()
  332. {
  333. return $this->survey_group_sec2;
  334. }
  335. }