EntityGradebookCategory.php 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityGradebookCategory
  5. *
  6. * @Table(name="gradebook_category")
  7. * @Entity
  8. */
  9. class EntityGradebookCategory
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="IDENTITY")
  17. */
  18. private $id;
  19. /**
  20. * @var string
  21. *
  22. * @Column(name="name", type="text", precision=0, scale=0, nullable=false, unique=false)
  23. */
  24. private $name;
  25. /**
  26. * @var string
  27. *
  28. * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
  29. */
  30. private $description;
  31. /**
  32. * @var integer
  33. *
  34. * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  35. */
  36. private $userId;
  37. /**
  38. * @var string
  39. *
  40. * @Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
  41. */
  42. private $courseCode;
  43. /**
  44. * @var integer
  45. *
  46. * @Column(name="parent_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  47. */
  48. private $parentId;
  49. /**
  50. * @var float
  51. *
  52. * @Column(name="weight", type="float", precision=0, scale=0, nullable=false, unique=false)
  53. */
  54. private $weight;
  55. /**
  56. * @var boolean
  57. *
  58. * @Column(name="visible", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  59. */
  60. private $visible;
  61. /**
  62. * @var integer
  63. *
  64. * @Column(name="certif_min_score", type="integer", precision=0, scale=0, nullable=true, unique=false)
  65. */
  66. private $certifMinScore;
  67. /**
  68. * @var integer
  69. *
  70. * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  71. */
  72. private $sessionId;
  73. /**
  74. * @var integer
  75. *
  76. * @Column(name="document_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  77. */
  78. private $documentId;
  79. /**
  80. * @var integer
  81. *
  82. * @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
  83. */
  84. private $locked;
  85. /**
  86. * @var boolean
  87. *
  88. * @Column(name="default_lowest_eval_exclude", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  89. */
  90. private $defaultLowestEvalExclude;
  91. /**
  92. * @var integer
  93. *
  94. * @Column(name="grade_model_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  95. */
  96. private $gradeModelId;
  97. /**
  98. * Get id
  99. *
  100. * @return integer
  101. */
  102. public function getId()
  103. {
  104. return $this->id;
  105. }
  106. /**
  107. * Set name
  108. *
  109. * @param string $name
  110. * @return EntityGradebookCategory
  111. */
  112. public function setName($name)
  113. {
  114. $this->name = $name;
  115. return $this;
  116. }
  117. /**
  118. * Get name
  119. *
  120. * @return string
  121. */
  122. public function getName()
  123. {
  124. return $this->name;
  125. }
  126. /**
  127. * Set description
  128. *
  129. * @param string $description
  130. * @return EntityGradebookCategory
  131. */
  132. public function setDescription($description)
  133. {
  134. $this->description = $description;
  135. return $this;
  136. }
  137. /**
  138. * Get description
  139. *
  140. * @return string
  141. */
  142. public function getDescription()
  143. {
  144. return $this->description;
  145. }
  146. /**
  147. * Set userId
  148. *
  149. * @param integer $userId
  150. * @return EntityGradebookCategory
  151. */
  152. public function setUserId($userId)
  153. {
  154. $this->userId = $userId;
  155. return $this;
  156. }
  157. /**
  158. * Get userId
  159. *
  160. * @return integer
  161. */
  162. public function getUserId()
  163. {
  164. return $this->userId;
  165. }
  166. /**
  167. * Set courseCode
  168. *
  169. * @param string $courseCode
  170. * @return EntityGradebookCategory
  171. */
  172. public function setCourseCode($courseCode)
  173. {
  174. $this->courseCode = $courseCode;
  175. return $this;
  176. }
  177. /**
  178. * Get courseCode
  179. *
  180. * @return string
  181. */
  182. public function getCourseCode()
  183. {
  184. return $this->courseCode;
  185. }
  186. /**
  187. * Set parentId
  188. *
  189. * @param integer $parentId
  190. * @return EntityGradebookCategory
  191. */
  192. public function setParentId($parentId)
  193. {
  194. $this->parentId = $parentId;
  195. return $this;
  196. }
  197. /**
  198. * Get parentId
  199. *
  200. * @return integer
  201. */
  202. public function getParentId()
  203. {
  204. return $this->parentId;
  205. }
  206. /**
  207. * Set weight
  208. *
  209. * @param float $weight
  210. * @return EntityGradebookCategory
  211. */
  212. public function setWeight($weight)
  213. {
  214. $this->weight = $weight;
  215. return $this;
  216. }
  217. /**
  218. * Get weight
  219. *
  220. * @return float
  221. */
  222. public function getWeight()
  223. {
  224. return $this->weight;
  225. }
  226. /**
  227. * Set visible
  228. *
  229. * @param boolean $visible
  230. * @return EntityGradebookCategory
  231. */
  232. public function setVisible($visible)
  233. {
  234. $this->visible = $visible;
  235. return $this;
  236. }
  237. /**
  238. * Get visible
  239. *
  240. * @return boolean
  241. */
  242. public function getVisible()
  243. {
  244. return $this->visible;
  245. }
  246. /**
  247. * Set certifMinScore
  248. *
  249. * @param integer $certifMinScore
  250. * @return EntityGradebookCategory
  251. */
  252. public function setCertifMinScore($certifMinScore)
  253. {
  254. $this->certifMinScore = $certifMinScore;
  255. return $this;
  256. }
  257. /**
  258. * Get certifMinScore
  259. *
  260. * @return integer
  261. */
  262. public function getCertifMinScore()
  263. {
  264. return $this->certifMinScore;
  265. }
  266. /**
  267. * Set sessionId
  268. *
  269. * @param integer $sessionId
  270. * @return EntityGradebookCategory
  271. */
  272. public function setSessionId($sessionId)
  273. {
  274. $this->sessionId = $sessionId;
  275. return $this;
  276. }
  277. /**
  278. * Get sessionId
  279. *
  280. * @return integer
  281. */
  282. public function getSessionId()
  283. {
  284. return $this->sessionId;
  285. }
  286. /**
  287. * Set documentId
  288. *
  289. * @param integer $documentId
  290. * @return EntityGradebookCategory
  291. */
  292. public function setDocumentId($documentId)
  293. {
  294. $this->documentId = $documentId;
  295. return $this;
  296. }
  297. /**
  298. * Get documentId
  299. *
  300. * @return integer
  301. */
  302. public function getDocumentId()
  303. {
  304. return $this->documentId;
  305. }
  306. /**
  307. * Set locked
  308. *
  309. * @param integer $locked
  310. * @return EntityGradebookCategory
  311. */
  312. public function setLocked($locked)
  313. {
  314. $this->locked = $locked;
  315. return $this;
  316. }
  317. /**
  318. * Get locked
  319. *
  320. * @return integer
  321. */
  322. public function getLocked()
  323. {
  324. return $this->locked;
  325. }
  326. /**
  327. * Set defaultLowestEvalExclude
  328. *
  329. * @param boolean $defaultLowestEvalExclude
  330. * @return EntityGradebookCategory
  331. */
  332. public function setDefaultLowestEvalExclude($defaultLowestEvalExclude)
  333. {
  334. $this->defaultLowestEvalExclude = $defaultLowestEvalExclude;
  335. return $this;
  336. }
  337. /**
  338. * Get defaultLowestEvalExclude
  339. *
  340. * @return boolean
  341. */
  342. public function getDefaultLowestEvalExclude()
  343. {
  344. return $this->defaultLowestEvalExclude;
  345. }
  346. /**
  347. * Set gradeModelId
  348. *
  349. * @param integer $gradeModelId
  350. * @return EntityGradebookCategory
  351. */
  352. public function setGradeModelId($gradeModelId)
  353. {
  354. $this->gradeModelId = $gradeModelId;
  355. return $this;
  356. }
  357. /**
  358. * Get gradeModelId
  359. *
  360. * @return integer
  361. */
  362. public function getGradeModelId()
  363. {
  364. return $this->gradeModelId;
  365. }
  366. }