city_config_dto.go 942 B

123456789101112131415161718192021222324252627282930
  1. package dto
  2. type CityInfoParams struct {
  3. CityId uint64 `json:"city_id"`
  4. }
  5. type CityInfoResponse struct {
  6. Result CityInfoResult
  7. }
  8. type CityInfoResult struct {
  9. ID uint64 `json:"id"`
  10. MapCode uint64 `json:"map_code"`
  11. Name string `json:"name"`
  12. Shortname string `json:"shortname"`
  13. BikeOpen int `json:"bike_open"`
  14. CarOpen int `json:"car_open"`
  15. OpenTime int `json:"open_time"`
  16. Mode int `json:"mode"`
  17. BailMode int `json:"bail_mode"`
  18. IsCustom int `json:"is_custom"`
  19. IsStop int `json:"is_stop"`
  20. StopReason string `json:"stop_reason"`
  21. StopStartTime int `json:"stop_start_time"`
  22. StopEndTime int `json:"stop_end_time"`
  23. OpMode int `json:"op_mode"`
  24. CreateTime int `json:"create_time"`
  25. UpdateTime int `json:"update_time"`
  26. SysUserID int `json:"sys_user_id"`
  27. SysUserName string `json:"sys_user_name"`
  28. }