package log

type StatisticsLog struct {
	Id                    uint    `json:"id"`
	GameId                int     `json:"game_id"`
	PullAccountOk         int     `json:"pull_account_ok"`
	PullAccountFail       int     `json:"pull_account_fail"`
	StartProxyFail        int     `json:"start_proxy_fail"`
	StartProxyOk          int     `json:"start_proxy_ok"`
	SimulatorStartFail    int     `json:"simulator_start_fail"`
	SimulatorStartOk      int     `json:"simulator_start_ok"`
	NetworkCheckFail      int     `json:"network_check_fail"`
	NetworkCheckOk        int     `json:"network_check_ok"`
	EnterMainFail         int     `json:"enter_main_fail"`
	EnterMainOk           int     `json:"enter_main_ok"`
	ScriptStartOk         int     `json:"script_start_ok"`
	ScriptStartFail       int     `json:"script_start_fail"`
	GameStartOk           int     `json:"game_start_ok"`
	GameStartFail         int     `json:"game_start_fail"`
	EnterStartGame        int     `json:"enter_start_game"`
	EnterLogin            int     `json:"enter_login"`
	EnterAuthentication   int     `json:"enter_authentication"`
	EnterRole             int     `json:"enter_role"`
	EnterConstituency     int     `json:"enter_constituency"`
	EnterGame             int     `json:"enter_game"`
	EnterMain             int     `json:"enter_main"`
	EnterFee              int     `json:"enter_fee"`
	LoginOk               int     `json:"login_ok"`
	LoginFail             int     `json:"login_fail"`
	XmyLoginOk            int     `json:"xmy_login_ok"`
	XmyLoginFail          int     `json:"xmy_login_ok"`
	WxLoginOk             int     `json:"wx_login_ok"`
	WxLoginFail           int     `json:"wx_login_fail"`
	MzLoginOk             int     `json:"mz_login_ok"`
	MzLoginFail           int     `json:"mz_login_fail"`
	EnterGameFail         int     `json:"enter_game_fail"`
	EnterGameOk           int     `json:"enter_game_ok"`
	FeeOk                 int     `json:"fee_ok"`
	FeeFail               int     `json:"fee_fail"`
	ConstituencyOk        int     `json:"constituency_ok"`
	ConstituencyFail      int     `json:"constituency_fail"`
	AuthenticationFail    int     `json:"authentication_fail"`
	AuthenticationOk      int     `json:"authentication_ok"`
	HasRole               int     `json:"has_role"`
	NotRole               int     `json:"not_role"`
	BanOff                int     `json:"ban_off"`
	Freeze                int     `json:"freeze"`
	Type                  int     `json:"type"` // 0新增1活跃
	CreateDate            string  `json:"create_date"`
	CreateTime            string  `json:"create_time"` // 创建时间
	GameName              string  `json:"game_name"`
	PayComplete           int     `json:"pay_complete"`
	TargetNum             int     `json:"target_num"`          // 目标数
	TargetCompleteNum     int     `json:"target_complete_num"` // 目标完成数
	PayTarget             int     `json:"pay_target"`          // 目标付费
	OrderSuccessRate      string  `json:"order_success_rate"`  // 订单成功率
	IssuedAccount         int     `json:"issued_account"`
	NewScanningCode       int     `json:"new_scanning_code"`
	OrderSuccess          int     `json:"order_success"`        //小绵羊成功付费数
	OrderCreate           int     `json:"order_create"`         // 小绵羊创建付费订单数
	RetainedAccountNum    int     `json:"retained_account_num"` // 留存账号
	FeeAccountNum         int     `json:"fee_account_num"`      // 付费账号
	PullSuccessRate       float64 `json:"pull_success_rate"`
	StartSuccessRate      float64 `json:"start_success_rate"`
	MainSuccessRate       float64 `json:"main_success_rate"`
	TaskSuccessRate       float64 `json:"task_success_rate"`
	ScanningSuccessRate   float64 `json:"scanning_success_rate"`
	LocalOrderSuccessRate float64 `json:"local_order_success_rate"`
	Operator              string  `json:"operator"`
}

func (StatisticsLog) TableName() string {
	return "log_statistics"
}
