wangrenhuang
2022-09-23 3b07edf0bcb15f8a0d0f48a90465b8aa31342f0a
提交 | 用户 | age
3b07ed 1 package com.hz.crm.dto;
W 2
3 import lombok.Data;
4
5 import java.math.BigDecimal;
6
7 /**
8  * 退款 -金额转化记录
9  * 现金可转储值金、增值金和积分
10  * 储值金可转增值金和积分
11  * 增值金可转积分
12  */
13 @Data
14 public class RefundAmountConversion  {
15
16     /*被转化金额类型*/
17     private Integer amountType;
18     /*被转化金额(元/积分)*/
19     private BigDecimal amountTotal = BigDecimal.ZERO;
20
21     /*转化金额类型conversion*/
22     private Integer conversionType;
23     /*转化金额(元/积分)*/
24     private BigDecimal conversionTotal = BigDecimal.ZERO;
25
26     /*********订单来源***********/
27    /*订单类型(RefundRecordConstants)*/
28     private Integer orderType;
29     /*订单id*/
30     private String orderId;
31     //更换子订单id/其他id
32     private String otherId;
33
34    /*退款总表id*/
35     private String refundGeneralId;
36
37     /**********金额类型************/
38     /**金额类型-现金*/
39     public static final int AMOUNT_TYPE_CASH = 1;
40     /**金额类型-储值金*/
41     public static final int AMOUNT_TYPE_RECHARGE = 2;
42     /**金额类型-增值金*/
43     public static final int AMOUNT_TYPE_INCREMENT = 3;
44     /**金额类型-积分*/
45     public static final int AMOUNT_TYPE_INTEGRAL = 4;
46
47 }