This commit is contained in:
DDIsFriend
2023-08-23 18:37:36 +08:00
parent 63ca919ed5
commit a48690ccf8
49 changed files with 8332 additions and 7622 deletions

View File

@@ -38,6 +38,7 @@ class LoginDataModel : Decodable {
var phone : String
var name : String
var supplierName : String
var supplierType : Int
var supplierId : Int
var username : String
var userType : String
@@ -52,6 +53,7 @@ class OrderListDataModel: Decodable {
var vehiclePointLatitude : Double
var vehiclePointRemark : String?
var destinationAddress : String?
var positionEnvironment : PositionEnvironmentModel?
var destinationLongitude : Double?
var destinationLatitude : Double?
var destinationRemark : String?
@@ -59,6 +61,7 @@ class OrderListDataModel: Decodable {
var contractName : String
var taskServiceName : String
var taskOrderStatusString : String?
var taskOrderStatus : Int?
var orderCode : String
var createTime : String
var driverName : String?
@@ -78,6 +81,10 @@ class OrderListDataModel: Decodable {
var code : SupplierSettleRatioEnum
var label : String
}
class PositionEnvironmentModel : Decodable {
var code : positionEnvironment
var label : String
}
enum IsSupplierSettleEnum : Int,Decodable {
case NO = 0
case YES = 1
@@ -89,6 +96,17 @@ class OrderListDataModel: Decodable {
case SERVICE_FAIL_SETTLE = 3
case TRAIL_CAR_SETTLE = 4
}
enum positionEnvironment : Int,Decodable {
case ground = 1
case elevated_road = 2
case expressway = 3
case tunnel = 4
case bridge = 5
case underground = 6
case high_rise_car_park = 7
case crane_rescue = 8
case wading = 9
}
}
enum VehicleStatusCodeEnum : Int, Decodable {