package request

import "log-server/model/log"

type GetStatisticsLogRequest struct {
	log.StatisticsLog
	PageInfo
	OrderKey string `json:"orderKey"` // 排序
	Desc     bool   `json:"desc"`     // 排序方式:升序false(默认)|降序true
}

type GetStatisticsComputerRequest struct {
	log.LogComputer
	PageInfo
	OrderKey string `json:"orderKey"` // 排序
	Desc     bool   `json:"desc"`     // 排序方式:升序false(默认)|降序true
}

type OnlineComputerRequest struct {
	PcCode   string `json:"pc_code"`
	Operator string `json:"operator"`
}

type TaskStatistics struct {
	GameId                int    `json:"game_id"`
	GameName              string `json:"game_name"`
	GameIdXmy             string `json:"game_id_xmy"`
	NewComplete           int    `json:"new_complete"`
	RetainedComplete      int    `json:"retained_complete"`
	PayComplete           int    `json:"pay_complete"`
	NewCompleteLocal      int    `json:"new_complete_local"`
	RetainedCompleteLocal int    `json:"retained_complete_local"`
	PayCompleteLocal      int    `json:"pay_complete_local"`
	NewTarget             int    `json:"new_target"`         // 目标新增
	RetainedTarget        int    `json:"retained_target"`    // 目标留存
	PayTarget             int    `json:"pay_target"`         // 目标付费
	OrderSuccessRate      string `json:"order_success_rate"` // 订单成功率
	OrderSuccess          int    `json:"order_success"`      //小绵羊成功付费数
	OrderCreate           int    `json:"order_create"`       // 小绵羊创建付费订单数
	NewPullAccount        int    `json:"new_pull_account"`
	RetainedPullAccount   int    `json:"retained_pull_account"`
	NewScanningCode       int    `json:"new_scanning_code"`
	RetainedScanningCode  int    `json:"retained_scanning_code"`
	RetainedAccountNum    int    `json:"retained_account_num"` // 留存账号
	FeeAccountNum         int    `json:"fee_account_num"`      // 付费账号
	Remark                string `json:"remark"`               //负责人
}

type TaskData struct {
	GameId               int `json:"game_id"`
	NewPullAccount       int `json:"new_pull_account"`
	RetainedPullAccount  int `json:"retained_pull_account"`
	NewScanningCode      int `json:"new_scanning_code"`
	RetainedScanningCode int `json:"retained_scanning_code"`
	RetainedAccountNum   int `json:"retained_account_num"`
	FeeAccountNum        int `json:"fee_account_num"`
}
