usergroup_rel_question.class.php 2.4 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 UsergroupRelQuestion extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\UsergroupRelQuestionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\UsergroupRelQuestionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\UsergroupRelQuestion
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $c_id
  29. */
  30. protected $c_id;
  31. /**
  32. * @var integer $question_id
  33. */
  34. protected $question_id;
  35. /**
  36. * @var integer $usergroup_id
  37. */
  38. protected $usergroup_id;
  39. /**
  40. * @var float $coefficient
  41. */
  42. protected $coefficient;
  43. /**
  44. * Get id
  45. *
  46. * @return integer
  47. */
  48. public function get_id()
  49. {
  50. return $this->id;
  51. }
  52. /**
  53. * Set c_id
  54. *
  55. * @param integer $value
  56. * @return UsergroupRelQuestion
  57. */
  58. public function set_c_id($value)
  59. {
  60. $this->c_id = $value;
  61. return $this;
  62. }
  63. /**
  64. * Get c_id
  65. *
  66. * @return integer
  67. */
  68. public function get_c_id()
  69. {
  70. return $this->c_id;
  71. }
  72. /**
  73. * Set question_id
  74. *
  75. * @param integer $value
  76. * @return UsergroupRelQuestion
  77. */
  78. public function set_question_id($value)
  79. {
  80. $this->question_id = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get question_id
  85. *
  86. * @return integer
  87. */
  88. public function get_question_id()
  89. {
  90. return $this->question_id;
  91. }
  92. /**
  93. * Set usergroup_id
  94. *
  95. * @param integer $value
  96. * @return UsergroupRelQuestion
  97. */
  98. public function set_usergroup_id($value)
  99. {
  100. $this->usergroup_id = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get usergroup_id
  105. *
  106. * @return integer
  107. */
  108. public function get_usergroup_id()
  109. {
  110. return $this->usergroup_id;
  111. }
  112. /**
  113. * Set coefficient
  114. *
  115. * @param float $value
  116. * @return UsergroupRelQuestion
  117. */
  118. public function set_coefficient($value)
  119. {
  120. $this->coefficient = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get coefficient
  125. *
  126. * @return float
  127. */
  128. public function get_coefficient()
  129. {
  130. return $this->coefficient;
  131. }
  132. }