Entity.QuizQuestionOption.dcm.yml 630 B

12345678910111213141516171819202122232425262728293031
  1. Entity\QuizQuestionOption:
  2. type: entity
  3. table: c_quiz_question_option
  4. repositoryClass: Entity\Repository\QuizQuestionOptionRepository
  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. question_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. name:
  21. type: string
  22. length: 255
  23. fixed: false
  24. nullable: true
  25. position:
  26. type: integer
  27. unsigned: false
  28. nullable: false
  29. lifecycleCallbacks:
  30. prePersist:
  31. - before_save