quiz_rel_question.class.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 QuizRelQuestion extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\QuizRelQuestionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\QuizRelQuestionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\QuizRelQuestion
  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 $exercice_id
  33. */
  34. protected $exercice_id;
  35. /**
  36. * @var integer $question_order
  37. */
  38. protected $question_order;
  39. /**
  40. * Set c_id
  41. *
  42. * @param integer $value
  43. * @return QuizRelQuestion
  44. */
  45. public function set_c_id($value)
  46. {
  47. $this->c_id = $value;
  48. return $this;
  49. }
  50. /**
  51. * Get c_id
  52. *
  53. * @return integer
  54. */
  55. public function get_c_id()
  56. {
  57. return $this->c_id;
  58. }
  59. /**
  60. * Set question_id
  61. *
  62. * @param integer $value
  63. * @return QuizRelQuestion
  64. */
  65. public function set_question_id($value)
  66. {
  67. $this->question_id = $value;
  68. return $this;
  69. }
  70. /**
  71. * Get question_id
  72. *
  73. * @return integer
  74. */
  75. public function get_question_id()
  76. {
  77. return $this->question_id;
  78. }
  79. /**
  80. * Set exercice_id
  81. *
  82. * @param integer $value
  83. * @return QuizRelQuestion
  84. */
  85. public function set_exercice_id($value)
  86. {
  87. $this->exercice_id = $value;
  88. return $this;
  89. }
  90. /**
  91. * Get exercice_id
  92. *
  93. * @return integer
  94. */
  95. public function get_exercice_id()
  96. {
  97. return $this->exercice_id;
  98. }
  99. /**
  100. * Set question_order
  101. *
  102. * @param integer $value
  103. * @return QuizRelQuestion
  104. */
  105. public function set_question_order($value)
  106. {
  107. $this->question_order = $value;
  108. return $this;
  109. }
  110. /**
  111. * Get question_order
  112. *
  113. * @return integer
  114. */
  115. public function get_question_order()
  116. {
  117. return $this->question_order;
  118. }
  119. }