提交 | 用户 | age
|
cf2c77
|
1 |
package com.hz.his.dto.user.money; |
C |
2 |
|
|
3 |
|
|
4 |
import lombok.Data; |
|
5 |
import lombok.ToString; |
|
6 |
|
|
7 |
import java.math.BigDecimal; |
|
8 |
|
|
9 |
/** |
|
10 |
* 修改用户资金 |
|
11 |
* |
|
12 |
* @author cjh |
|
13 |
*/ |
|
14 |
@Data |
|
15 |
public class UserMoneyUpdateDto { |
|
16 |
/**Y - 用户Id*/ |
|
17 |
private String userId; |
|
18 |
/**Y - 资金类型*/ |
|
19 |
private int fundType; |
|
20 |
|
|
21 |
/**Y - 操作人类型*/ |
|
22 |
private int operatorType; |
|
23 |
/**Y -操作人Id*/ |
|
24 |
private String operatorId; |
|
25 |
|
|
26 |
/**Y - 来源平台编码*/ |
|
27 |
private String originChannel; |
|
28 |
/**来源主题*/ |
|
29 |
private String originSubject; |
|
30 |
/**Y - 操作方式*/ |
|
31 |
private String operationReason; |
|
32 |
|
|
33 |
/**Y - 操作金额(单位元/积分)*/ |
|
34 |
public String opNumber; |
|
35 |
|
|
36 |
/**操作类型 是否需要领取 默认0 只有增值金 添加需要领取*/ |
|
37 |
private int opType; |
|
38 |
|
03b66d
|
39 |
/**关联标识(活动规则或者其他),如果是支付订单提前扣取的金额关联数据也存在这*/ |
cf2c77
|
40 |
private String commonId; |
C |
41 |
|
79fdc6
|
42 |
/**N-来源类型-不填默认订单*/ |
C |
43 |
private String orderType = ORDER_TYPE_ORDER; |
03b66d
|
44 |
/**订单id,如果是支付订单提前扣取金额存的是未同步过来的单标识*/ |
cf2c77
|
45 |
private String orderId; |
79fdc6
|
46 |
/**订单编号*/ |
C |
47 |
private String orderNo; |
cf2c77
|
48 |
/**子单订单id*/ |
C |
49 |
private String orderItemId; |
|
50 |
|
03b66d
|
51 |
/**唯一标识,多条操作记录用到UserMoneyReturnVo返回该传值*/ |
F |
52 |
private String equId; |
|
53 |
|
cf2c77
|
54 |
/**备注*/ |
C |
55 |
private String remarks; |
|
56 |
|
47f361
|
57 |
/** 扣除方式(0扣减不足报错,1扣减不足扣减剩余的,2扣减不足扣减到负数) */ |
F |
58 |
private Integer deductWay = 0; |
|
59 |
|
cf2c77
|
60 |
/*****************类型信息 注:以下常量以phis的UserMoneyLog常量为主*******************************/ |
C |
61 |
|
|
62 |
/**操作人类型-系统*/ |
51533a
|
63 |
public static final int OPERATOR_TYPE_SYSTEM = 0; |
C |
64 |
/**操作人类型-管理员*/ |
|
65 |
public static final int OPERATOR_TYPE_ADMIN = 1; |
|
66 |
/**操作人类型-用户*/ |
|
67 |
public static final int OPERATOR_TYPE_USER = 2; |
|
68 |
/**操作人类型-员工*/ |
|
69 |
public static final int OPERATOR_TYPE_EMPLOYEE = 3; |
|
70 |
|
79fdc6
|
71 |
/**来源类型-订单(OrdersTotal)*/ |
C |
72 |
public static final String ORDER_TYPE_ORDER = "order"; |
|
73 |
/**来源类型-同步HIS判断使用*/ |
|
74 |
public static final String ORDER_TYPE_TOTAL = "total"; |
cf2c77
|
75 |
|
C |
76 |
/**操作类型-系统处理*/ |
|
77 |
public static final int OP_TYPE_SYS = 0; |
|
78 |
/**操作类型-用户领取*/ |
|
79 |
public static final int OP_TYPE_USER_RECEIVE = 1; |
|
80 |
|
|
81 |
/**资金类型-储值金*/ |
|
82 |
public static final int FUND_TYPE_STORAGE = 0; |
|
83 |
/**资金类型-增值金*/ |
|
84 |
public static final int FUND_TYPE_INCREMENT = 1; |
|
85 |
/**资金类型-积分*/ |
|
86 |
public static final int FUND_TYPE_INTEGRAL = 2; |
|
87 |
/**资金类型-预定金*/ |
|
88 |
public static final int FUND_TYPE_DEPOSIT = 3; |
|
89 |
|
47f361
|
90 |
/** 扣除方式 - 扣减不足报错 */ |
F |
91 |
public static final Integer DEDUCTION_WAY_NONE = 0; |
|
92 |
/** 扣除方式 - 扣减不足扣减剩余的 */ |
|
93 |
public static final Integer DEDUCTION_WAY_RESIDUE = 1; |
|
94 |
/** 扣除方式 - 扣减不足扣减到负数 */ |
|
95 |
public static final Integer DEDUCTION_WAY_NEGATIVE = 2; |
|
96 |
|
cf2c77
|
97 |
/**操作方式-系统操作*/ |
C |
98 |
public static final String OPERATION_REASON_SYS = "systemOperation"; |
|
99 |
/**操作方式-充值操作*/ |
|
100 |
public static final String OPERATION_REASON_RECHARGE= "recharge"; |
|
101 |
/**操作方式-退款操作*/ |
|
102 |
public static final String OPERATION_REASON_REFUND = "refund"; |
|
103 |
/**操作方式-抵扣操作*/ |
|
104 |
public static final String OPERATION_REASON_DEDUCTION = "deduction"; |
|
105 |
/**操作方式-购买操作*/ |
|
106 |
public static final String OPERATION_REASON_BUY = "buy"; |
|
107 |
/**操作方式-转增订单*/ |
|
108 |
public static final String OPERATION_REASON_TURNRECHARGE = "turnRecharge"; |
|
109 |
/**操作方式-转增订单*/ |
|
110 |
public static final String OPERATION_REASON_GIFT = "bringNewUserGift"; |
|
111 |
/**操作方式-协商操作*/ |
|
112 |
public static final String OPERATION_REASON_NEGOTIATION = "negotiation"; |
|
113 |
/**操作方式-退回操作*/ |
|
114 |
public static final String OPERATION_REASON_RETURN = "returnGoods"; |
|
115 |
/**操作方式-换货操作*/ |
|
116 |
public static final String OPERATION_REASON_CHANGE = "changeGoods"; |
|
117 |
/**操作方式-生日赠送*/ |
|
118 |
public static final String OPERATION_REASON_BIRTHDAY_GIFT = "birthdayGift"; |
0e7570
|
119 |
/**操作方式-老带新赠送0701*/ |
1de489
|
120 |
public static final String OPERATION_REASON_GIFT_0701 = "bringNewUserGift_0701"; |
0e7570
|
121 |
/**操作方式-活动参与*/ |
A |
122 |
public static final String OPERATION_REASON_ACTIVITY_JOIN = "activity_join"; |
e3fd51
|
123 |
/**操作方式-营销助手积分兑换优惠券*/ |
R |
124 |
public static final String OPERATION_REASON_EXCHANGE_COUPON_USE_INTEGRAL = "exchange_coupon_use_integral"; |
79fdc6
|
125 |
/**操作方式-消费赠送*/ |
C |
126 |
public static final String OP_CONSUME_GIVE = "consume_give"; |
cf2c77
|
127 |
} |