Entity.DropboxFeedback.dcm.yml 659 B

1234567891011121314151617181920212223242526272829303132
  1. Entity\DropboxFeedback:
  2. type: entity
  3. table: c_dropbox_feedback
  4. repositoryClass: Entity\Repository\DropboxFeedbackRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. feedback_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. file_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. author_user_id:
  21. type: integer
  22. unsigned: false
  23. nullable: false
  24. feedback:
  25. type: text
  26. nullable: false
  27. feedback_date:
  28. type: datetime
  29. nullable: false
  30. lifecycleCallbacks:
  31. prePersist:
  32. - before_save