gradebook_link.class.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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 GradebookLink extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\GradebookLinkRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\GradebookLinkRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\GradebookLink
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var integer $type
  29. */
  30. protected $type;
  31. /**
  32. * @var integer $ref_id
  33. */
  34. protected $ref_id;
  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 integer $visible
  57. */
  58. protected $visible;
  59. /**
  60. * @var integer $locked
  61. */
  62. protected $locked;
  63. /**
  64. * Get id
  65. *
  66. * @return integer
  67. */
  68. public function get_id()
  69. {
  70. return $this->id;
  71. }
  72. /**
  73. * Set type
  74. *
  75. * @param integer $value
  76. * @return GradebookLink
  77. */
  78. public function set_type($value)
  79. {
  80. $this->type = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get type
  85. *
  86. * @return integer
  87. */
  88. public function get_type()
  89. {
  90. return $this->type;
  91. }
  92. /**
  93. * Set ref_id
  94. *
  95. * @param integer $value
  96. * @return GradebookLink
  97. */
  98. public function set_ref_id($value)
  99. {
  100. $this->ref_id = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get ref_id
  105. *
  106. * @return integer
  107. */
  108. public function get_ref_id()
  109. {
  110. return $this->ref_id;
  111. }
  112. /**
  113. * Set user_id
  114. *
  115. * @param integer $value
  116. * @return GradebookLink
  117. */
  118. public function set_user_id($value)
  119. {
  120. $this->user_id = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get user_id
  125. *
  126. * @return integer
  127. */
  128. public function get_user_id()
  129. {
  130. return $this->user_id;
  131. }
  132. /**
  133. * Set course_code
  134. *
  135. * @param string $value
  136. * @return GradebookLink
  137. */
  138. public function set_course_code($value)
  139. {
  140. $this->course_code = $value;
  141. return $this;
  142. }
  143. /**
  144. * Get course_code
  145. *
  146. * @return string
  147. */
  148. public function get_course_code()
  149. {
  150. return $this->course_code;
  151. }
  152. /**
  153. * Set category_id
  154. *
  155. * @param integer $value
  156. * @return GradebookLink
  157. */
  158. public function set_category_id($value)
  159. {
  160. $this->category_id = $value;
  161. return $this;
  162. }
  163. /**
  164. * Get category_id
  165. *
  166. * @return integer
  167. */
  168. public function get_category_id()
  169. {
  170. return $this->category_id;
  171. }
  172. /**
  173. * Set created_at
  174. *
  175. * @param datetime $value
  176. * @return GradebookLink
  177. */
  178. public function set_created_at($value)
  179. {
  180. $this->created_at = $value;
  181. return $this;
  182. }
  183. /**
  184. * Get created_at
  185. *
  186. * @return datetime
  187. */
  188. public function get_created_at()
  189. {
  190. return $this->created_at;
  191. }
  192. /**
  193. * Set weight
  194. *
  195. * @param float $value
  196. * @return GradebookLink
  197. */
  198. public function set_weight($value)
  199. {
  200. $this->weight = $value;
  201. return $this;
  202. }
  203. /**
  204. * Get weight
  205. *
  206. * @return float
  207. */
  208. public function get_weight()
  209. {
  210. return $this->weight;
  211. }
  212. /**
  213. * Set visible
  214. *
  215. * @param integer $value
  216. * @return GradebookLink
  217. */
  218. public function set_visible($value)
  219. {
  220. $this->visible = $value;
  221. return $this;
  222. }
  223. /**
  224. * Get visible
  225. *
  226. * @return integer
  227. */
  228. public function get_visible()
  229. {
  230. return $this->visible;
  231. }
  232. /**
  233. * Set locked
  234. *
  235. * @param integer $value
  236. * @return GradebookLink
  237. */
  238. public function set_locked($value)
  239. {
  240. $this->locked = $value;
  241. return $this;
  242. }
  243. /**
  244. * Get locked
  245. *
  246. * @return integer
  247. */
  248. public function get_locked()
  249. {
  250. return $this->locked;
  251. }
  252. }