| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package response
- import "wails-app/internal/dao"
- type Vehicle struct {
- dao.Vehicle
- }
- type VehicleList struct {
- Total int64 `json:"total"`
- List []dao.Vehicle `json:"list"`
- }
- type VehicleRecord struct {
- dao.VehicleRecord
- }
- type VehicleRecordList struct {
- Total int64 `json:"total"`
- List []dao.VehicleRecord `json:"list"`
- }
- type FeeConfig struct {
- dao.FeeConfig
- }
- type FeeConfigList struct {
- Total int64 `json:"total"`
- List []dao.FeeConfig `json:"list"`
- }
- type ExitPreviewResponse struct {
- PlateNumber string `json:"plate_number"`
- EntryTime int64 `json:"entry_time"`
- StayTime int64 `json:"stay_time"`
- Fee float64 `json:"fee"`
- VehicleType string `json:"vehicle_type"`
- IsTemp bool `json:"is_temp"`
- }
- type ExitConfirmResponse struct {
- PlateNumber string `json:"plate_number"`
- EntryTime int64 `json:"entry_time"`
- ExitTime int64 `json:"exit_time"`
- StayTime int64 `json:"stay_time"`
- Fee float64 `json:"fee"`
- ChangeAmount float64 `json:"change_amount"`
- PaymentMethod string `json:"payment_method"`
- }
|