package com.qianwen.core.notify.provider.wechat.qy.entity; /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/wechat/qy/entity/WeixinQyTokenResult.class */ public class WeixinQyTokenResult extends BaseQyResult { private String access_token; private Integer expires_in; private long requestTime = System.currentTimeMillis(); public void setAccess_token(final String access_token) { this.access_token = access_token; } public void setExpires_in(final Integer expires_in) { this.expires_in = expires_in; } public void setRequestTime(final long requestTime) { this.requestTime = requestTime; } @Override // com.qianwen.core.notify.provider.wechat.qy.entity.BaseQyResult public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WeixinQyTokenResult) { WeixinQyTokenResult other = (WeixinQyTokenResult) o; if (other.canEqual(this) && getRequestTime() == other.getRequestTime()) { Object this$expires_in = getExpires_in(); Object other$expires_in = other.getExpires_in(); if (this$expires_in == null) { if (other$expires_in != null) { return false; } } else if (!this$expires_in.equals(other$expires_in)) { return false; } Object this$access_token = getAccess_token(); Object other$access_token = other.getAccess_token(); return this$access_token == null ? other$access_token == null : this$access_token.equals(other$access_token); } return false; } return false; } @Override // com.qianwen.core.notify.provider.wechat.qy.entity.BaseQyResult protected boolean canEqual(final Object other) { return other instanceof WeixinQyTokenResult; } @Override // com.qianwen.core.notify.provider.wechat.qy.entity.BaseQyResult public int hashCode() { long $requestTime = getRequestTime(); int result = (1 * 59) + ((int) (($requestTime >>> 32) ^ $requestTime)); Object $expires_in = getExpires_in(); int result2 = (result * 59) + ($expires_in == null ? 43 : $expires_in.hashCode()); Object $access_token = getAccess_token(); return (result2 * 59) + ($access_token == null ? 43 : $access_token.hashCode()); } @Override // com.qianwen.core.notify.provider.wechat.qy.entity.BaseQyResult public String toString() { return "WeixinQyTokenResult(access_token=" + getAccess_token() + ", expires_in=" + getExpires_in() + ", requestTime=" + getRequestTime() + ")"; } public String getAccess_token() { return this.access_token; } public Integer getExpires_in() { return this.expires_in; } public long getRequestTime() { return this.requestTime; } public boolean isNotExpires() { return (System.currentTimeMillis() - this.requestTime) / 1000 < ((long) this.expires_in.intValue()); } }