Entity.AttendanceSheet.dcm.yml 542 B

1234567891011121314151617181920212223242526
  1. Entity\AttendanceSheet:
  2. type: entity
  3. table: c_attendance_sheet
  4. repositoryClass: Entity\Repository\AttendanceSheetRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. user_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. attendance_calendar_id:
  17. id: true
  18. type: integer
  19. unsigned: false
  20. nullable: false
  21. presence:
  22. type: boolean
  23. nullable: false
  24. lifecycleCallbacks:
  25. prePersist:
  26. - before_save