shz.spring.token.TokenInfo Maven / Gradle / Ivy
package shz.spring.token;
public class TokenInfo {
private long userid;
private long roleId;
private long startTimestamp;
private long endTimestamp;
private String identity;
public long getUserid() {
return userid;
}
public void setUserid(long userid) {
this.userid = userid;
}
public long getRoleId() {
return roleId;
}
public void setRoleId(long roleId) {
this.roleId = roleId;
}
public long getStartTimestamp() {
return startTimestamp;
}
public void setStartTimestamp(long startTimestamp) {
this.startTimestamp = startTimestamp;
}
public long getEndTimestamp() {
return endTimestamp;
}
public void setEndTimestamp(long endTimestamp) {
this.endTimestamp = endTimestamp;
}
public String getIdentity() {
return identity;
}
public void setIdentity(String identity) {
this.identity = identity;
}
@Override
public String toString() {
return "TokenInfo{" +
"userid=" + userid +
", roleId=" + roleId +
", startTimestamp=" + startTimestamp +
", endTimestamp=" + endTimestamp +
", identity='" + identity + '\'' +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy