Entity.UsergroupRelQuestion.dcm.yml 636 B

123456789101112131415161718192021222324252627282930
  1. Entity\UsergroupRelQuestion:
  2. type: entity
  3. table: usergroup_rel_question
  4. repositoryClass: Entity\Repository\UsergroupRelQuestionRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. c_id:
  14. type: integer
  15. unsigned: false
  16. nullable: false
  17. question_id:
  18. type: integer
  19. unsigned: false
  20. nullable: false
  21. usergroup_id:
  22. type: integer
  23. unsigned: false
  24. nullable: false
  25. coefficient:
  26. type: float
  27. nullable: true
  28. lifecycleCallbacks:
  29. prePersist:
  30. - before_save