chenjiahe
2022-09-22 51533a9d5e9e943772b5453d5d060bef596a5b7c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package com.hz.his.dto.user.money;
 
 
import lombok.Data;
import lombok.ToString;
 
import java.math.BigDecimal;
 
/**
 * 修改用户资金
 *
 * @author cjh
 */
@Data
public class UserMoneyUpdateDto {
    /**Y - 用户Id*/
    private String userId;
    /**Y - 资金类型*/
    private int fundType;
 
    /**Y - 操作人类型*/
    private int operatorType;
    /**Y -操作人Id*/
    private String operatorId;
 
    /**Y - 来源平台编码*/
    private String originChannel;
    /**来源主题*/
    private String originSubject;
    /**Y - 操作方式*/
    private String operationReason;
 
    /**Y - 操作金额(单位元/积分)*/
    public String opNumber;
 
    /**操作类型 是否需要领取 默认0 只有增值金 添加需要领取*/
    private int opType;
 
    /**关联标识(活动规则或者其他)*/
    private String commonId;
 
    /**订单id*/
    private String orderId;
    /**子单订单id*/
    private String orderItemId;
 
    /**备注*/
    private String remarks;
 
    /*****************类型信息 注:以下常量以phis的UserMoneyLog常量为主*******************************/
 
    /**操作人类型-系统*/
    public static final int OPERATOR_TYPE_SYSTEM = 0;
    /**操作人类型-管理员*/
    public static final int OPERATOR_TYPE_ADMIN = 1;
    /**操作人类型-用户*/
    public static final int OPERATOR_TYPE_USER = 2;
    /**操作人类型-员工*/
    public static final int OPERATOR_TYPE_EMPLOYEE = 3;
 
 
    /**操作类型-系统处理*/
    public static final int OP_TYPE_SYS = 0;
    /**操作类型-用户领取*/
    public static final int OP_TYPE_USER_RECEIVE = 1;
 
    /**资金类型-储值金*/
    public static final int FUND_TYPE_STORAGE = 0;
    /**资金类型-增值金*/
    public static final int FUND_TYPE_INCREMENT = 1;
    /**资金类型-积分*/
    public static final int FUND_TYPE_INTEGRAL = 2;
    /**资金类型-预定金*/
    public static final int FUND_TYPE_DEPOSIT = 3;
 
    /**操作方式-系统操作*/
    public static final String OPERATION_REASON_SYS = "systemOperation";
    /**操作方式-充值操作*/
    public static final String OPERATION_REASON_RECHARGE= "recharge";
    /**操作方式-退款操作*/
    public static final String OPERATION_REASON_REFUND = "refund";
    /**操作方式-抵扣操作*/
    public static final String OPERATION_REASON_DEDUCTION = "deduction";
    /**操作方式-购买操作*/
    public static final String OPERATION_REASON_BUY = "buy";
    /**操作方式-转增订单*/
    public static final String OPERATION_REASON_TURNRECHARGE = "turnRecharge";
    /**操作方式-转增订单*/
    public static final String OPERATION_REASON_GIFT = "bringNewUserGift";
    /**操作方式-协商操作*/
    public static final String OPERATION_REASON_NEGOTIATION = "negotiation";
    /**操作方式-退回操作*/
    public static final String OPERATION_REASON_RETURN = "returnGoods";
    /**操作方式-换货操作*/
    public static final String OPERATION_REASON_CHANGE = "changeGoods";
    /**操作方式-生日赠送*/
    public static final String OPERATION_REASON_BIRTHDAY_GIFT = "birthdayGift";
}