Entity.BlogRating.dcm.yml 769 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. Entity\BlogRating:
  2. type: entity
  3. table: c_blog_rating
  4. repositoryClass: Entity\Repository\BlogRatingRepository
  5. fields:
  6. c_id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. rating_id:
  12. id: true
  13. type: integer
  14. unsigned: false
  15. nullable: false
  16. blog_id:
  17. type: integer
  18. unsigned: false
  19. nullable: false
  20. rating_type:
  21. type: string
  22. length: null
  23. fixed: false
  24. nullable: false
  25. item_id:
  26. type: integer
  27. unsigned: false
  28. nullable: false
  29. user_id:
  30. type: integer
  31. unsigned: false
  32. nullable: false
  33. rating:
  34. type: integer
  35. unsigned: false
  36. nullable: false
  37. lifecycleCallbacks:
  38. prePersist:
  39. - before_save