package com.lukouguoji.module_base.bean

import androidx.databinding.ObservableBoolean
import com.alibaba.fastjson.annotation.JSONField
import com.lukouguoji.module_base.interfaces.ICheck

class GjjTallyRecordBean(
    var agent: String? = "",
    var awbType: String? = "",
    var billsNo: String? = "",
    var businessType: String? = "",
    var carrier: String? = "",
    var cashWeight: String? = "",
    var chargeFlag: String? = "",
    var days: String? = "",
    var dep: String? = "",
    var dest: String? = "",
    var exNo: String? = "",
    var fdate: String? = "",
    var fdateEnd: String? = "",
    var fdateStart: String? = "",
    var fdest: String? = "",
    var fid: String? = "",
    var flight: String? = "",
    var fno: String? = "",
    var gdate: String? = "",
    var goods: String? = "",
    var goodsCn: String? = "",
    var locFlag: String? = "",
    var location: String? = "",
    var movID: String? = "",
    var no: String? = "",
    var opDate: String? = "",
    var opId: String? = "",
    var opName: String? = "",
    var organizationCode: String? = "",
    var origin: String? = "",
    var pc: Int? = 0,
    var pickupTime: String? = "",
    var prefix: String? = "",
    var ref: String? = "",
    var spCode: String? = "",
    var subCode: String? = "",
    var volume: String? = "",
    var wbNo: String? = "",
    var weight: String? = "",
    var whid: String? = ""
) : ICheck {

    // 是否选中
    @JSONField(serialize = false)
    val checked = ObservableBoolean(false)

    @JSONField(serialize = false)
    override fun getCheckObservable() = checked

    fun getFlightDesc() = "$fdate/$fno"
}