package com.brilliance.isc.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.Date;

import static com.brilliance.mda.runtime.mda.Constants.NULLDATE;
import static com.brilliance.mda.runtime.mda.Constants.NULLSTR;


/**
* TABLE:dbl:申报信息状态表
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Dbl{
        //Internal Unique ID
        private String inr = NULLSTR;

        //Object Type
        private String objtyp = NULLSTR;

        //Object INR
        private String objinr = NULLSTR;

        //申报号码
        private String rptno = NULLSTR;

        //基'∈据'态
        private String bassta = NULLSTR;

        //申报信息'态
        private String dclsta = NULLSTR;

        //核销信息'态
        private String vrfsta = NULLSTR;

        //Initial Entity Code
        private String ownextkey = NULLSTR;

        //Own User
        private String ownusr = NULLSTR;

        //对应TRNINR
        private String trninr = NULLSTR;

        //'''建日期
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private Date credat = NULLDATE;

        //授权日期
        @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
        private Date reldat = NULLDATE;

        //�'时申报流�'号
        private String tmpref = NULLSTR;

        //�'�易类型
        private String trdtyp = NULLSTR;

        //款项标志
        private String acttyp = NULLSTR;

        //是否报送过
        private String sndflg ;

        //金融机构代码
        @JsonIgnoreProperties
        private String ptynum ;

        //操作类型
        @JsonIgnoreProperties
        private String actiontyp ;

        //数据来源
        private String datsrc ;

        //【业务号码】
        private String extinf ;

        //所属文件
        private String filnam ;

        private String pntinr ;

        //标识字段（例：*）
        private String curflg ;

        //所属机构
        @JsonIgnoreProperties
        private String bchnam ;

        //所属用户
        @JsonIgnoreProperties
        private String usrnam ;

        //【chk】
        @JsonIgnoreProperties
        private String checkinf ;

        //审批
        private String exmandapp ;

        //业务日期
        @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
        private Date sfhdat;

        //数据经办机构inr
        private String jbbchinr ;

        //交易编码
        private String codext;

        //补录状态
        private String addsta;
}