Entity.GradebookEvaluation.dcm.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Entity\GradebookEvaluation:
  2. type: entity
  3. table: gradebook_evaluation
  4. repositoryClass: Entity\Repository\GradebookEvaluationRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. name:
  14. type: text
  15. nullable: false
  16. description:
  17. type: text
  18. nullable: true
  19. user_id:
  20. type: integer
  21. unsigned: false
  22. nullable: false
  23. course_code:
  24. type: string
  25. length: 40
  26. fixed: false
  27. nullable: true
  28. category_id:
  29. type: integer
  30. unsigned: false
  31. nullable: true
  32. created_at:
  33. type: datetime
  34. nullable: false
  35. weight:
  36. type: float
  37. nullable: false
  38. max:
  39. type: float
  40. nullable: false
  41. visible:
  42. type: integer
  43. unsigned: false
  44. nullable: false
  45. type:
  46. type: string
  47. length: 40
  48. fixed: false
  49. nullable: false
  50. locked:
  51. type: integer
  52. unsigned: false
  53. nullable: false
  54. lifecycleCallbacks:
  55. prePersist:
  56. - before_save