package com.lukouguoji.module_base.bean

class GnjQueryDetailsBean {

    val whList: List<Wh> = emptyList()

    val maWb: GnjQueryBean = GnjQueryBean()

    class Wh {
        var activeId: String = "" // null
        var agentCode: String = "" // null
        var awbType: String = "" // null
        var billsNo: String = "" // null
        var businessType: String = "" // null
        var by1: String = "" // null
        var cashWeight: String = "" // null
        var chargeFlag: String = "" // null
        var chargeTime: String = "" // null
        var days: String = "" // null
        var dest: String = "" // null
        var dgrDetail: String = "" // null
        var dgrLocation: String = "" // null
        var fdate: String = "" // 2024-06-27
        var fdep: String = "" // PEK
        var fdest: String = "" // HFE
        var flight: String = "" // 20240627/MU2023
        var fno: String = "" // MU2023
        var gdate: String = "" // null
        var giveOutDate: String = "" // null
        var goods: String = "" // null
        var locFlag: String = "" // null
        var location: String = "" // null
        var no: String = "" // 22222981
        var opDate: String = "" // 2024-06-27 15:24:32
        var opId: String = "" // ADMIN
        var origin: String = "" // PEK
        var packageType: String = "" // null
        var pc: String = "" // 200
        var prefix: String = "" // 781
        var ref: String = "" // null
        var spCode: String = "" // null
        var splitFlag: String = "" // null
        var subCode: String = "" // null
        var unNumber: String = "" // null
        var volume: String = "" // 1.36
        var wbNo: String = "" // null
        var weight: String = "" // 300
        var whId: String = "" // 996361

        var carrier: String = "" //

        var range: String = ""
            get() {
                if (field.isEmpty()) {
                    field = "$fdep-$fdest"
                }
                return field
            }
    }

}