Entity.AttendanceResult.dcm.yml 612 B

123456789101112131415161718192021222324252627282930
  1. Entity\AttendanceResult:
  2. type: entity
  3. table: c_attendance_result
  4. repositoryClass: Entity\Repository\AttendanceResultRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. user_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. attendance_id:
  21. type: integer
  22. unsigned: false
  23. nullable: false
  24. score:
  25. type: integer
  26. unsigned: false
  27. nullable: false
  28. lifecycleCallbacks:
  29. prePersist:
  30. - before_save