survey_question_option.class.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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 SurveyQuestionOption extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\SurveyQuestionOptionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SurveyQuestionOptionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SurveyQuestionOption
  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_option_id
  29. */
  30. protected $question_option_id;
  31. /**
  32. * @var integer $question_id
  33. */
  34. protected $question_id;
  35. /**
  36. * @var integer $survey_id
  37. */
  38. protected $survey_id;
  39. /**
  40. * @var text $option_text
  41. */
  42. protected $option_text;
  43. /**
  44. * @var integer $sort
  45. */
  46. protected $sort;
  47. /**
  48. * @var integer $value
  49. */
  50. protected $value;
  51. /**
  52. * Set c_id
  53. *
  54. * @param integer $value
  55. * @return SurveyQuestionOption
  56. */
  57. public function set_c_id($value)
  58. {
  59. $this->c_id = $value;
  60. return $this;
  61. }
  62. /**
  63. * Get c_id
  64. *
  65. * @return integer
  66. */
  67. public function get_c_id()
  68. {
  69. return $this->c_id;
  70. }
  71. /**
  72. * Set question_option_id
  73. *
  74. * @param integer $value
  75. * @return SurveyQuestionOption
  76. */
  77. public function set_question_option_id($value)
  78. {
  79. $this->question_option_id = $value;
  80. return $this;
  81. }
  82. /**
  83. * Get question_option_id
  84. *
  85. * @return integer
  86. */
  87. public function get_question_option_id()
  88. {
  89. return $this->question_option_id;
  90. }
  91. /**
  92. * Set question_id
  93. *
  94. * @param integer $value
  95. * @return SurveyQuestionOption
  96. */
  97. public function set_question_id($value)
  98. {
  99. $this->question_id = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get question_id
  104. *
  105. * @return integer
  106. */
  107. public function get_question_id()
  108. {
  109. return $this->question_id;
  110. }
  111. /**
  112. * Set survey_id
  113. *
  114. * @param integer $value
  115. * @return SurveyQuestionOption
  116. */
  117. public function set_survey_id($value)
  118. {
  119. $this->survey_id = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get survey_id
  124. *
  125. * @return integer
  126. */
  127. public function get_survey_id()
  128. {
  129. return $this->survey_id;
  130. }
  131. /**
  132. * Set option_text
  133. *
  134. * @param text $value
  135. * @return SurveyQuestionOption
  136. */
  137. public function set_option_text($value)
  138. {
  139. $this->option_text = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get option_text
  144. *
  145. * @return text
  146. */
  147. public function get_option_text()
  148. {
  149. return $this->option_text;
  150. }
  151. /**
  152. * Set sort
  153. *
  154. * @param integer $value
  155. * @return SurveyQuestionOption
  156. */
  157. public function set_sort($value)
  158. {
  159. $this->sort = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get sort
  164. *
  165. * @return integer
  166. */
  167. public function get_sort()
  168. {
  169. return $this->sort;
  170. }
  171. /**
  172. * Set value
  173. *
  174. * @param integer $value
  175. * @return SurveyQuestionOption
  176. */
  177. public function set_value($value)
  178. {
  179. $this->value = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get value
  184. *
  185. * @return integer
  186. */
  187. public function get_value()
  188. {
  189. return $this->value;
  190. }
  191. }