package dto type ChannelPortraitQuery struct { SourceDB string `form:"sourceDb"` PromoteID uint64 `form:"promoteId"` Period string `form:"period"` } type ChannelPortraitBasic struct { PromoteID uint64 `json:"promoteId"` SourceDB string `json:"sourceDb"` SourceDBLabel string `json:"sourceDbLabel"` Account string `json:"account"` Nickname string `json:"nickname"` RealName string `json:"realName"` PromoteLevel *int `json:"promoteLevel"` PromoteLevelLabel string `json:"promoteLevelLabel"` Status *int `json:"status"` StatusLabel string `json:"statusLabel"` RegisterType *int `json:"registerType"` RegisterTypeLabel string `json:"registerTypeLabel"` CreateTime *string `json:"createTime"` LastLoginTime *string `json:"lastLoginTime"` BusierUserID *uint `json:"busierUserId"` BusierDisplayName string `json:"busierDisplayName"` ParentPromoteID *uint64 `json:"parentPromoteId"` ParentPromoteName *string `json:"parentPromoteName"` ParentPromoteAccount *string `json:"parentPromoteAccount"` GameCount *int64 `json:"gameCount"` } type ChannelPortraitMetrics struct { Register *PortraitMetric `json:"register"` PayAmount *PortraitMetric `json:"payAmount"` PayRate *PortraitMetric `json:"payRate"` Active *PortraitMetric `json:"active"` } type ChannelPayTier struct { Tier string `json:"tier"` TierLabel string `json:"tierLabel"` Count int64 `json:"count"` Ratio string `json:"ratio"` } type ChannelPortraitResponse struct { Basic *ChannelPortraitBasic `json:"basic"` Period string `json:"period"` Metrics *ChannelPortraitMetrics `json:"metrics"` RegisterTrend []*PortraitTrend `json:"registerTrend"` PayTrend []*PortraitTrend `json:"payTrend"` GameDistribution []*ChannelGameResponse `json:"gameDistribution"` PayTiers []*ChannelPayTier `json:"payTiers"` Available bool `json:"available"` UnavailableReason string `json:"unavailableReason"` }