package com.qianwen.core.jwt.props; import com.qianwen.core.jwt.constant.JwtConstant; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties("blade.token") /* loaded from: blade-starter-jwt-9.3.0.0-SNAPSHOT.jar:org/springblade/core/jwt/props/JwtProperties.class */ public class JwtProperties { private Boolean state = Boolean.FALSE; private Boolean single = Boolean.FALSE; private String signKey = JwtConstant.DEFAULT_SECRET_KEY; public void setState(final Boolean state) { this.state = state; } public void setSingle(final Boolean single) { this.single = single; } public void setSignKey(final String signKey) { this.signKey = signKey; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof JwtProperties) { JwtProperties other = (JwtProperties) o; if (other.canEqual(this)) { Object this$state = getState(); Object other$state = other.getState(); if (this$state == null) { if (other$state != null) { return false; } } else if (!this$state.equals(other$state)) { return false; } Object this$single = getSingle(); Object other$single = other.getSingle(); if (this$single == null) { if (other$single != null) { return false; } } else if (!this$single.equals(other$single)) { return false; } Object this$signKey = getSignKey(); Object other$signKey = other.getSignKey(); return this$signKey == null ? other$signKey == null : this$signKey.equals(other$signKey); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof JwtProperties; } public int hashCode() { Object $state = getState(); int result = (1 * 59) + ($state == null ? 43 : $state.hashCode()); Object $single = getSingle(); int result2 = (result * 59) + ($single == null ? 43 : $single.hashCode()); Object $signKey = getSignKey(); return (result2 * 59) + ($signKey == null ? 43 : $signKey.hashCode()); } public String toString() { return "JwtProperties(state=" + getState() + ", single=" + getSingle() + ", signKey=" + getSignKey() + ")"; } public Boolean getState() { return this.state; } public Boolean getSingle() { return this.single; } public String getSignKey() { if (this.signKey.length() < 32) { return JwtConstant.DEFAULT_SECRET_KEY; } return this.signKey; } }