package request

type FeeConfigCreate struct {
	VehicleTypeID uint    `json:"vehicle_type_id"`
	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"`
	VehicleTypeID uint    `json:"vehicle_type_id"`
	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 {
	VehicleTypeID uint `form:"vehicle_type_id"`
	Page          int  `form:"page,default=1"`
	PageSize      int  `form:"page_size,default=10"`
}
