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 JstVo extends AbstractCommonVo {
    //Internal Unique ID of JS Contract
    private String inr = NULLSTR;

    //买卖方向
    private String pngcfx = NULLSTR;

    //择期起始日期
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date qishrq = NULLDATE;

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

    //银行买入�'�币
    private String huobdh = NULLSTR;

    //银行卖出�'�币
    private String dfhbdh = NULLSTR;

    //交易参考价
    private  BigDecimal jioyjc  = Decimals.ZERO_SCALE6;

    //系统内平盘参考价
    private  BigDecimal pngpjc  = Decimals.ZERO_SCALE6;

    //系统外平盘参考价
    private  BigDecimal wpngpc  = Decimals.ZERO_SCALE6;

    //客户选择
    private String khwtxz = NULLSTR;

    //委托汇率
    private  BigDecimal weithl  = Decimals.ZERO_SCALE6;

    //交易行优惠值
    private  BigDecimal zdngll  = Decimals.ZERO_SCALE6;

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

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

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

    //买入金额
    private  BigDecimal mairje  = Decimals.ZERO_SCALE3;

    //卖出金额
    private  BigDecimal maicje  = Decimals.ZERO_SCALE3;

    //买入�'�号
    private String zha1zh = NULLSTR;

    //卖出�'�号
    private String zhangh = NULLSTR;

    //保证金�'�号
    private String bzhjzh = NULLSTR;

    //序号
    private String dxuhao = NULLSTR;

    //外管统计码
    private String waitjm = NULLSTR;

    //是否择期
    private String benzbz = NULLSTR;

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

    //差额交割币种
    private String zchbdh = NULLSTR;

    //联系电话
    private String dianhh = NULLSTR;

    //业务状态
    private String zhungt = NULLSTR;

    //对方客户类别
    private String dfkhlb = NULLSTR;

    //结售汇统计码
    private String waigtj = NULLSTR;

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

    //总行拒绝事由
    private String remark = NULLSTR;

    //原始买入金额
    private BigDecimal maxmairje  = Decimals.ZERO_SCALE3;

    //原始卖出金额
    private BigDecimal maxmaicje  = Decimals.ZERO_SCALE3;

    //币种组合
    private String bizhzh = NULLSTR;
}
