Entity.SharedSurveyQuestion.dcm.yml 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Entity\SharedSurveyQuestion:
  2. type: entity
  3. table: shared_survey_question
  4. repositoryClass: Entity\Repository\SharedSurveyQuestionRepository
  5. fields:
  6. question_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. survey_id:
  14. type: integer
  15. unsigned: false
  16. nullable: false
  17. survey_question:
  18. type: text
  19. nullable: false
  20. survey_question_comment:
  21. type: text
  22. nullable: false
  23. type:
  24. type: string
  25. length: 250
  26. fixed: false
  27. nullable: false
  28. display:
  29. type: string
  30. length: 10
  31. fixed: false
  32. nullable: false
  33. sort:
  34. type: integer
  35. unsigned: false
  36. nullable: false
  37. code:
  38. type: string
  39. length: 40
  40. fixed: false
  41. nullable: false
  42. max_value:
  43. type: integer
  44. unsigned: false
  45. nullable: false
  46. lifecycleCallbacks:
  47. prePersist:
  48. - before_save