Entity.SurveyQuestionOption.dcm.yml 771 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Entity\SurveyQuestionOption:
  2. type: entity
  3. table: c_survey_question_option
  4. repositoryClass: Entity\Repository\SurveyQuestionOptionRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. question_option_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. question_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. survey_id:
  21. type: integer
  22. unsigned: false
  23. nullable: false
  24. option_text:
  25. type: text
  26. nullable: false
  27. sort:
  28. type: integer
  29. unsigned: false
  30. nullable: false
  31. value:
  32. type: integer
  33. unsigned: false
  34. nullable: false
  35. lifecycleCallbacks:
  36. prePersist:
  37. - before_save