package com.ks.tool.bkz.entity.user;
|
|
import java.util.Date;
|
|
public class UserInfo {
|
public final static int LEVEL_GENERAL = 1;//普通用户
|
public static int LEVEL_SUPER = 2;//超级用户
|
|
public final static int STATE_NORMAL=0;//正常
|
public final static int STATE_FORBIDDEN=1;//被封禁
|
|
private Long id;//用户ID
|
private String account;//账号
|
private Integer level;//用户等级
|
private Date loginTime;//登录时间
|
private Date superTime;//成为会员的时间
|
private Date createTime;//创建时间
|
private Date updateTime;//更新时间
|
private Integer state;
|
private String stateDesc;
|
|
|
private String loginIpInfo;//登录信息
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public Integer getLevel() {
|
return level;
|
}
|
|
public void setLevel(Integer level) {
|
this.level = level;
|
}
|
|
public Date getLoginTime() {
|
return loginTime;
|
}
|
|
public void setLoginTime(Date loginTime) {
|
this.loginTime = loginTime;
|
}
|
|
public Date getSuperTime() {
|
return superTime;
|
}
|
|
public void setSuperTime(Date superTime) {
|
this.superTime = superTime;
|
}
|
|
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;
|
}
|
|
public String getLoginIpInfo() {
|
return loginIpInfo;
|
}
|
|
public void setLoginIpInfo(String loginIpInfo) {
|
this.loginIpInfo = loginIpInfo;
|
}
|
|
|
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 == null ? null : stateDesc.trim();
|
}
|
|
|
}
|