fhx
2024-07-05 47f3610f113f2c6299a3c1074e2e26cb6e693bb4
提交 | 用户 | 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
79fdc6 39     /**N-关联标识(活动规则或者其他)*/
cf2c77 40     private String commonId;
C 41
79fdc6 42     /**N-来源类型-不填默认订单*/
C 43     private String orderType = ORDER_TYPE_ORDER;
cf2c77 44     /**订单id*/
C 45     private String orderId;
79fdc6 46     /**订单编号*/
C 47     private String orderNo;
cf2c77 48     /**子单订单id*/
C 49     private String orderItemId;
50
51     /**备注*/
52     private String remarks;
53
47f361 54     /** 扣除方式(0扣减不足报错,1扣减不足扣减剩余的,2扣减不足扣减到负数) */
F 55     private Integer deductWay = 0;
56
cf2c77 57     /*****************类型信息 注:以下常量以phis的UserMoneyLog常量为主*******************************/
C 58
59     /**操作人类型-系统*/
51533a 60     public static final int OPERATOR_TYPE_SYSTEM = 0;
C 61     /**操作人类型-管理员*/
62     public static final int OPERATOR_TYPE_ADMIN = 1;
63     /**操作人类型-用户*/
64     public static final int OPERATOR_TYPE_USER = 2;
65     /**操作人类型-员工*/
66     public static final int OPERATOR_TYPE_EMPLOYEE = 3;
67
79fdc6 68     /**来源类型-订单(OrdersTotal)*/
C 69     public static final String ORDER_TYPE_ORDER = "order";
70     /**来源类型-同步HIS判断使用*/
71     public static final String ORDER_TYPE_TOTAL = "total";
cf2c77 72
C 73     /**操作类型-系统处理*/
74     public static final int OP_TYPE_SYS = 0;
75     /**操作类型-用户领取*/
76     public static final int OP_TYPE_USER_RECEIVE = 1;
77
78     /**资金类型-储值金*/
79     public static final int FUND_TYPE_STORAGE = 0;
80     /**资金类型-增值金*/
81     public static final int FUND_TYPE_INCREMENT = 1;
82     /**资金类型-积分*/
83     public static final int FUND_TYPE_INTEGRAL = 2;
84     /**资金类型-预定金*/
85     public static final int FUND_TYPE_DEPOSIT = 3;
86
47f361 87     /** 扣除方式 - 扣减不足报错 */
F 88     public static final Integer DEDUCTION_WAY_NONE = 0;
89     /** 扣除方式 - 扣减不足扣减剩余的 */
90     public static final Integer DEDUCTION_WAY_RESIDUE = 1;
91     /** 扣除方式 - 扣减不足扣减到负数 */
92     public static final Integer DEDUCTION_WAY_NEGATIVE = 2;
93
cf2c77 94     /**操作方式-系统操作*/
C 95     public static final String OPERATION_REASON_SYS = "systemOperation";
96     /**操作方式-充值操作*/
97     public static final String OPERATION_REASON_RECHARGE= "recharge";
98     /**操作方式-退款操作*/
99     public static final String OPERATION_REASON_REFUND = "refund";
100     /**操作方式-抵扣操作*/
101     public static final String OPERATION_REASON_DEDUCTION = "deduction";
102     /**操作方式-购买操作*/
103     public static final String OPERATION_REASON_BUY = "buy";
104     /**操作方式-转增订单*/
105     public static final String OPERATION_REASON_TURNRECHARGE = "turnRecharge";
106     /**操作方式-转增订单*/
107     public static final String OPERATION_REASON_GIFT = "bringNewUserGift";
108     /**操作方式-协商操作*/
109     public static final String OPERATION_REASON_NEGOTIATION = "negotiation";
110     /**操作方式-退回操作*/
111     public static final String OPERATION_REASON_RETURN = "returnGoods";
112     /**操作方式-换货操作*/
113     public static final String OPERATION_REASON_CHANGE = "changeGoods";
114     /**操作方式-生日赠送*/
115     public static final String OPERATION_REASON_BIRTHDAY_GIFT = "birthdayGift";
0e7570 116     /**操作方式-老带新赠送0701*/
1de489 117     public static final String OPERATION_REASON_GIFT_0701 = "bringNewUserGift_0701";
0e7570 118     /**操作方式-活动参与*/
A 119     public static final String OPERATION_REASON_ACTIVITY_JOIN = "activity_join";
e3fd51 120     /**操作方式-营销助手积分兑换优惠券*/
R 121     public static final String OPERATION_REASON_EXCHANGE_COUPON_USE_INTEGRAL = "exchange_coupon_use_integral";
79fdc6 122     /**操作方式-消费赠送*/
C 123     public static final String OP_CONSUME_GIVE = "consume_give";
cf2c77 124 }