package newCentralControl import "log-server/model/typeManage" type ComputerTask struct { Id int `json:"id"` PcCode string `json:"pc_code"` //租机编号 TaskId int `json:"task_id"` //任务id ConfId int `json:"conf_id"` //游戏配置id TaskName string `json:"task_name"` //任务名称 ConfName string `json:"conf_name"` //配置名称 Status int `json:"status"` //status:-1停止 ,1运行 CreateTime typeManage.LocalTime `json:"create_time"` UpdateTime typeManage.LocalTime `json:"update_time"` } type GameConfInfo struct { TaskId int `json:"task_id"` //任务id ConfId int `json:"conf_id"` //游戏配置id TaskName string `json:"task_name"` //任务名称 ConfName string `json:"conf_name"` //配置名称 } func (ComputerTask) TableName() string { return "computer_task" }