| 1234567891011121314151617181920212223242526272829303132 |
- package request
- type FeeConfigCreate struct {
- VehicleType string `json:"vehicle_type" `
- StartTime int `json:"start_time"`
- StartFee float64 `json:"start_fee"`
- UnitTime int `json:"unit_time"`
- UnitFee float64 `json:"unit_fee"`
- DailyMaxFee float64 `json:"daily_max_fee"`
- IsVIPFree bool `json:"is_vip_free"`
- VIPDiscount float64 `json:"vip_discount"`
- Description string `json:"description"`
- }
- type FeeConfigUpdate struct {
- ID uint `json:"id" `
- VehicleType string `json:"vehicle_type" `
- StartTime int `json:"start_time"`
- StartFee float64 `json:"start_fee"`
- UnitTime int `json:"unit_time"`
- UnitFee float64 `json:"unit_fee"`
- DailyMaxFee float64 `json:"daily_max_fee"`
- IsVIPFree bool `json:"is_vip_free"`
- VIPDiscount float64 `json:"vip_discount"`
- Description string `json:"description"`
- }
- type FeeConfigQuery struct {
- VehicleType string `form:"vehicle_type"`
- Page int `form:"page,default=1"`
- PageSize int `form:"page_size,default=10"`
- }
|