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

import com.brilliance.mda.runtime.mda.util.Decimals;
import com.brilliance.isc.common.rmbbop.common.IAds;
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:Tfa:人民币购售业务信息
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class Tfa extends AbstractCommonVo implements IAds {
    //人行报送状态
    private String sta = NULLSTR;

    //INR
    private String inr = NULLSTR;

    //VER
    private String ver = NULLSTR;

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

    //MSGID
    private String msgid = NULLSTR;

    //业务主键
    private String levyno = NULLSTR;

    //操作类型
    private String opertype = NULLSTR;

    //变�'/撤销原因
    private String actiondesc = NULLSTR;

    //申报日期
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date filingdate = NULLDATE;

    //境内机构代码
    private String bankorgcode = NULLSTR;

    //境内机构名称
    private String bankorgname = NULLSTR;

    //境内机构类型
    private String domesticorgtype = NULLSTR;

    //境外主体类型
    private String foreignorgtype = NULLSTR;

    //境外主体代码
    private String cpartyorgcode = NULLSTR;

    //境外主体名称
    private String cpartyorgname = NULLSTR;

    //人民币�'�户�'�号
    private String bicbkacct = NULLSTR;

    //人民币跨境�'�售类型
    private String cnybuytype = NULLSTR;

    //�'�售用途
    private String purposecode = NULLSTR;

    //业务种类
    private String transkind = NULLSTR;

    //交易类型
    private String tradetype = NULLSTR;

    //银行业务编号
    private String banktrano = NULLSTR;

    //交易附言
    private String addword = NULLSTR;

    //即期信息
    private  int tfc ;

    //远期信息
    private  int tfd ;

    //外汇掉期信息
    private  int tfe ;

    //�'�币掉期信息
    private  int tff ;

    //期权信息
    private  int tfg ;

    //即期信息标识
    private String tfcflg = NULLSTR;

    //远期信息标识
    private String tfdflg = NULLSTR;

    //外汇掉期信息标识
    private String tfeflg = NULLSTR;

    //�'�币掉期信息标识
    private String tffflg = NULLSTR;

    //期权信息标识
    private String tfgflg = NULLSTR;

    //Initial Entity Code
    private String ownextkey = NULLSTR;

    //银行机构名称
    private String sbankname = NULLSTR;
}
