Entity.ToolIntro.dcm.yml 519 B

123456789101112131415161718192021222324252627
  1. Entity\ToolIntro:
  2. type: entity
  3. table: c_tool_intro
  4. repositoryClass: Entity\Repository\ToolIntroRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. id:
  12. id: true
  13. type: string
  14. length: 50
  15. fixed: false
  16. nullable: false
  17. session_id:
  18. id: true
  19. type: integer
  20. unsigned: false
  21. nullable: false
  22. intro_text:
  23. type: text
  24. nullable: false
  25. lifecycleCallbacks:
  26. prePersist:
  27. - before_save