package com.qianwen.core.datascope.props; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties(prefix = "blade.data-scope") /* loaded from: blade-starter-datascope-9.3.0.1-SNAPSHOT.jar:org/springblade/core/datascope/props/DataScopeProperties.class */ public class DataScopeProperties { private Boolean enabled = true; private List mapperKey = Arrays.asList("page", "Page", "list", "List"); private List mapperExclude = Collections.singletonList("FlowMapper"); public void setEnabled(final Boolean enabled) { this.enabled = enabled; } public void setMapperKey(final List mapperKey) { this.mapperKey = mapperKey; } public void setMapperExclude(final List mapperExclude) { this.mapperExclude = mapperExclude; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DataScopeProperties) { DataScopeProperties other = (DataScopeProperties) o; if (other.canEqual(this)) { Object this$enabled = getEnabled(); Object other$enabled = other.getEnabled(); if (this$enabled == null) { if (other$enabled != null) { return false; } } else if (!this$enabled.equals(other$enabled)) { return false; } Object this$mapperKey = getMapperKey(); Object other$mapperKey = other.getMapperKey(); if (this$mapperKey == null) { if (other$mapperKey != null) { return false; } } else if (!this$mapperKey.equals(other$mapperKey)) { return false; } Object this$mapperExclude = getMapperExclude(); Object other$mapperExclude = other.getMapperExclude(); return this$mapperExclude == null ? other$mapperExclude == null : this$mapperExclude.equals(other$mapperExclude); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DataScopeProperties; } public int hashCode() { Object $enabled = getEnabled(); int result = (1 * 59) + ($enabled == null ? 43 : $enabled.hashCode()); Object $mapperKey = getMapperKey(); int result2 = (result * 59) + ($mapperKey == null ? 43 : $mapperKey.hashCode()); Object $mapperExclude = getMapperExclude(); return (result2 * 59) + ($mapperExclude == null ? 43 : $mapperExclude.hashCode()); } public String toString() { return "DataScopeProperties(enabled=" + getEnabled() + ", mapperKey=" + getMapperKey() + ", mapperExclude=" + getMapperExclude() + ")"; } public Boolean getEnabled() { return this.enabled; } public List getMapperKey() { return this.mapperKey; } public List getMapperExclude() { return this.mapperExclude; } }