option.go 701 B

12345678910111213141516171819202122232425262728293031323334
  1. package task
  2. type GamePortOption struct {
  3. Id int
  4. ChannelName string
  5. }
  6. type LoginTypeOption struct {
  7. Id int
  8. LoginName string `json:"login_name"`
  9. }
  10. type AccountTypeOption struct {
  11. Id int
  12. TypeName string `json:"type_name"`
  13. }
  14. type ResponsiblePersonOption struct {
  15. Name string `json:"name"`
  16. }
  17. type GameListOption struct {
  18. GameName string `json:"game_name"`
  19. }
  20. type Option struct {
  21. GamePortOptions []GamePortOption `json:"game_port"`
  22. LoginTypeOptions []LoginTypeOption `json:"login_type"`
  23. AccountTypeOptions []AccountTypeOption `json:"account_type"`
  24. GameListOptions []GameListOption `json:"game_list"`
  25. ResponsiblePersonOptions []ResponsiblePersonOption `json:"responsible_person_list"`
  26. }