statistics.go 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package model
  2. import (
  3. "go-common/library/time"
  4. )
  5. // RatingStatis rating statitics
  6. type RatingStatis struct {
  7. Ups int64 `json:"ups"`
  8. Section int64 `json:"-"`
  9. Tips string `json:"tips"`
  10. Score int64 `json:"score"`
  11. TotalScore int64 `json:"-"`
  12. CreativityScore int64 `json:"creativity_score"`
  13. InfluenceScore int64 `json:"influence_score"`
  14. CreditScore int64 `json:"credit_score"`
  15. Fans int64 `json:"fans"`
  16. Avs int64 `json:"avs"`
  17. Coin int64 `json:"coin"`
  18. Play int64 `json:"play"`
  19. CDate time.Time `json:"-"`
  20. TagID int64 `json:"-"`
  21. CType int64 `json:"-"`
  22. Proportion string `json:"proportion"`
  23. Compare int64 `json:"compare"`
  24. ComparePropor string `json:"compare_propor"`
  25. }
  26. // Trend rating trend
  27. type Trend struct {
  28. MID int64 `json:"mid"`
  29. Nickname string `json:"nickname"`
  30. DValue int `json:"d_value"`
  31. MagneticScore int64 `json:"magnetic_score"`
  32. CreativityScore int64 `json:"creativity_score"`
  33. InfluenceScore int64 `json:"influence_score"`
  34. CreditScore int64 `json:"credit_score"`
  35. Avs int64 `json:"avs"`
  36. Fans int64 `json:"fans"`
  37. }