Entity.GradebookResult.dcm.yml 596 B

1234567891011121314151617181920212223242526272829
  1. Entity\GradebookResult:
  2. type: entity
  3. table: gradebook_result
  4. repositoryClass: Entity\Repository\GradebookResultRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. user_id:
  14. type: integer
  15. unsigned: false
  16. nullable: false
  17. evaluation_id:
  18. type: integer
  19. unsigned: false
  20. nullable: false
  21. created_at:
  22. type: datetime
  23. nullable: false
  24. score:
  25. type: float
  26. nullable: true
  27. lifecycleCallbacks:
  28. prePersist:
  29. - before_save