re_selection_data.go 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package vo
  2. // 看数据-达人数据
  3. type ReSelectionTalentData struct {
  4. AddWindowNum []int64 `json:"addWindowNum"` // 添加橱窗达人数
  5. AvgFanNum int64 `json:"avgFanNum"` // 平均粉丝数
  6. SalesDistribution []int64 `json:"salesDistribution"` // 领样达人销量分布[100-, 100-1000, 1000-5000, 5000-1w, 1w-10w, 10w+]
  7. FansDistribution []int64 `json:"fansDistribution"` // 达人粉丝数分布[1w-, 1w-10w, 10w-100w, 100w+]
  8. MaleNum int64 `json:"maleNum"`
  9. FemaleNum int64 `json:"femaleNum"`
  10. RegionRank []RankItem `json:"regionRank"` // 达人地区分布(top10)
  11. }
  12. type RankItem struct {
  13. Region string `json:"region"`
  14. Percent float64 `json:"percent"`
  15. }
  16. // 看数据-领样数据
  17. type ReSelectionSampleData struct {
  18. EnrollNum []int64 `json:"enrollNum"` // 报名人数
  19. AgreeSampleNum int64 `json:"agreeSampleNum"` // 同意寄样数
  20. SampledNum int64 `json:"sampledNum"` // 已发样数
  21. AvgFanNum int64 `json:"avgFanNum"` // 平均粉丝数
  22. SalesDistribution []int64 `json:"salesDistribution"` // 领样达人销量分布[100-, 100-1000, 1000-5000, 5000-1w, 1w-10w, 10w+]
  23. FansDistribution []int64 `json:"fansDistribution"` // 达人粉丝数分布[1w-, 1w-10w, 10w-100w, 100w+]
  24. MaleNum int64 `json:"maleNum"`
  25. FemaleNum int64 `json:"femaleNum"`
  26. RegionRank []RankItem `json:"regionRank"` // 达人地区分布(top10)
  27. }
  28. // 看数据-带货数据
  29. type ReSelectionData struct {
  30. PayData []float64 `json:"payData"` // 支付GMV
  31. EstimateData []float64 `json:"estimateData"` // 结算GMV
  32. ForecastCommission float64 `json:"forecastData"` // 预估佣金支出
  33. PayOrderNum []int64 `json:"payOrderNum"` // 支付订单量
  34. SaleOrderNum []int64 `json:"saleOrderNum"` // 出单达人合计
  35. AvgCommissionRate float64 `json:"avgCommissionRate"` // 平均佣金率
  36. TalentMsgList ResultVO `json:"talentMsgList"` // 出单情况的达人信息
  37. }
  38. type TalentMsg struct {
  39. PhotoUrl string `json:"photoUrl"`
  40. Nickname string `json:"nickname"`
  41. Account string `json:"account"`
  42. OrderNum int64 `json:"orderNum"`
  43. GMV float64 `json:"GMV"`
  44. Gender int64 `json:"gender"`
  45. }