package com.brilliance.isc.bo;

import java.util.*;
import java.math.BigDecimal;



import static com.brilliance.mda.runtime.mda.Constants.*;
import com.brilliance.mda.runtime.mda.util.*;
import com.brilliance.isc.common.json.BigDecimalSerialize;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;




/**
 * TABLE:ebc:对外担保－履约信息
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Ebc {

    //Internal Unique ID
    private String inr = NULLSTR;

    //Version
    private String ver = NULLSTR;

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

    //删除原因
    private String actiondesc = NULLSTR;

    //对外担保编号
    private String exguarancode = NULLSTR;

    //履约编号
    private String complianceno = NULLSTR;

    //担保人代码
    private String guarantorcode = NULLSTR;

    //银行业务参号
    private String buscode = NULLSTR;

    //受益人代码
    private String bencode = NULLSTR;

    //受益人中文名称
    private String bename = NULLSTR;

    //受益人英文名称
    private String benamen = NULLSTR;

    //履约日期
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date guperdate = NULLDATE;

    //履约币种
    private String gupercurr = NULLSTR;

    //履约金额
    @JsonSerialize(using = BigDecimalSerialize.class)
    private  BigDecimal guperamount  = Decimals.ZERO_SCALE2;

    //?'?汇履约金额
    @JsonSerialize(using = BigDecimalSerialize.class)
    private  BigDecimal pguperamount  = Decimals.ZERO_SCALE2;

    //备注
    private String remark = NULLSTR;

    //接口状态
    private String sta = NULLSTR;

    //INR of EBL
    private String eblinr = NULLSTR;

    //Object Type
    private String objtyp = NULLSTR;

    //Object INR
    private String objinr = NULLSTR;

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

    //确认
    private String acp = NULLSTR;

}

