wangrenhuang
2022-09-23 3b07edf0bcb15f8a0d0f48a90465b8aa31342f0a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
 
}