UserAuthInfo.java
684 Bytes
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
package com.dituhui.pea.pojo;
import lombok.Data;
import java.io.Serializable;
/**
* 纯粹的用户信息,对应数据库
*
* @author dk
*/
@Data
public class UserAuthInfo implements Serializable {
/**
* 用户id
*/
private String userId;
/**
* 用户名称
*/
private String userName;
/**
* 用户密码
*/
private String password;
/**
* 用户角色
*/
private String role;
public UserAuthInfo(String userId, String userName, String password, String role) {
this.userId = userId;
this.userName = userName;
this.password = password;
this.role = role;
}
}