| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- package task
- import "time"
- type GameTask struct {
- Id uint `json:"id"`
- TaskId int `json:"task_id"`
- TaskName string `json:"task_name"`
- User string `json:"user"`
- NewRetained string `json:"new_retained"`
- GameName string `json:"game_name"`
- GameId int `json:"game_id"`
- Date time.Time `json:"date"`
- GamePortId int `json:"game_port_id"`
- AccountType int `json:"account_type"`
- LoginMethod int `json:"login_method"`
- TxChannel string `json:"tx_channel"`
- TxGameId string `json:"tx_game_id"`
- MzChannel string `json:"mz_channel"`
- MzGameId string `json:"mz_game_id"`
- GameIdXmy string `json:"game_id_xmy"`
- NewTarget int `json:"new_target"`
- NewTargetH int `json:"new_target_h"`
- PayTarget int `json:"pay_target"`
- RetainedTarget int `json:"retained_target"`
- RetainedTargetH int `json:"retained_target_h"`
- PayPrice int `json:"pay_price"`
- ControlTaskId int `json:"control_task_id"`
- CreateTime time.Time `json:"create_time"` // 创建时间
- UpdateTime time.Time `json:"update_time"` // 更新时间
- Status int `json:"status"` // 状态-1关闭,1开启
- IsDel int `json:"is_del"` // 是否删除-1删除,1正常
- DeleteTime time.Time `json:"delete_time"`
- StopTime time.Time `json:"stop_time"`
- }
- //添加加付费提醒字段和模拟器类型字段
- type GameTaskUnion struct {
- Id uint `json:"id"`
- TaskId int `json:"task_id"`
- TaskName string `json:"task_name"`
- User string `json:"user"`
- AddFeeNotice int `json:"add_fee_notice"`
- SimulatorType int `json:"simulator_type"`
- NewRetained string `json:"new_retained"`
- GameName string `json:"game_name"`
- GameId int `json:"game_id"`
- Date time.Time `json:"date"`
- GamePortId int `json:"game_port_id"`
- AccountType int `json:"account_type"`
- LoginMethod int `json:"login_method"`
- TxChannel string `json:"tx_channel"`
- TxGameId string `json:"tx_game_id"`
- MzChannel string `json:"mz_channel"`
- MzGameId string `json:"mz_game_id"`
- GameIdXmy string `json:"game_id_xmy"`
- NewTarget int `json:"new_target"`
- NewTargetH int `json:"new_target_h"`
- PayTarget int `json:"pay_target"`
- RetainedTarget int `json:"retained_target"`
- RetainedTargetH int `json:"retained_target_h"`
- PayPrice int `json:"pay_price"`
- ControlTaskId int `json:"control_task_id"`
- CreateTime time.Time `json:"create_time"` // 创建时间
- UpdateTime time.Time `json:"update_time"` // 更新时间
- Status int `json:"status"` // 状态-1关闭,1开启
- IsDel int `json:"is_del"` // 是否删除-1删除,1正常
- DeleteTime time.Time `json:"delete_time"`
- StopTime time.Time `json:"stop_time"`
- }
- func (GameTask) TableName() string {
- return "game_task"
- }
|