package com.hz.crm.dto.order.refund;
|
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 退款 -金额转化记录
|
* 现金可转储值金、增值金和积分
|
* 储值金可转增值金和积分
|
* 增值金可转积分
|
*/
|
@Data
|
public class RefundAmountConversionDto {
|
|
/**Y - 被转化金额类型*/
|
private Integer amountType;
|
/**Y - 被转化金额(元/积分)*/
|
private BigDecimal amountTotal;
|
|
/**Y - 转化金额类型*/
|
private Integer conversionType;
|
/**Y - 转化金额(元/积分)*/
|
private BigDecimal conversionTotal;
|
|
/**********金额类型************/
|
/**金额类型-现金*/
|
public static final int AMOUNT_TYPE_CASH = 1;
|
/**金额类型-储值金*/
|
public static final int AMOUNT_TYPE_RECHARGE = 2;
|
/**金额类型-增值金*/
|
public static final int AMOUNT_TYPE_INCREMENT = 3;
|
/**金额类型-积分*/
|
public static final int AMOUNT_TYPE_INTEGRAL = 4;
|
|
}
|