package com.lukouguoji.module_base.bean

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

class PacketParseBean(
    // 流水号
    var id: String? = "",
    // 接口类型
    var interfaceType: String? = "",
    // 检索关键字
    var key: String? = "",
    // 报文类型
    var msgType: String? = "",
    // 企业组织机构代码
    var organizationCode: String? = "",
    // 接收时间
    var receiveTime: String? = "",
    // 接收地址
    var receiverAddress: String? = "",
    // 接收状态描述
    var response: String? = "",
    // 发送地址
    var sendAddress: String? = "",
    // 接收状态
    var status: String? = "",
    // 电报内容
    var text: String? = ""
) : ICheck {

    @JSONField(serialize = false)
    val checked = ObservableBoolean(false)

    @JSONField(serialize = false)
    override fun getCheckObservable(): ObservableBoolean {
        return checked
    }

}