zhangxu
2022-09-22 69c4f47bfe6f3eda7f76809537cf6b4afb8c3dfb
提交 | 用户 | 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
39     /**关联标识(活动规则或者其他)*/
40     private String commonId;
41
42     /**订单id*/
43     private String orderId;
44     /**子单订单id*/
45     private String orderItemId;
46
47     /**备注*/
48     private String remarks;
49
50     /*****************类型信息 注:以下常量以phis的UserMoneyLog常量为主*******************************/
51
52     /**操作人类型-用户*/
53     public static final int OPERATOR_TYPE_USER = 0;
54     /**操作人类型-员工*/
55     public static final int OPERATOR_TYPE_EMPLOYEE = 1;
56     /**操作人类型-管理员*/
57     public static final int OPERATOR_TYPE_ADMIN = 2;
58     /**操作人类型-系统*/
59     public static final int OPERATOR_TYPE_SYSTEM = 3;
60
61     /**操作类型-系统处理*/
62     public static final int OP_TYPE_SYS = 0;
63     /**操作类型-用户领取*/
64     public static final int OP_TYPE_USER_RECEIVE = 1;
65
66     /**资金类型-储值金*/
67     public static final int FUND_TYPE_STORAGE = 0;
68     /**资金类型-增值金*/
69     public static final int FUND_TYPE_INCREMENT = 1;
70     /**资金类型-积分*/
71     public static final int FUND_TYPE_INTEGRAL = 2;
72     /**资金类型-预定金*/
73     public static final int FUND_TYPE_DEPOSIT = 3;
74
75     /**操作方式-系统操作*/
76     public static final String OPERATION_REASON_SYS = "systemOperation";
77     /**操作方式-充值操作*/
78     public static final String OPERATION_REASON_RECHARGE= "recharge";
79     /**操作方式-退款操作*/
80     public static final String OPERATION_REASON_REFUND = "refund";
81     /**操作方式-抵扣操作*/
82     public static final String OPERATION_REASON_DEDUCTION = "deduction";
83     /**操作方式-购买操作*/
84     public static final String OPERATION_REASON_BUY = "buy";
85     /**操作方式-转增订单*/
86     public static final String OPERATION_REASON_TURNRECHARGE = "turnRecharge";
87     /**操作方式-转增订单*/
88     public static final String OPERATION_REASON_GIFT = "bringNewUserGift";
89     /**操作方式-协商操作*/
90     public static final String OPERATION_REASON_NEGOTIATION = "negotiation";
91     /**操作方式-退回操作*/
92     public static final String OPERATION_REASON_RETURN = "returnGoods";
93     /**操作方式-换货操作*/
94     public static final String OPERATION_REASON_CHANGE = "changeGoods";
95     /**操作方式-生日赠送*/
96     public static final String OPERATION_REASON_BIRTHDAY_GIFT = "birthdayGift";
97 }