package com.brilliance.isc.vo.lc;

import com.brilliance.mda.runtime.mda.util.Decimals;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 减额修改查询列表vo
 *
 
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class DecstmVo {

    /**
     * 修改次数
     */
    private int amenbr;

    /**
     * 业务编号
     */
    private String ownref;

    /**
     * 币种
     */
    private String engcur;

    /**
     * 总修改金额
     */
    private BigDecimal engamt = Decimals.ZERO_SCALE2;

    /**
     * 修改日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date amedat;

    /**
     * 附加金额修改金额
     */
    private BigDecimal chgAddAmt = Decimals.ZERO_SCALE2;

    /**
     * engamt + chgAddAmt
     */
    private BigDecimal chgAmt = Decimals.ZERO_SCALE2;

    /**
     * trninr
     */
    private String trninr;

    /**
     * 标记 D/I
     */
    private String flg;

    /**
     * 修改后有效期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date expdat;

    /**
     * 实际修改金额
     */
    private BigDecimal actameamt = Decimals.ZERO_SCALE2;
}
