grade_model.class.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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 GradeModel extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\GradeModelRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\GradeModelRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\GradeModel
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var string $name
  29. */
  30. protected $name;
  31. /**
  32. * @var text $description
  33. */
  34. protected $description;
  35. /**
  36. * @var boolean $default_lowest_eval_exclude
  37. */
  38. protected $default_lowest_eval_exclude;
  39. /**
  40. * @var boolean $default_external_eval
  41. */
  42. protected $default_external_eval;
  43. /**
  44. * @var string $default_external_eval_prefix
  45. */
  46. protected $default_external_eval_prefix;
  47. /**
  48. * Get id
  49. *
  50. * @return integer
  51. */
  52. public function get_id()
  53. {
  54. return $this->id;
  55. }
  56. /**
  57. * Set name
  58. *
  59. * @param string $value
  60. * @return GradeModel
  61. */
  62. public function set_name($value)
  63. {
  64. $this->name = $value;
  65. return $this;
  66. }
  67. /**
  68. * Get name
  69. *
  70. * @return string
  71. */
  72. public function get_name()
  73. {
  74. return $this->name;
  75. }
  76. /**
  77. * Set description
  78. *
  79. * @param text $value
  80. * @return GradeModel
  81. */
  82. public function set_description($value)
  83. {
  84. $this->description = $value;
  85. return $this;
  86. }
  87. /**
  88. * Get description
  89. *
  90. * @return text
  91. */
  92. public function get_description()
  93. {
  94. return $this->description;
  95. }
  96. /**
  97. * Set default_lowest_eval_exclude
  98. *
  99. * @param boolean $value
  100. * @return GradeModel
  101. */
  102. public function set_default_lowest_eval_exclude($value)
  103. {
  104. $this->default_lowest_eval_exclude = $value;
  105. return $this;
  106. }
  107. /**
  108. * Get default_lowest_eval_exclude
  109. *
  110. * @return boolean
  111. */
  112. public function get_default_lowest_eval_exclude()
  113. {
  114. return $this->default_lowest_eval_exclude;
  115. }
  116. /**
  117. * Set default_external_eval
  118. *
  119. * @param boolean $value
  120. * @return GradeModel
  121. */
  122. public function set_default_external_eval($value)
  123. {
  124. $this->default_external_eval = $value;
  125. return $this;
  126. }
  127. /**
  128. * Get default_external_eval
  129. *
  130. * @return boolean
  131. */
  132. public function get_default_external_eval()
  133. {
  134. return $this->default_external_eval;
  135. }
  136. /**
  137. * Set default_external_eval_prefix
  138. *
  139. * @param string $value
  140. * @return GradeModel
  141. */
  142. public function set_default_external_eval_prefix($value)
  143. {
  144. $this->default_external_eval_prefix = $value;
  145. return $this;
  146. }
  147. /**
  148. * Get default_external_eval_prefix
  149. *
  150. * @return string
  151. */
  152. public function get_default_external_eval_prefix()
  153. {
  154. return $this->default_external_eval_prefix;
  155. }
  156. }