gradebook_category.class.php 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  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 GradebookCategory extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\GradebookCategoryRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\GradebookCategoryRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\GradebookCategory
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var text $name
  29. */
  30. protected $name;
  31. /**
  32. * @var text $description
  33. */
  34. protected $description;
  35. /**
  36. * @var integer $user_id
  37. */
  38. protected $user_id;
  39. /**
  40. * @var string $course_code
  41. */
  42. protected $course_code;
  43. /**
  44. * @var integer $parent_id
  45. */
  46. protected $parent_id;
  47. /**
  48. * @var float $weight
  49. */
  50. protected $weight;
  51. /**
  52. * @var boolean $visible
  53. */
  54. protected $visible;
  55. /**
  56. * @var integer $certif_min_score
  57. */
  58. protected $certif_min_score;
  59. /**
  60. * @var integer $session_id
  61. */
  62. protected $session_id;
  63. /**
  64. * @var integer $document_id
  65. */
  66. protected $document_id;
  67. /**
  68. * @var integer $locked
  69. */
  70. protected $locked;
  71. /**
  72. * @var boolean $default_lowest_eval_exclude
  73. */
  74. protected $default_lowest_eval_exclude;
  75. /**
  76. * @var integer $grade_model_id
  77. */
  78. protected $grade_model_id;
  79. /**
  80. * Get id
  81. *
  82. * @return integer
  83. */
  84. public function get_id()
  85. {
  86. return $this->id;
  87. }
  88. /**
  89. * Set name
  90. *
  91. * @param text $value
  92. * @return GradebookCategory
  93. */
  94. public function set_name($value)
  95. {
  96. $this->name = $value;
  97. return $this;
  98. }
  99. /**
  100. * Get name
  101. *
  102. * @return text
  103. */
  104. public function get_name()
  105. {
  106. return $this->name;
  107. }
  108. /**
  109. * Set description
  110. *
  111. * @param text $value
  112. * @return GradebookCategory
  113. */
  114. public function set_description($value)
  115. {
  116. $this->description = $value;
  117. return $this;
  118. }
  119. /**
  120. * Get description
  121. *
  122. * @return text
  123. */
  124. public function get_description()
  125. {
  126. return $this->description;
  127. }
  128. /**
  129. * Set user_id
  130. *
  131. * @param integer $value
  132. * @return GradebookCategory
  133. */
  134. public function set_user_id($value)
  135. {
  136. $this->user_id = $value;
  137. return $this;
  138. }
  139. /**
  140. * Get user_id
  141. *
  142. * @return integer
  143. */
  144. public function get_user_id()
  145. {
  146. return $this->user_id;
  147. }
  148. /**
  149. * Set course_code
  150. *
  151. * @param string $value
  152. * @return GradebookCategory
  153. */
  154. public function set_course_code($value)
  155. {
  156. $this->course_code = $value;
  157. return $this;
  158. }
  159. /**
  160. * Get course_code
  161. *
  162. * @return string
  163. */
  164. public function get_course_code()
  165. {
  166. return $this->course_code;
  167. }
  168. /**
  169. * Set parent_id
  170. *
  171. * @param integer $value
  172. * @return GradebookCategory
  173. */
  174. public function set_parent_id($value)
  175. {
  176. $this->parent_id = $value;
  177. return $this;
  178. }
  179. /**
  180. * Get parent_id
  181. *
  182. * @return integer
  183. */
  184. public function get_parent_id()
  185. {
  186. return $this->parent_id;
  187. }
  188. /**
  189. * Set weight
  190. *
  191. * @param float $value
  192. * @return GradebookCategory
  193. */
  194. public function set_weight($value)
  195. {
  196. $this->weight = $value;
  197. return $this;
  198. }
  199. /**
  200. * Get weight
  201. *
  202. * @return float
  203. */
  204. public function get_weight()
  205. {
  206. return $this->weight;
  207. }
  208. /**
  209. * Set visible
  210. *
  211. * @param boolean $value
  212. * @return GradebookCategory
  213. */
  214. public function set_visible($value)
  215. {
  216. $this->visible = $value;
  217. return $this;
  218. }
  219. /**
  220. * Get visible
  221. *
  222. * @return boolean
  223. */
  224. public function get_visible()
  225. {
  226. return $this->visible;
  227. }
  228. /**
  229. * Set certif_min_score
  230. *
  231. * @param integer $value
  232. * @return GradebookCategory
  233. */
  234. public function set_certif_min_score($value)
  235. {
  236. $this->certif_min_score = $value;
  237. return $this;
  238. }
  239. /**
  240. * Get certif_min_score
  241. *
  242. * @return integer
  243. */
  244. public function get_certif_min_score()
  245. {
  246. return $this->certif_min_score;
  247. }
  248. /**
  249. * Set session_id
  250. *
  251. * @param integer $value
  252. * @return GradebookCategory
  253. */
  254. public function set_session_id($value)
  255. {
  256. $this->session_id = $value;
  257. return $this;
  258. }
  259. /**
  260. * Get session_id
  261. *
  262. * @return integer
  263. */
  264. public function get_session_id()
  265. {
  266. return $this->session_id;
  267. }
  268. /**
  269. * Set document_id
  270. *
  271. * @param integer $value
  272. * @return GradebookCategory
  273. */
  274. public function set_document_id($value)
  275. {
  276. $this->document_id = $value;
  277. return $this;
  278. }
  279. /**
  280. * Get document_id
  281. *
  282. * @return integer
  283. */
  284. public function get_document_id()
  285. {
  286. return $this->document_id;
  287. }
  288. /**
  289. * Set locked
  290. *
  291. * @param integer $value
  292. * @return GradebookCategory
  293. */
  294. public function set_locked($value)
  295. {
  296. $this->locked = $value;
  297. return $this;
  298. }
  299. /**
  300. * Get locked
  301. *
  302. * @return integer
  303. */
  304. public function get_locked()
  305. {
  306. return $this->locked;
  307. }
  308. /**
  309. * Set default_lowest_eval_exclude
  310. *
  311. * @param boolean $value
  312. * @return GradebookCategory
  313. */
  314. public function set_default_lowest_eval_exclude($value)
  315. {
  316. $this->default_lowest_eval_exclude = $value;
  317. return $this;
  318. }
  319. /**
  320. * Get default_lowest_eval_exclude
  321. *
  322. * @return boolean
  323. */
  324. public function get_default_lowest_eval_exclude()
  325. {
  326. return $this->default_lowest_eval_exclude;
  327. }
  328. /**
  329. * Set grade_model_id
  330. *
  331. * @param integer $value
  332. * @return GradebookCategory
  333. */
  334. public function set_grade_model_id($value)
  335. {
  336. $this->grade_model_id = $value;
  337. return $this;
  338. }
  339. /**
  340. * Get grade_model_id
  341. *
  342. * @return integer
  343. */
  344. public function get_grade_model_id()
  345. {
  346. return $this->grade_model_id;
  347. }
  348. }