package com.qianwen.core.secure;
|
|
/* loaded from: blade-starter-auth-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/TokenInfo.class */
|
public class TokenInfo {
|
private String token;
|
private int expire;
|
|
public void setToken(final String token) {
|
this.token = token;
|
}
|
|
public void setExpire(final int expire) {
|
this.expire = expire;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TokenInfo) {
|
TokenInfo other = (TokenInfo) o;
|
if (other.canEqual(this) && getExpire() == other.getExpire()) {
|
Object this$token = getToken();
|
Object other$token = other.getToken();
|
return this$token == null ? other$token == null : this$token.equals(other$token);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TokenInfo;
|
}
|
|
public int hashCode() {
|
int result = (1 * 59) + getExpire();
|
Object $token = getToken();
|
return (result * 59) + ($token == null ? 43 : $token.hashCode());
|
}
|
|
public String toString() {
|
return "TokenInfo(token=" + getToken() + ", expire=" + getExpire() + ")";
|
}
|
|
public String getToken() {
|
return this.token;
|
}
|
|
public int getExpire() {
|
return this.expire;
|
}
|
}
|