younger_times
2023-05-04 5a30f2d587f7873518f309c8e1c68e644684cd90
BrokerDriver/Models/OrderModel.swift
@@ -6,3 +6,49 @@
//
import Foundation
import HandyJSON
struct AttachmentModel:HandyJSON{
    var current = -1
    var pages = -1
    var records = [AttachmentRecordModel]()
    var size = -1
    var total = -1
}
struct AttachmentRecordModel:HandyJSON{
    var id = 0
    var orderId = 0
    var name = ""
    var file = ""
    var createTime = ""
    var category:RecordEnum = .none
    var type = ""
}
struct UploadModel:HandyJSON{
    var deleteUrl = ""
    var type = ""
    var url = ""
}
struct NoteOrTroubleModel:HandyJSON{
    var current = -1
    var pages = -1
    var records = [NoteOrTroubleContentModel]()
    var size = -1
    var total = -1
}
struct NoteOrTroubleContentModel:HandyJSON {
    var id = 0
    var orderId = 0
    var createTime = ""
    var category:RecordEnum = .none
    var type = ""
    var describe = ""
    var driverId = 0
}