Entity.ForumAttachment.dcm.yml 756 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. Entity\ForumAttachment:
  2. type: entity
  3. table: c_forum_attachment
  4. repositoryClass: Entity\Repository\ForumAttachmentRepository
  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. path:
  17. type: string
  18. length: 255
  19. fixed: false
  20. nullable: false
  21. comment:
  22. type: text
  23. nullable: true
  24. size:
  25. type: integer
  26. unsigned: false
  27. nullable: false
  28. post_id:
  29. type: integer
  30. unsigned: false
  31. nullable: false
  32. filename:
  33. type: string
  34. length: 255
  35. fixed: false
  36. nullable: false
  37. lifecycleCallbacks:
  38. prePersist:
  39. - before_save