@Entity
public class SysUser
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private int |
contentPermissions
content permissions(0:self,1:all,2:dept)
内容权限(0:自己的,1:全部,2:本部门)
|
private java.lang.String |
cover
cover
封面图
|
private java.lang.Integer |
deptId
dept id
部门id
|
private boolean |
disabled
disabled
已禁用p
|
private java.lang.String |
email
email
邮件地址
|
private boolean |
emailChecked
email checked
已验证邮件
|
private java.lang.Long |
id
id
|
private java.util.Date |
lastLoginDate
last login date
上次登录日期
|
private java.lang.String |
lastLoginIp
last login ip
上次登录ip
|
private int |
loginCount
login count
登录次数
|
private @NotNull @Length(max=50) java.lang.String |
name
name
用户名
|
private @NotBlank java.lang.String |
nickname
nickname
昵称
|
private java.lang.String |
password |
private java.util.Date |
registeredDate
register date
注册日期
|
private java.lang.String |
roles
role ids
角色id
|
private static long |
serialVersionUID |
private short |
siteId |
private boolean |
superuser
super user
管理员
|
private boolean |
weakPassword
weak password
弱密码
|
构造器和说明 |
---|
SysUser() |
SysUser(short siteId,
java.lang.String name,
java.lang.String password,
boolean weakPassword,
java.lang.String nickname,
int contentPermissions,
boolean emailChecked,
boolean superuser,
boolean disabled,
int loginCount) |
SysUser(short siteId,
java.lang.String name,
java.lang.String password,
boolean weakPassword,
java.lang.String nickname,
java.lang.String cover,
java.lang.Integer deptId,
int contentPermissions,
java.lang.String roles,
java.lang.String email,
boolean emailChecked,
boolean superuser,
boolean disabled,
java.util.Date lastLoginDate,
java.lang.String lastLoginIp,
int loginCount,
java.util.Date registeredDate) |
SysUser(short siteId,
java.lang.String name,
java.lang.String password,
boolean weakPassword,
java.lang.String nickname,
java.lang.String cover,
java.lang.Integer deptId,
int contentPermissions,
java.lang.String roles,
java.lang.String email,
boolean emailChecked,
boolean superuser,
java.util.Date registeredDate) |
限定符和类型 | 方法和说明 |
---|---|
int |
getContentPermissions() |
java.lang.String |
getCover() |
java.lang.Integer |
getDeptId() |
java.lang.String |
getEmail() |
java.lang.Long |
getId() |
java.util.Date |
getLastLoginDate() |
java.lang.String |
getLastLoginIp() |
int |
getLoginCount() |
java.lang.String |
getName() |
java.lang.String |
getNickname() |
java.lang.String |
getPassword() |
java.util.Date |
getRegisteredDate() |
java.lang.String |
getRoles() |
short |
getSiteId() |
boolean |
isDisabled() |
boolean |
isEmailChecked() |
boolean |
isSuperuser() |
boolean |
isWeakPassword() |
void |
setContentPermissions(int contentPermissions) |
void |
setCover(java.lang.String cover) |
void |
setDeptId(java.lang.Integer deptId) |
void |
setDisabled(boolean disabled) |
void |
setEmail(java.lang.String email) |
void |
setEmailChecked(boolean emailChecked) |
void |
setId(java.lang.Long id) |
void |
setLastLoginDate(java.util.Date lastLoginDate) |
void |
setLastLoginIp(java.lang.String lastLoginIp) |
void |
setLoginCount(int loginCount) |
void |
setName(java.lang.String name) |
void |
setNickname(java.lang.String nickname) |
void |
setPassword(java.lang.String password) |
void |
setRegisteredDate(java.util.Date registeredDate) |
void |
setRoles(java.lang.String roles) |
void |
setSiteId(short siteId) |
void |
setSuperuser(boolean superuser) |
void |
setWeakPassword(boolean weakPassword) |
private static final long serialVersionUID
private java.lang.Long id
private short siteId
@NotNull @Length(max=50) private @NotNull @Length(max=50) java.lang.String name
用户名
private java.lang.String password
private boolean weakPassword
弱密码
@NotBlank private @NotBlank java.lang.String nickname
昵称
private java.lang.String cover
封面图
private java.lang.Integer deptId
部门id
private int contentPermissions
内容权限(0:自己的,1:全部,2:本部门)
private java.lang.String roles
角色id
private java.lang.String email
邮件地址
private boolean emailChecked
已验证邮件
private boolean superuser
管理员
private boolean disabled
已禁用p
private java.util.Date lastLoginDate
上次登录日期
private java.lang.String lastLoginIp
上次登录ip
private int loginCount
登录次数
private java.util.Date registeredDate
注册日期
public SysUser()
public SysUser(short siteId, java.lang.String name, java.lang.String password, boolean weakPassword, java.lang.String nickname, int contentPermissions, boolean emailChecked, boolean superuser, boolean disabled, int loginCount)
public SysUser(short siteId, java.lang.String name, java.lang.String password, boolean weakPassword, java.lang.String nickname, java.lang.String cover, java.lang.Integer deptId, int contentPermissions, java.lang.String roles, java.lang.String email, boolean emailChecked, boolean superuser, java.util.Date registeredDate)
public SysUser(short siteId, java.lang.String name, java.lang.String password, boolean weakPassword, java.lang.String nickname, java.lang.String cover, java.lang.Integer deptId, int contentPermissions, java.lang.String roles, java.lang.String email, boolean emailChecked, boolean superuser, boolean disabled, java.util.Date lastLoginDate, java.lang.String lastLoginIp, int loginCount, java.util.Date registeredDate)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public boolean isWeakPassword()
public void setWeakPassword(boolean weakPassword)
public java.lang.String getNickname()
public void setNickname(java.lang.String nickname)
public java.lang.String getCover()
public void setCover(java.lang.String cover)
public java.lang.Integer getDeptId()
public void setDeptId(java.lang.Integer deptId)
public int getContentPermissions()
public void setContentPermissions(int contentPermissions)
public java.lang.String getRoles()
public void setRoles(java.lang.String roles)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public boolean isEmailChecked()
public void setEmailChecked(boolean emailChecked)
public boolean isSuperuser()
public void setSuperuser(boolean superuser)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public java.util.Date getLastLoginDate()
public void setLastLoginDate(java.util.Date lastLoginDate)
public java.lang.String getLastLoginIp()
public void setLastLoginIp(java.lang.String lastLoginIp)
public int getLoginCount()
public void setLoginCount(int loginCount)
public java.util.Date getRegisteredDate()
public void setRegisteredDate(java.util.Date registeredDate)