Entity.QuizQuestion.dcm.yml 1006 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Entity\QuizQuestion:
  2. type: entity
  3. table: c_quiz_question
  4. repositoryClass: Entity\Repository\QuizQuestionRepository
  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:
  17. type: text
  18. nullable: false
  19. description:
  20. type: text
  21. nullable: true
  22. ponderation:
  23. type: float
  24. nullable: false
  25. position:
  26. type: integer
  27. unsigned: false
  28. nullable: false
  29. type:
  30. type: boolean
  31. nullable: false
  32. picture:
  33. type: string
  34. length: 50
  35. fixed: false
  36. nullable: true
  37. level:
  38. type: integer
  39. unsigned: false
  40. nullable: false
  41. extra:
  42. type: string
  43. length: 255
  44. fixed: false
  45. nullable: true
  46. question_code:
  47. type: string
  48. length: 10
  49. fixed: true
  50. nullable: true
  51. lifecycleCallbacks:
  52. prePersist:
  53. - before_save