yujian
2019-12-19 bb07147aaa96d1ef4c99e358dbbe7dad160dc62a
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
package com.yeshi.fanli.dto.mq.user.body;
 
import java.util.Date;
 
import com.yeshi.fanli.dto.mq.BaseMQMsgBody;
 
/**
 * 用户信息修改
 * 
 * @author Administrator
 *
 */
public class UserInfoUpdateMQMsg extends BaseMQMsgBody {
 
    public enum UserInfoUpdateTypeEnum {
        nickName("昵称"), portrait("头像"), sex("绑定更换"), inviteCode("邀请码修改"), wxId("微信号"), wxErCode("微信二维码");
        private final String desc;
 
        private UserInfoUpdateTypeEnum(String desc) {
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
    }
 
    private Long uid;// 用户ID
    private UserInfoUpdateTypeEnum type;// 类型
    private String value;// 值
    private Date createTime;// 时间
 
    public UserInfoUpdateMQMsg(Long uid, UserInfoUpdateTypeEnum type, String value, Date createTime) {
        super();
        this.uid = uid;
        this.type = type;
        this.value = value;
        this.createTime = createTime;
    }
 
    public UserInfoUpdateMQMsg() {
        super();
 
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public UserInfoUpdateTypeEnum getType() {
        return type;
    }
 
    public void setType(UserInfoUpdateTypeEnum type) {
        this.type = type;
    }
 
    public String getValue() {
        return value;
    }
 
    public void setValue(String value) {
        this.value = value;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
}