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

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.util.Date;

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


/**
 * TABLE:tfb:资金划转业务信息
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class Tga extends AbstractCommonVo implements IAds {
    //Internal Unique ID
    private String inr = NULLSTR;

    //Version
    private String ver = NULLSTR;

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

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

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

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

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

    //银行机构代码
    private String bankorgcode = NULLSTR;

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

    //产品类型
    private String derivatype = NULLSTR;

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

    //交易方类型
    private String countertype = NULLSTR;

    //交易方名称
    private String countername = NULLSTR;

    //交易方代码
    private String countercode = NULLSTR;

    //交易方国别
    private String countercountry = NULLSTR;

    //标的资产类型
    private String assettype = NULLSTR;

    //是否中央对手方清算
    private String centralclear = NULLSTR;

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

    //掉期信息标识
    private String tgcflg = NULLSTR;

    //利率信息标识
    private String tgdflg = NULLSTR;

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

    //期�'�信息标识
    private String tgfflg = NULLSTR;

    //远期信息
    private  int tgblist ;

    //掉期信息
    private  int tgclist ;

    //利率信息
    private  int tgdlist ;

    //期权信息
    private  int tgelist ;

    //期�'�信息
    private  int tgflist ;

    //Initial Entity Code
    private String ownextkey = NULLSTR;

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