package task import "log-server/model/typeManage" type GameScript struct { TaskID int `json:"task_id"` //游戏Id ResponsiblePerson string `json:"responsible_person"` //负责人名称 Name string `json:"name" gorm:"comment:文件名"` // 文件名 Url string `json:"url" gorm:"comment:文件地址"` // 文件地址 Tag string `json:"tag" gorm:"comment:文件标签"` // 文件标签 Key string `json:"key" gorm:"comment:编号"` // 编号 Version int `json:"version"` //版本号 Md5String string `json:"md5_string"` //md5值 State int8 `json:"state"` //脚本启用状态 CreateTime typeManage.LocalTime `json:"create_time"` UpdateTime typeManage.LocalTime `json:"update_time"` } type GameScriptResponse struct { Id int `json:"id"` //id TaskID int `json:"task_id"` //游戏Id ResponsiblePerson string `json:"responsible_person"` //负责人名称 Name string `json:"name" gorm:"comment:文件名"` // 文件名 Url string `json:"url" gorm:"comment:文件地址"` // 文件地址 Tag string `json:"tag" gorm:"comment:文件标签"` // 文件标签 Key string `json:"key" gorm:"comment:编号"` // 编号 Version int `json:"version"` //版本号 Md5String string `json:"md5_string"` //md5值 State int8 `json:"state"` //脚本启用状态 CreateTime typeManage.LocalTime `json:"create_time"` UpdateTime typeManage.LocalTime `json:"update_time"` }