Entity.BlogAttachment.dcm.yml 910 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Entity\BlogAttachment:
  2. type: entity
  3. table: c_blog_attachment
  4. repositoryClass: Entity\Repository\BlogAttachmentRepository
  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. blog_id:
  38. type: integer
  39. unsigned: false
  40. nullable: false
  41. comment_id:
  42. type: integer
  43. unsigned: false
  44. nullable: false
  45. lifecycleCallbacks:
  46. prePersist:
  47. - before_save