Entity.TrackEHotspot.dcm.yml 903 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Entity\TrackEHotspot:
  2. type: entity
  3. table: track_e_hotspot
  4. repositoryClass: Entity\Repository\TrackEHotspotRepository
  5. fields:
  6. hotspot_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. hotspot_user_id:
  14. type: integer
  15. unsigned: false
  16. nullable: false
  17. hotspot_course_code:
  18. type: string
  19. length: 50
  20. fixed: false
  21. nullable: false
  22. hotspot_exe_id:
  23. type: integer
  24. unsigned: false
  25. nullable: false
  26. hotspot_question_id:
  27. type: integer
  28. unsigned: false
  29. nullable: false
  30. hotspot_answer_id:
  31. type: integer
  32. unsigned: false
  33. nullable: false
  34. hotspot_correct:
  35. type: boolean
  36. nullable: false
  37. hotspot_coordinate:
  38. type: text
  39. nullable: false
  40. lifecycleCallbacks:
  41. prePersist:
  42. - before_save