rating.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package model
  2. import "go-common/library/time"
  3. // BaseInfo up rating info
  4. type BaseInfo struct {
  5. ID int64
  6. MID int64
  7. TagID int64
  8. PlayIncr int64
  9. CoinIncr int64
  10. Avs int64
  11. MAAFans int64
  12. MAHFans int64
  13. OpenAvs int64
  14. LockedAvs int64
  15. Date time.Time
  16. TotalFans int64
  17. TotalAvs int64
  18. TotalCoin int64
  19. TotalPlay int64
  20. }
  21. // RatingParameter rating parameter
  22. type RatingParameter struct {
  23. WDP int64 // dp weight
  24. WDC int64 // dc weight
  25. WDV int64 // dv weight
  26. WMDV int64 // mdv weight
  27. WCS int64
  28. WCSR int64
  29. WMAAFans int64
  30. WMAHFans int64
  31. WIS int64
  32. WISR int64
  33. // 信用分
  34. HBASE int64
  35. HR int64
  36. HV int64
  37. HVM int64
  38. HL int64
  39. HLM int64
  40. }
  41. // Rating rating
  42. type Rating struct {
  43. MID int64
  44. TagID int64
  45. MetaCreativityScore int64
  46. CreativityScore int64
  47. MetaInfluenceScore int64
  48. InfluenceScore int64
  49. CreditScore int64
  50. MagneticScore int64
  51. Score int64
  52. Date time.Time
  53. }
  54. // Past past stat
  55. type Past struct {
  56. MID int64
  57. MetaCreativityScore int64
  58. MetaInfluenceScore int64
  59. CreditScore int64
  60. }