chenjiahe
2024-08-21 e81120cc05338028d7fea1b6670d5e877fde3b15
提交 | 用户 | 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
e81120 42     /**N-来源类型-不填默认订单*/
C 43     private String orderType = ORDER_TYPE_ORDER;
03b66d 44     /**订单id,如果是支付订单提前扣取金额存的是未同步过来的单标识*/
cf2c77 45     private String orderId;
e81120 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
57     /*****************类型信息 注:以下常量以phis的UserMoneyLog常量为主*******************************/
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
e81120 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
87     /**操作方式-系统操作*/
88     public static final String OPERATION_REASON_SYS = "systemOperation";
89     /**操作方式-充值操作*/
90     public static final String OPERATION_REASON_RECHARGE= "recharge";
91     /**操作方式-退款操作*/
92     public static final String OPERATION_REASON_REFUND = "refund";
93     /**操作方式-抵扣操作*/
94     public static final String OPERATION_REASON_DEDUCTION = "deduction";
95     /**操作方式-购买操作*/
96     public static final String OPERATION_REASON_BUY = "buy";
97     /**操作方式-转增订单*/
98     public static final String OPERATION_REASON_TURNRECHARGE = "turnRecharge";
99     /**操作方式-转增订单*/
100     public static final String OPERATION_REASON_GIFT = "bringNewUserGift";
101     /**操作方式-协商操作*/
102     public static final String OPERATION_REASON_NEGOTIATION = "negotiation";
103     /**操作方式-退回操作*/
104     public static final String OPERATION_REASON_RETURN = "returnGoods";
105     /**操作方式-换货操作*/
106     public static final String OPERATION_REASON_CHANGE = "changeGoods";
107     /**操作方式-生日赠送*/
108     public static final String OPERATION_REASON_BIRTHDAY_GIFT = "birthdayGift";
0e7570 109     /**操作方式-老带新赠送0701*/
1de489 110     public static final String OPERATION_REASON_GIFT_0701 = "bringNewUserGift_0701";
0e7570 111     /**操作方式-活动参与*/
A 112     public static final String OPERATION_REASON_ACTIVITY_JOIN = "activity_join";
e3fd51 113     /**操作方式-营销助手积分兑换优惠券*/
R 114     public static final String OPERATION_REASON_EXCHANGE_COUPON_USE_INTEGRAL = "exchange_coupon_use_integral";
e81120 115     /**操作方式-消费赠送*/
C 116     public static final String OP_CONSUME_GIVE = "consume_give";
cf2c77 117 }