admin
2020-12-31 74196bcc835d9b76cdd1bc3d85b0dfbe0191fc00
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
package com.ks.daylucky.pojo.DO;
 
import com.google.gson.annotations.Expose;
import org.springframework.data.annotation.Transient;
 
import javax.validation.constraints.NotNull;
import java.util.Date;
 
public class UserInfo {
    //正常用户
    public final static int TYPE_NORMAL = 1;
    //虚拟用户
    public final static int TYPE_VIRTUAL = 2;
    //尚未登录
    public final static int STATE_NO_LOGIN = 0;
    //已经登录
    public final static int STATE_LOGINED = 1;
 
 
    @Expose
    private Long id;
    @Expose
    @NotNull(message = "应用ID不能为空")
    private Long appId;
 
    @Expose
    @NotNull(message = "应用唯一标识不能为空")
    private String identifyCode;
 
    @Expose
    private String nickName;
 
    @Expose
    private String portrait;
 
    private String mobile;
 
    private String alipayUid;
 
    private String alipayPortrait;
 
    private String alipayNickName;
 
    private String wxOpenId;
 
    private String wxUnionId;
 
    private String wxPortrait;
 
    private Date createTime;
 
    private Date updateTime;
 
    private Integer type;
 
    private Integer state;
 
    private String stateDesc;
 
    @Transient
    private UserInfoExtra userInfoExtra;
 
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public String getStateDesc() {
        return stateDesc;
    }
 
    public void setStateDesc(String stateDesc) {
        this.stateDesc = stateDesc;
    }
 
    public String getAlipayNickName() {
        return alipayNickName;
    }
 
    public void setAlipayNickName(String alipayNickName) {
        this.alipayNickName = alipayNickName;
    }
 
    public UserInfoExtra getUserInfoExtra() {
        return userInfoExtra;
    }
 
    public void setUserInfoExtra(UserInfoExtra userInfoExtra) {
        this.userInfoExtra = userInfoExtra;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getAppId() {
        return appId;
    }
 
    public void setAppId(Long appId) {
        this.appId = appId;
    }
 
    public String getIdentifyCode() {
        return identifyCode;
    }
 
    public void setIdentifyCode(String identifyCode) {
        this.identifyCode = identifyCode == null ? null : identifyCode.trim();
    }
 
    public String getNickName() {
        return nickName;
    }
 
    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }
 
    public String getPortrait() {
        return portrait;
    }
 
    public void setPortrait(String portrait) {
        this.portrait = portrait == null ? null : portrait.trim();
    }
 
    public String getMobile() {
        return mobile;
    }
 
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }
 
    public String getAlipayUid() {
        return alipayUid;
    }
 
    public void setAlipayUid(String alipayUid) {
        this.alipayUid = alipayUid == null ? null : alipayUid.trim();
    }
 
    public String getAlipayPortrait() {
        return alipayPortrait;
    }
 
    public void setAlipayPortrait(String alipayPortrait) {
        this.alipayPortrait = alipayPortrait == null ? null : alipayPortrait.trim();
    }
 
    public String getWxOpenId() {
        return wxOpenId;
    }
 
    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId == null ? null : wxOpenId.trim();
    }
 
    public String getWxUnionId() {
        return wxUnionId;
    }
 
    public void setWxUnionId(String wxUnionId) {
        this.wxUnionId = wxUnionId == null ? null : wxUnionId.trim();
    }
 
    public String getWxPortrait() {
        return wxPortrait;
    }
 
    public void setWxPortrait(String wxPortrait) {
        this.wxPortrait = wxPortrait == null ? null : wxPortrait.trim();
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}