package com.brilliance.isc.vo.model;

import com.brilliance.mda.runtime.mda.util.Decimals;
import com.brilliance.isc.common.vo.AbstractCommonVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

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

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

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class DtaretVo extends AbstractCommonVo {
    //Internal Unique ID of information returned
    private String inr = NULLSTR;

    //Internal Unique ID of TRN
    private String trninr = NULLSTR;

    //Object Type of Associated Contract Optional
    private String objtyp = NULLSTR;

    //Object INR of Associated Contract Optional
    private String objinr = NULLSTR;

    //国结业务编号
    private String ownref = NULLSTR;

    //核心业务编号
    private String yewubh = NULLSTR;

    //近端远端标志
    private String dxuhao = NULLSTR;

    //交易成交汇率
    private  BigDecimal jqmrhl  = Decimals.ZERO_SCALE6;

    //系统内平盘汇率
    private  BigDecimal jqmchl  = Decimals.ZERO_SCALE6;

    //总行确认汇率
    private  BigDecimal cjiohl  = Decimals.ZERO_SCALE6;

    //差额交割汇率
    private  BigDecimal paijia  = Decimals.ZERO_SCALE6;

    //新核心业务编号
    private String xnggbh = NULLSTR;

    //总分行平盘价\\分行平盘价
    private  BigDecimal yqmchl  = Decimals.ZERO_SCALE6;

    //总行向分行返还收益金额
    private  BigDecimal bfxjcr  = Decimals.ZERO_SCALE2;

    //总行向客户返还收益金额
    private  BigDecimal bfxjzq  = Decimals.ZERO_SCALE2;

    //总行扣划违约金金额
    private  BigDecimal dclije  = Decimals.ZERO_SCALE2;

    //分行扣划违约金额
    private  BigDecimal beiyje  = Decimals.ZERO_SCALE2;

    //交割日
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date qixiri = NULLDATE;

    //结售汇方向
    private String jshhbz = NULLSTR;

    //付�'�方式
    private String beiyol = NULLSTR;

    //客户收期权�'�\\客户收�'�用\\
    private  BigDecimal jinge1  = Decimals.ZERO_SCALE2;

    //总行收期权�'�\\银行收�'�用
    private  BigDecimal jinge3  = Decimals.ZERO_SCALE2;

    //是否收�'�标志
    private String shfebz = NULLSTR;

    //交割方式
    private String chlibz = NULLSTR;

    //平仓�'�币种
    private String huo2dh = NULLSTR;

    //平仓�'�用
    private  BigDecimal joyije  = Decimals.ZERO_SCALE2;

    //平仓日期
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date yqjgrq = NULLDATE;

    //业务余额
    private  BigDecimal jinge2  = Decimals.ZERO_SCALE2;

    //总行付期权�'�/总行收期权�'�
    private String jindoc = NULLSTR;

    //币种1
    private String hubdh1 = NULLSTR;

    //金额1
    private  BigDecimal jing41  = Decimals.ZERO_SCALE2;

    //币种2
    private String hubdh2 = NULLSTR;

    //金额2
    private BigDecimal jing21  = Decimals.ZERO_SCALE2;

    //1675组合返回数据
    private String jinwoc = NULLSTR;

    //是否拒绝
    private String jujebz = NULLSTR;
}
