quiz_question_category.class.php 2.1 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 QuizQuestionCategory extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\QuizQuestionCategoryRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\QuizQuestionCategoryRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\QuizQuestionCategory
  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 $id
  29. */
  30. protected $id;
  31. /**
  32. * @var string $title
  33. */
  34. protected $title;
  35. /**
  36. * @var text $description
  37. */
  38. protected $description;
  39. /**
  40. * Set c_id
  41. *
  42. * @param integer $value
  43. * @return QuizQuestionCategory
  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 id
  61. *
  62. * @param integer $value
  63. * @return QuizQuestionCategory
  64. */
  65. public function set_id($value)
  66. {
  67. $this->id = $value;
  68. return $this;
  69. }
  70. /**
  71. * Get id
  72. *
  73. * @return integer
  74. */
  75. public function get_id()
  76. {
  77. return $this->id;
  78. }
  79. /**
  80. * Set title
  81. *
  82. * @param string $value
  83. * @return QuizQuestionCategory
  84. */
  85. public function set_title($value)
  86. {
  87. $this->title = $value;
  88. return $this;
  89. }
  90. /**
  91. * Get title
  92. *
  93. * @return string
  94. */
  95. public function get_title()
  96. {
  97. return $this->title;
  98. }
  99. /**
  100. * Set description
  101. *
  102. * @param text $value
  103. * @return QuizQuestionCategory
  104. */
  105. public function set_description($value)
  106. {
  107. $this->description = $value;
  108. return $this;
  109. }
  110. /**
  111. * Get description
  112. *
  113. * @return text
  114. */
  115. public function get_description()
  116. {
  117. return $this->description;
  118. }
  119. }