Entity.DropboxPost.dcm.yml 734 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Entity\DropboxPost:
  2. type: entity
  3. table: c_dropbox_post
  4. repositoryClass: Entity\Repository\DropboxPostRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. file_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. dest_user_id:
  17. id: true
  18. type: integer
  19. unsigned: false
  20. nullable: false
  21. feedback_date:
  22. type: datetime
  23. nullable: false
  24. feedback:
  25. type: text
  26. nullable: true
  27. cat_id:
  28. type: integer
  29. unsigned: false
  30. nullable: false
  31. session_id:
  32. type: integer
  33. unsigned: false
  34. nullable: false
  35. lifecycleCallbacks:
  36. prePersist:
  37. - before_save