game_script.go 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. package task
  2. import "log-server/model/typeManage"
  3. type GameScript struct {
  4. TaskID int `json:"task_id"` //游戏Id
  5. ResponsiblePerson string `json:"responsible_person"` //负责人名称
  6. Name string `json:"name" gorm:"comment:文件名"` // 文件名
  7. Url string `json:"url" gorm:"comment:文件地址"` // 文件地址
  8. Tag string `json:"tag" gorm:"comment:文件标签"` // 文件标签
  9. Key string `json:"key" gorm:"comment:编号"` // 编号
  10. Version int `json:"version"` //版本号
  11. Md5String string `json:"md5_string"` //md5值
  12. State int8 `json:"state"` //脚本启用状态
  13. CreateTime typeManage.LocalTime `json:"create_time"`
  14. UpdateTime typeManage.LocalTime `json:"update_time"`
  15. }
  16. type GameScriptResponse struct {
  17. Id int `json:"id"` //id
  18. TaskID int `json:"task_id"` //游戏Id
  19. ResponsiblePerson string `json:"responsible_person"` //负责人名称
  20. Name string `json:"name" gorm:"comment:文件名"` // 文件名
  21. Url string `json:"url" gorm:"comment:文件地址"` // 文件地址
  22. Tag string `json:"tag" gorm:"comment:文件标签"` // 文件标签
  23. Key string `json:"key" gorm:"comment:编号"` // 编号
  24. Version int `json:"version"` //版本号
  25. Md5String string `json:"md5_string"` //md5值
  26. State int8 `json:"state"` //脚本启用状态
  27. CreateTime typeManage.LocalTime `json:"create_time"`
  28. UpdateTime typeManage.LocalTime `json:"update_time"`
  29. }