package com.brilliance.isc.vo.bop;

import com.brilliance.mda.runtime.mda.util.Decimals;
import com.brilliance.mda.support.jakson.serialize.BigDecimalSerializeRate;
import com.brilliance.mda.support.jakson.serialize.DecimalLength;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class DbdResultVo {
    //申报号码
    private String rptno ;
    //【是否报送过】
    private String sndflg ;
    //【基础信息状态】
    private String bassta ;
    //【申报信息状态】
    private String dclsta ;
    //【核销信息状态】
    private String vrfsta ;
    //【所属机构】
    private String bchnam ;
    //【经办日期】
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date credat;
    //操作类型
    private String actiontype ;
    //修改/删除原因
    private String actiondesc ;
    //收款人类型
    private String custype ;
    //个人身份证件号码
    private String idcode ;
    //组织机构
    private String custcod ;
    //收款人名称
    private String custnm ;
    //付款人名称
    private String oppuser ;
    //收入款币种
    private String txccy ;
    //收入款金额
    @JsonSerialize(using = BigDecimalSerializeRate.class)
    @DecimalLength(2)
    private BigDecimal txamt  = Decimals.ZERO_SCALE2;
    //结汇汇率
    @JsonSerialize(using = BigDecimalSerializeRate.class)
    @DecimalLength(8)
    private BigDecimal exrate  = Decimals.ZERO_SCALE8;
    //结汇金额
    @JsonSerialize(using = BigDecimalSerializeRate.class)
    @DecimalLength(2)
    private BigDecimal lcyamt  = Decimals.ZERO_SCALE2;
    //人民币帐号/银行卡号
    private String lcyacc ;
    //现汇金额
    @JsonSerialize(using = BigDecimalSerializeRate.class)
    @DecimalLength(2)
    private BigDecimal fcyamt  = Decimals.ZERO_SCALE2;
    //外汇帐号/银行卡号
    private String fcyacc ;
    //其它金额
    @JsonSerialize(using = BigDecimalSerializeRate.class)
    @DecimalLength(2)
    private BigDecimal othamt  = Decimals.ZERO_SCALE2;
    //其它帐号/银行卡号
    private String othacc ;
    //结算方式
    private String method ;
    //银行业务编号
    private String buscode ;

    //dba
    //国内银行扣费币种
    private String inchargeccy ;
    //国内银行扣费金额
    @JsonSerialize(using = BigDecimalSerializeRate.class)
    @DecimalLength(2)
    private BigDecimal inchargeamt  = Decimals.ZERO_SCALE2;


    //操作类型
    private String vrfActiontype ;
    //修改/删除原因
    private String vrfActiondesc ;
    //是否出口核销项下收汇
    private String isref ;
    //收汇类型
    private String payattr ;
    //收款性�'�
    private String paytype ;
    //交易编码1
    private String txcode ;
    //相应金额1
    private BigDecimal tc1amt  = new BigDecimal("0.00");
    //交易附言1
    private String txrem ;
    //交易编码2
    private String txcode2 ;
    //相应金额2
    private BigDecimal tc2amt  = new BigDecimal("0.00");
    //交易附言2
    private String tx2rem ;
    //填报人
    private String crtuser ;
    //填报人电话
    private String inptelc ;
    //申报日期
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date rptdate;
    //外汇局批件/备案表号
    private String regno ;


}
