package http_model

type GetProjectTalentRequest struct {
	PageSize     int      `json:"page_size"`
	PageNum      int      `json:"page_num"`
	SortField    []string `json:"sort_field,omitempty"`
	SortOrder    []string `json:"sort_order,omitempty"` //粉丝数，实际带货销量，近30天销量，累计合作次数
	Platform     *string  `json:"platform,omitempty"`
	TalentName   string   `json:"talent_name"`
	EnterpriseId string   `json:"enterprise_id"`
}

type GetProjectTalentListData struct {
	TalentList []*ProjectTalentInfo `json:"talent_list"`
	Total      string               `json:"total"`
}

type ProjectTalentInfo struct {
	TalentId string `json:"talent_id"`
	Nickname string `json:"nickname"`
	City     string `json:"city"`
	HeadUrl  string `json:"head_url"`
	FansNum  int    `json:"fans_num"`
	//ThirtySales string `json:"thirty_sales"`
	//AccSales    string `json:"acc_sales"`
	//ActualSales string `json:"actual_sales"`
	AvgLikes     int    `json:"avg_likes"`
	AvgCollected int    `json:"avg_collected"`
	AvgComments  int    `json:"avg_comments"`
	AccPlay      int    `json:"acc_play"`
	AccInteract  int    `json:"acc_interact"`
	AccCoopTime  int    `json:"acc_coop_time"`
	FirCoopFrom  string `json:"fir_coop_from"`
	Stype        int    `json:"stype"`
}

func NewGetProjectTalentRequest() *GetProjectTalentRequest {
	return new(GetProjectTalentRequest)
}

func NewGetProjectTalentResponse() *CommonResponse {
	resp := new(CommonResponse)
	resp.Data = new(GetProjectTalentListData)
	return resp
}
