Entity.ForumThreadQualify.dcm.yml 816 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Entity\ForumThreadQualify:
  2. type: entity
  3. table: c_forum_thread_qualify
  4. repositoryClass: Entity\Repository\ForumThreadQualifyRepository
  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. user_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. thread_id:
  21. type: integer
  22. unsigned: false
  23. nullable: false
  24. qualify:
  25. type: float
  26. nullable: false
  27. qualify_user_id:
  28. type: integer
  29. unsigned: false
  30. nullable: true
  31. qualify_time:
  32. type: datetime
  33. nullable: true
  34. session_id:
  35. type: integer
  36. unsigned: false
  37. nullable: true
  38. lifecycleCallbacks:
  39. prePersist:
  40. - before_save