Entity.GradeComponents.dcm.yml 685 B

12345678910111213141516171819202122232425262728293031323334
  1. Entity\GradeComponents:
  2. type: entity
  3. table: grade_components
  4. repositoryClass: Entity\Repository\GradeComponentsRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. percentage:
  14. type: string
  15. length: 255
  16. fixed: false
  17. nullable: false
  18. title:
  19. type: string
  20. length: 255
  21. fixed: false
  22. nullable: false
  23. acronym:
  24. type: string
  25. length: 255
  26. fixed: false
  27. nullable: false
  28. grade_model_id:
  29. type: integer
  30. unsigned: false
  31. nullable: false
  32. lifecycleCallbacks:
  33. prePersist:
  34. - before_save