package com.brilliance.isc.common.rmbbop.entity;

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.Getter;
import lombok.Setter;

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;


/**
* TABLE:tfe:外汇掉期信息
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class Tfe extends AbstractCommonVo {

        //Internal Unique ID
        private String inr = NULLSTR;

        //Version
        private String ver = NULLSTR;

        //objtyp
        private String objtyp = NULLSTR;

        //objinr
        private String objinr = NULLSTR;

        //人行报送状态
        private String sta = NULLSTR;

        //明细操作类型
        private String listopertype = NULLSTR;

        //数据状态
        private String csta = NULLSTR;

        //明细主键
        private  int seqno  ;

       //远端买入币种
        private String disbuycurrency = NULLSTR;

        //远端买入名义本金金额
        private BigDecimal disbuyamt = Decimals.ZERO_SCALE2;

        //近端交易价格
        private BigDecimal nearprice =Decimals.ZERO_SCALE2;

        //远端交易价格
        private BigDecimal disprice =Decimals.ZERO_SCALE2;

        //远端卖出名义本金金额
        private BigDecimal dissellamt = Decimals.ZERO_SCALE2;

        //远端卖出名义本金币种
        private String dissellcurrency = NULLSTR;

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

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

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

        //确认
        private String acp;


























}