package response

import "time"

type GetGameTaskListReply struct {
	TaskId          int    `json:"task_id"`
	TaskName        string `json:"task_name"`
	User            string `json:"user"`
	GameName        string `json:"game_name"`
	Date            string `json:"date"`
	GamePort        string `json:"game_port"`
	AccountType     string `json:"account_type"`
	LoginMethod     string `json:"login_method"`
	NewTarget       int    `json:"new_target"`
	PayTarget       int    `json:"pay_target"`
	NewTargetH      int    `json:"new_target_h"`
	RetainedTarget  int    `json:"retained_target"`
	RetainedTargetH int    `json:"retained_target_h"`
	PayPrice        int    `json:"pay_price"`
	Status          int    `json:"status"`      // 状态-1关闭，1开启
	CreateTime      string `json:"create_time"` // 创建时间
	UpdateTime      string `json:"update_time"` // 更新时间
	StopTime        string `json:"stop_time"`
}

//增加加付费提醒字段
type GetGameTaskListUnionReply struct {
	TaskId          int    `json:"task_id"`
	TaskName        string `json:"task_name"`
	User            string `json:"user"`
	GameName        string `json:"game_name"`
	Date            string `json:"date"`
	AddFeeNotice    int    `json:"add_fee_notice"`
	GamePort        string `json:"game_port"`
	AccountType     string `json:"account_type"`
	LoginMethod     string `json:"login_method"`
	NewTarget       int    `json:"new_target"`
	PayTarget       int    `json:"pay_target"`
	NewTargetH      int    `json:"new_target_h"`
	RetainedTarget  int    `json:"retained_target"`
	RetainedTargetH int    `json:"retained_target_h"`
	PayPrice        int    `json:"pay_price"`
	Status          int    `json:"status"`      // 状态-1关闭，1开启
	CreateTime      string `json:"create_time"` // 创建时间
	UpdateTime      string `json:"update_time"` // 更新时间
	StopTime        string `json:"stop_time"`
}

type GetGameTargetComplete struct {
	Id                   uint   `json:"id"`
	TaskId               int    `json:"task_id"`
	TaskName             string `json:"task_name"`
	User                 string `json:"user"`
	LoginMethod          string `json:"login_method"`
	NewComplete          int    `json:"new_complete"`
	PayComplete          int    `json:"pay_complete"`
	RetainedComplete     int    `json:"retained_complete"`
	NewTarget            int    `json:"new_target"`
	PayTarget            int    `json:"pay_target"`
	RetainedTarget       int    `json:"retained_target"`
	Amount               int    `json:"amount"`
	CreateDate           string `json:"create_date"`
	UpdateTime           string `json:"update_time"` // 更新时间
	GameRate             string `json:"game_rate"`
	IsComplete           int    `json:"is_complete"`
	HandNewComplete      int    `json:"hand_new_complete"`
	HandRetainedComplete int    `json:"hand_retained_complete"`
	HandPayComplete      int    `json:"hand_pay_complete"`
	HandAmountTotal      int    `json:"hand_amount_total"`
	GameIdXmy            string `json:"game_id_xmy"`
	Aupr                 int    `json:"aupr"`
	TotalAmount          float64    `json:"total_amount"`
}

type GameTargetStatistics struct {
	NewComplete      int    `json:"new_complete"`
	PayComplete      int    `json:"pay_complete"`
	RetainedComplete int    `json:"retained_complete"`
	NewTarget        int    `json:"new_target"`
	PayTarget        int    `json:"pay_target"`
	RetainedTarget   int    `json:"retained_target"`
	Amount           int    `json:"amount"`
	TaskDate         string `json:"task_date"`
	TaskMonth        int    `json:"task_month"` // 月维度
	User             string `json:"user"`
	GamePort         string `json:"game_port"`
}

type GameTargetCompleteReply struct {
	Id                   uint      `json:"id"`
	TaskId               int       `json:"task_id"`
	NewComplete          int       `json:"new_complete"`
	PayComplete          int       `json:"pay_complete"`
	RetainedComplete     int       `json:"retained_complete"`
	NewTarget            int       `json:"new_target"`
	PayTarget            int       `json:"pay_target"`
	RetainedTarget       int       `json:"retained_target"`
	Amount               int       `json:"amount"`
	CreateDate           time.Time `json:"create_date"`
	UpdateTime           time.Time `json:"update_time"` // 更新时间
	GameRate             string    `json:"game_rate"`
	IsComplete           int       `json:"is_complete"`
	HandNewComplete      int       `json:"hand_new_complete"`
	HandRetainedComplete int       `json:"hand_retained_complete"`
	HandPayComplete      int       `json:"hand_pay_complete"`
	HandAmountTotal      int       `json:"hand_amount_total"`
	GamePortId           int       `json:"game_port_id"`
	User                 string    `json:"user"`
}

type GameStatisticsDataReply struct {
	Total      int    `json:"total"`
	GamePortId int    `json:"game_port_id"`
	GamePort   string `json:"game_port"`
	User       string `json:"user"`
	CreateDate string `json:"create_date"`
}

type GameStatisticsListReply struct {
	GamePortId int    `json:"game_port_id"`
	GamePort   string `json:"game_port"`
	CreateDate string `json:"create_date"`
	GameName   string `json:"game_name"`
}
