package com.hz.crm.dto;
|
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 退款 -金额转化记录
|
* 现金可转储值金、增值金和积分
|
* 储值金可转增值金和积分
|
* 增值金可转积分
|
*/
|
@Data
|
public class RefundAmountConversion {
|
|
/*被转化金额类型*/
|
private Integer amountType;
|
/*被转化金额(元/积分)*/
|
private BigDecimal amountTotal = BigDecimal.ZERO;
|
|
/*转化金额类型conversion*/
|
private Integer conversionType;
|
/*转化金额(元/积分)*/
|
private BigDecimal conversionTotal = BigDecimal.ZERO;
|
|
/*********订单来源***********/
|
/*订单类型(RefundRecordConstants)*/
|
private Integer orderType;
|
/*订单id*/
|
private String orderId;
|
//更换子订单id/其他id
|
private String otherId;
|
|
/*退款总表id*/
|
private String refundGeneralId;
|
|
/**********金额类型************/
|
/**金额类型-现金*/
|
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;
|
|
}
|