package com.qianwen.core.mp.props; import java.util.ArrayList; import java.util.List; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties(prefix = "blade.mybatis-plus") /* loaded from: blade-starter-mybatis-9.3.0.0-SNAPSHOT.jar:org/springblade/core/mp/props/MybatisPlusProperties.class */ public class MybatisPlusProperties { private Boolean tenantMode = true; private Boolean sqlLog = true; private List sqlLogExclude = new ArrayList(); private Long pageLimit = 500L; protected Boolean overflow = false; private Boolean optimizeJoin = false; public void setTenantMode(final Boolean tenantMode) { this.tenantMode = tenantMode; } public void setSqlLog(final Boolean sqlLog) { this.sqlLog = sqlLog; } public void setSqlLogExclude(final List sqlLogExclude) { this.sqlLogExclude = sqlLogExclude; } public void setPageLimit(final Long pageLimit) { this.pageLimit = pageLimit; } public void setOverflow(final Boolean overflow) { this.overflow = overflow; } public void setOptimizeJoin(final Boolean optimizeJoin) { this.optimizeJoin = optimizeJoin; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MybatisPlusProperties) { MybatisPlusProperties other = (MybatisPlusProperties) o; if (other.canEqual(this)) { Object this$tenantMode = getTenantMode(); Object other$tenantMode = other.getTenantMode(); if (this$tenantMode == null) { if (other$tenantMode != null) { return false; } } else if (!this$tenantMode.equals(other$tenantMode)) { return false; } Object this$sqlLog = getSqlLog(); Object other$sqlLog = other.getSqlLog(); if (this$sqlLog == null) { if (other$sqlLog != null) { return false; } } else if (!this$sqlLog.equals(other$sqlLog)) { return false; } Object this$pageLimit = getPageLimit(); Object other$pageLimit = other.getPageLimit(); if (this$pageLimit == null) { if (other$pageLimit != null) { return false; } } else if (!this$pageLimit.equals(other$pageLimit)) { return false; } Object this$overflow = getOverflow(); Object other$overflow = other.getOverflow(); if (this$overflow == null) { if (other$overflow != null) { return false; } } else if (!this$overflow.equals(other$overflow)) { return false; } Object this$optimizeJoin = getOptimizeJoin(); Object other$optimizeJoin = other.getOptimizeJoin(); if (this$optimizeJoin == null) { if (other$optimizeJoin != null) { return false; } } else if (!this$optimizeJoin.equals(other$optimizeJoin)) { return false; } Object this$sqlLogExclude = getSqlLogExclude(); Object other$sqlLogExclude = other.getSqlLogExclude(); return this$sqlLogExclude == null ? other$sqlLogExclude == null : this$sqlLogExclude.equals(other$sqlLogExclude); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof MybatisPlusProperties; } public int hashCode() { Object $tenantMode = getTenantMode(); int result = (1 * 59) + ($tenantMode == null ? 43 : $tenantMode.hashCode()); Object $sqlLog = getSqlLog(); int result2 = (result * 59) + ($sqlLog == null ? 43 : $sqlLog.hashCode()); Object $pageLimit = getPageLimit(); int result3 = (result2 * 59) + ($pageLimit == null ? 43 : $pageLimit.hashCode()); Object $overflow = getOverflow(); int result4 = (result3 * 59) + ($overflow == null ? 43 : $overflow.hashCode()); Object $optimizeJoin = getOptimizeJoin(); int result5 = (result4 * 59) + ($optimizeJoin == null ? 43 : $optimizeJoin.hashCode()); Object $sqlLogExclude = getSqlLogExclude(); return (result5 * 59) + ($sqlLogExclude == null ? 43 : $sqlLogExclude.hashCode()); } public String toString() { return "MybatisPlusProperties(tenantMode=" + getTenantMode() + ", sqlLog=" + getSqlLog() + ", sqlLogExclude=" + getSqlLogExclude() + ", pageLimit=" + getPageLimit() + ", overflow=" + getOverflow() + ", optimizeJoin=" + getOptimizeJoin() + ")"; } public Boolean getTenantMode() { return this.tenantMode; } public Boolean getSqlLog() { return this.sqlLog; } public List getSqlLogExclude() { return this.sqlLogExclude; } public Long getPageLimit() { return this.pageLimit; } public Boolean getOverflow() { return this.overflow; } public Boolean getOptimizeJoin() { return this.optimizeJoin; } }