shared_survey_question_option.class.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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 SharedSurveyQuestionOption extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SharedSurveyQuestionOptionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SharedSurveyQuestionOptionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SharedSurveyQuestionOption
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $question_option_id
  25. */
  26. protected $question_option_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 $option_text
  37. */
  38. protected $option_text;
  39. /**
  40. * @var integer $sort
  41. */
  42. protected $sort;
  43. /**
  44. * Get question_option_id
  45. *
  46. * @return integer
  47. */
  48. public function get_question_option_id()
  49. {
  50. return $this->question_option_id;
  51. }
  52. /**
  53. * Set question_id
  54. *
  55. * @param integer $value
  56. * @return SharedSurveyQuestionOption
  57. */
  58. public function set_question_id($value)
  59. {
  60. $this->question_id = $value;
  61. return $this;
  62. }
  63. /**
  64. * Get question_id
  65. *
  66. * @return integer
  67. */
  68. public function get_question_id()
  69. {
  70. return $this->question_id;
  71. }
  72. /**
  73. * Set survey_id
  74. *
  75. * @param integer $value
  76. * @return SharedSurveyQuestionOption
  77. */
  78. public function set_survey_id($value)
  79. {
  80. $this->survey_id = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get survey_id
  85. *
  86. * @return integer
  87. */
  88. public function get_survey_id()
  89. {
  90. return $this->survey_id;
  91. }
  92. /**
  93. * Set option_text
  94. *
  95. * @param text $value
  96. * @return SharedSurveyQuestionOption
  97. */
  98. public function set_option_text($value)
  99. {
  100. $this->option_text = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get option_text
  105. *
  106. * @return text
  107. */
  108. public function get_option_text()
  109. {
  110. return $this->option_text;
  111. }
  112. /**
  113. * Set sort
  114. *
  115. * @param integer $value
  116. * @return SharedSurveyQuestionOption
  117. */
  118. public function set_sort($value)
  119. {
  120. $this->sort = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get sort
  125. *
  126. * @return integer
  127. */
  128. public function get_sort()
  129. {
  130. return $this->sort;
  131. }
  132. }