Entity.SessionRelCourseRelUser.dcm.yml 737 B

1234567891011121314151617181920212223242526272829303132333435
  1. Entity\SessionRelCourseRelUser:
  2. type: entity
  3. table: session_rel_course_rel_user
  4. repositoryClass: Entity\Repository\SessionRelCourseRelUserRepository
  5. fields:
  6. id_session:
  7. id: true
  8. type: smallint
  9. nullable: false
  10. course_code:
  11. id: true
  12. type: string
  13. length: 40
  14. fixed: true
  15. nullable: false
  16. id_user:
  17. id: true
  18. type: integer
  19. unsigned: false
  20. nullable: false
  21. visibility:
  22. type: integer
  23. unsigned: false
  24. nullable: false
  25. status:
  26. type: integer
  27. unsigned: false
  28. nullable: false
  29. legal_agreement:
  30. type: integer
  31. unsigned: false
  32. nullable: true
  33. lifecycleCallbacks:
  34. prePersist:
  35. - before_save