Entity.MessageAttachment.dcm.yml 718 B

123456789101112131415161718192021222324252627282930313233343536
  1. Entity\MessageAttachment:
  2. type: entity
  3. table: message_attachment
  4. repositoryClass: Entity\Repository\MessageAttachmentRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. path:
  14. type: string
  15. length: 255
  16. fixed: false
  17. nullable: false
  18. comment:
  19. type: text
  20. nullable: true
  21. size:
  22. type: integer
  23. unsigned: false
  24. nullable: false
  25. message_id:
  26. type: integer
  27. unsigned: false
  28. nullable: false
  29. filename:
  30. type: string
  31. length: 255
  32. fixed: false
  33. nullable: false
  34. lifecycleCallbacks:
  35. prePersist:
  36. - before_save