Entity.CourseRelClass.dcm.yml 395 B

12345678910111213141516171819
  1. Entity\CourseRelClass:
  2. type: entity
  3. table: course_rel_class
  4. repositoryClass: Entity\Repository\CourseRelClassRepository
  5. fields:
  6. course_code:
  7. id: true
  8. type: string
  9. length: 40
  10. fixed: true
  11. nullable: false
  12. class_id:
  13. id: true
  14. type: integer
  15. unsigned: false
  16. nullable: false
  17. lifecycleCallbacks:
  18. prePersist:
  19. - before_save