summaryrefslogtreecommitdiff
path: root/src/main/java/com/nis/entity/SysUserEntity.java
blob: bc6ad5bbced9fa66e3fc87abfde1b84a92d205f3 (plain)
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
package com.nis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 系统用户
 */
@Data
@TableName("sys_user")
public class SysUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	/**
	 * 用户ID
	 */
	@TableField(exist=false)
	private Long id;

	@TableField(exist=false)
	private Long userId;
	/**
	 * 用户名
	 */
	private String username;
	
	
	private String password;
	/**
	 * 密码
	 */
	@TableField(exist=false)
	private String pin;

	/**
	 * 盐
	 */
	private String salt;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 状态  0:禁用   1:正常
	 */
	private Integer status;
	
	/**
	 * 语言
	 */
	private String lang;
	@TableField(exist=false)
	private String mobile;
	
	/**
	 * 创建时间
	 */
	@TableField(exist=false)
	private Date createAt;
	@TableField(exist=false)
	private Integer createBy;
	@TableField(exist=false)
	private String name;
	
	/**
	 * 来源
	 */
	private String source;

	@TableField(exist=false)
	private String lastLoginIp;
	@TableField(exist=false)
	private Date lastLoginTime;
	
	private Date createTime;
}