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:ebb:对外担保－责任余额信息
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Ebb{

    //Internal Unique ID
    private String inr = NULLSTR;

    //Version
    private String ver = NULLSTR;

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

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

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

    //担保责任余额变动日期
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date wabachandate = NULLDATE;

    //担保责任余额
    @JsonSerialize(using = BigDecimalSerialize.class)
    private  BigDecimal basere  = 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;

    //old担保责任余额
    @JsonSerialize(using = BigDecimalSerialize.class)
    private  BigDecimal oldbasere  = Decimals.ZERO_SCALE2;

    //old担保责任余额
    private  String priflg  = NULLSTR;

}

