package com.moon.server.entity.sys;
|
|
import java.io.Serializable;
|
import java.sql.Timestamp;
|
|
/**
|
* 令牌表
|
* @author sws
|
* @date 2022-09-28
|
*/
|
public class TokenEntity implements Serializable {
|
private static final long serialVersionUID = 1419309705830103150L;
|
|
private int id;
|
|
private String uname;
|
|
private String token;
|
|
private int duration;
|
|
private Timestamp expire;
|
|
private int type;
|
|
private String ip;
|
|
private int createUser;
|
|
private Timestamp createTime;
|
|
private int updateUser;
|
|
private Timestamp updateTime;
|
|
private String createName;
|
|
private String updateName;
|
|
private int autoLogOut;
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public String getUname() {
|
return uname;
|
}
|
|
public void setUname(String uname) {
|
this.uname = uname;
|
}
|
|
public String getToken() {
|
return token;
|
}
|
|
public void setToken(String token) {
|
this.token = token;
|
}
|
|
public int getDuration() {
|
return duration;
|
}
|
|
public void setDuration(int duration) {
|
this.duration = duration;
|
}
|
|
public Timestamp getExpire() {
|
return expire;
|
}
|
|
public void setExpire(Timestamp expire) {
|
this.expire = expire;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public String getIp() {
|
return ip;
|
}
|
|
public void setIp(String ip) {
|
this.ip = ip;
|
}
|
|
public int getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(int createUser) {
|
this.createUser = createUser;
|
}
|
|
public Timestamp getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Timestamp createTime) {
|
this.createTime = createTime;
|
}
|
|
public int getUpdateUser() {
|
return updateUser;
|
}
|
|
public void setUpdateUser(int updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public Timestamp getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Timestamp updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getCreateName() {
|
return createName;
|
}
|
|
public void setCreateName(String createName) {
|
this.createName = createName;
|
}
|
|
public String getUpdateName() {
|
return updateName;
|
}
|
|
public void setUpdateName(String updateName) {
|
this.updateName = updateName;
|
}
|
|
public int getAutoLogOut() {
|
return autoLogOut;
|
}
|
|
public void setAutoLogOut(int autoLogOut) {
|
this.autoLogOut = autoLogOut;
|
}
|
}
|