package response

type GetLogReply struct {
	Id           uint   `json:"id"`
	SimulatorIp  string `json:"simulator_ip"`
	SimulatorMac string `json:"simulator_mac"`
	PcCode       string `json:"pc_code"`
	PcIp         string `json:"pc_ip"`
	PcMac        string `json:"pc_mac"`
	DeviceId     string `json:"device_id"`
	Account      string `json:"account"`
	GameId       int    `json:"game_id"`
	Coding       string `json:"coding"`
	ComputerType int    `json:"computer_type"`
	EnvCode      int    `json:"env_code"`
	LogUuid      string `json:"log_uuid"`
	Operator     string `json:"operator"`
	AccountType  int    `json:"account_type"`
	Remarks      string `json:"remarks"`
	Status       int    `json:"status"`
	Describe     string `json:"describe"`
	TaskType     int    `json:"task_type"`
	CreateDate   string `json:"create_date"` //创建日期
	CreateTime   string `json:"create_time"` // 创建时间
	ScriptType   int    `json:"script_type"`
}

type DataNumInfo struct {
	PullAccountNum int `json:"pull_account_num"`
	TaskSuccessNum int `json:"task_success_num"`
}

type ComputerStatisticsReply struct {
	PcCode     string                 `json:"pc_code"`
	GameInfo   map[string]DataNumInfo `json:"game_info"`
	CreateDate string                 `json:"create_date"`
	Operator   string                 `json:"operator"`
}

type GameInfo struct {
	GameId string `json:"game_id"`
	DataNumInfo
}

type ComputerStatisticsReply1 struct {
	PcCode                  string      `json:"pc_code"`
	GameInfo                []*GameInfo `json:"game_info"`
	CreateDate              string      `json:"create_date"`
	Operator                string      `json:"operator"`
	GameId                  int         `json:"game_id"`
	TargetNum               int         `json:"target_num"` // 目标数
	ComputerFreeTime        int         `json:"computer_free_time"`
	ComputerFeeRate         int         `json:"computer_fee_rate"`
	ComputerHourAverageRate int         `json:"computer_hour_average_rate"`
	EnterMain               int         `json:"enter_main"`
	DataNumInfo
}

type GameIdStatisticsReply struct {
	CreateDate               string `json:"create_date"`
	GameId                   int    `json:"game_id"`
	TargetNum                int    `json:"target_num"` // 目标数
	PcCodeTotal              int    `json:"pc_code_total"`
	TaskSuccessTotal         int    `json:"task_success_total"`
	GameFeeRate              int    `json:"game_fee_rate"`
	ComputerFreeTimeTotal    int    `json:"computer_free_time_total"`
	ComputerHourAverageTotal int    `json:"computer_hour_average_total"`
	OneComputerAverageNum    int    `json:"one_computer_average_num"`
	EnterMainTotal           int    `json:"enter_main_total"`
}
