Entity.SurveyGroup.dcm.yml 623 B

1234567891011121314151617181920212223242526272829303132
  1. Entity\SurveyGroup:
  2. type: entity
  3. table: c_survey_group
  4. repositoryClass: Entity\Repository\SurveyGroupRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. name:
  17. type: string
  18. length: 20
  19. fixed: false
  20. nullable: false
  21. description:
  22. type: string
  23. length: 255
  24. fixed: false
  25. nullable: false
  26. survey_id:
  27. type: integer
  28. unsigned: false
  29. nullable: false
  30. lifecycleCallbacks:
  31. prePersist:
  32. - before_save