Entity.Glossary.dcm.yml 666 B

12345678910111213141516171819202122232425262728293031323334
  1. Entity\Glossary:
  2. type: entity
  3. table: c_glossary
  4. repositoryClass: Entity\Repository\GlossaryRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. glossary_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. name:
  17. type: string
  18. length: 255
  19. fixed: false
  20. nullable: false
  21. description:
  22. type: text
  23. nullable: false
  24. display_order:
  25. type: integer
  26. unsigned: false
  27. nullable: true
  28. session_id:
  29. type: integer
  30. unsigned: false
  31. nullable: true
  32. lifecycleCallbacks:
  33. prePersist:
  34. - before_save