gradebook_evaluation.class.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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 GradebookEvaluation extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\GradebookEvaluationRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\GradebookEvaluationRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\GradebookEvaluation
  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 $category_id
  45. */
  46. protected $category_id;
  47. /**
  48. * @var datetime $created_at
  49. */
  50. protected $created_at;
  51. /**
  52. * @var float $weight
  53. */
  54. protected $weight;
  55. /**
  56. * @var float $max
  57. */
  58. protected $max;
  59. /**
  60. * @var integer $visible
  61. */
  62. protected $visible;
  63. /**
  64. * @var string $type
  65. */
  66. protected $type;
  67. /**
  68. * @var integer $locked
  69. */
  70. protected $locked;
  71. /**
  72. * Get id
  73. *
  74. * @return integer
  75. */
  76. public function get_id()
  77. {
  78. return $this->id;
  79. }
  80. /**
  81. * Set name
  82. *
  83. * @param text $value
  84. * @return GradebookEvaluation
  85. */
  86. public function set_name($value)
  87. {
  88. $this->name = $value;
  89. return $this;
  90. }
  91. /**
  92. * Get name
  93. *
  94. * @return text
  95. */
  96. public function get_name()
  97. {
  98. return $this->name;
  99. }
  100. /**
  101. * Set description
  102. *
  103. * @param text $value
  104. * @return GradebookEvaluation
  105. */
  106. public function set_description($value)
  107. {
  108. $this->description = $value;
  109. return $this;
  110. }
  111. /**
  112. * Get description
  113. *
  114. * @return text
  115. */
  116. public function get_description()
  117. {
  118. return $this->description;
  119. }
  120. /**
  121. * Set user_id
  122. *
  123. * @param integer $value
  124. * @return GradebookEvaluation
  125. */
  126. public function set_user_id($value)
  127. {
  128. $this->user_id = $value;
  129. return $this;
  130. }
  131. /**
  132. * Get user_id
  133. *
  134. * @return integer
  135. */
  136. public function get_user_id()
  137. {
  138. return $this->user_id;
  139. }
  140. /**
  141. * Set course_code
  142. *
  143. * @param string $value
  144. * @return GradebookEvaluation
  145. */
  146. public function set_course_code($value)
  147. {
  148. $this->course_code = $value;
  149. return $this;
  150. }
  151. /**
  152. * Get course_code
  153. *
  154. * @return string
  155. */
  156. public function get_course_code()
  157. {
  158. return $this->course_code;
  159. }
  160. /**
  161. * Set category_id
  162. *
  163. * @param integer $value
  164. * @return GradebookEvaluation
  165. */
  166. public function set_category_id($value)
  167. {
  168. $this->category_id = $value;
  169. return $this;
  170. }
  171. /**
  172. * Get category_id
  173. *
  174. * @return integer
  175. */
  176. public function get_category_id()
  177. {
  178. return $this->category_id;
  179. }
  180. /**
  181. * Set created_at
  182. *
  183. * @param datetime $value
  184. * @return GradebookEvaluation
  185. */
  186. public function set_created_at($value)
  187. {
  188. $this->created_at = $value;
  189. return $this;
  190. }
  191. /**
  192. * Get created_at
  193. *
  194. * @return datetime
  195. */
  196. public function get_created_at()
  197. {
  198. return $this->created_at;
  199. }
  200. /**
  201. * Set weight
  202. *
  203. * @param float $value
  204. * @return GradebookEvaluation
  205. */
  206. public function set_weight($value)
  207. {
  208. $this->weight = $value;
  209. return $this;
  210. }
  211. /**
  212. * Get weight
  213. *
  214. * @return float
  215. */
  216. public function get_weight()
  217. {
  218. return $this->weight;
  219. }
  220. /**
  221. * Set max
  222. *
  223. * @param float $value
  224. * @return GradebookEvaluation
  225. */
  226. public function set_max($value)
  227. {
  228. $this->max = $value;
  229. return $this;
  230. }
  231. /**
  232. * Get max
  233. *
  234. * @return float
  235. */
  236. public function get_max()
  237. {
  238. return $this->max;
  239. }
  240. /**
  241. * Set visible
  242. *
  243. * @param integer $value
  244. * @return GradebookEvaluation
  245. */
  246. public function set_visible($value)
  247. {
  248. $this->visible = $value;
  249. return $this;
  250. }
  251. /**
  252. * Get visible
  253. *
  254. * @return integer
  255. */
  256. public function get_visible()
  257. {
  258. return $this->visible;
  259. }
  260. /**
  261. * Set type
  262. *
  263. * @param string $value
  264. * @return GradebookEvaluation
  265. */
  266. public function set_type($value)
  267. {
  268. $this->type = $value;
  269. return $this;
  270. }
  271. /**
  272. * Get type
  273. *
  274. * @return string
  275. */
  276. public function get_type()
  277. {
  278. return $this->type;
  279. }
  280. /**
  281. * Set locked
  282. *
  283. * @param integer $value
  284. * @return GradebookEvaluation
  285. */
  286. public function set_locked($value)
  287. {
  288. $this->locked = $value;
  289. return $this;
  290. }
  291. /**
  292. * Get locked
  293. *
  294. * @return integer
  295. */
  296. public function get_locked()
  297. {
  298. return $this->locked;
  299. }
  300. }