package com.qianwen.core.report.props;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ConfigurationProperties(prefix = "report.database.provider")
|
/* loaded from: blade-starter-report-9.3.0.0-SNAPSHOT.jar:org/springblade/core/report/props/ReportDatabaseProperties.class */
|
public class ReportDatabaseProperties {
|
private String name = "数据库文件系统";
|
private String prefix = "blade-";
|
private boolean disabled = false;
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setPrefix(final String prefix) {
|
this.prefix = prefix;
|
}
|
|
public void setDisabled(final boolean disabled) {
|
this.disabled = disabled;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ReportDatabaseProperties) {
|
ReportDatabaseProperties other = (ReportDatabaseProperties) o;
|
if (other.canEqual(this) && isDisabled() == other.isDisabled()) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$prefix = getPrefix();
|
Object other$prefix = other.getPrefix();
|
return this$prefix == null ? other$prefix == null : this$prefix.equals(other$prefix);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ReportDatabaseProperties;
|
}
|
|
public int hashCode() {
|
int result = (1 * 59) + (isDisabled() ? 79 : 97);
|
Object $name = getName();
|
int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $prefix = getPrefix();
|
return (result2 * 59) + ($prefix == null ? 43 : $prefix.hashCode());
|
}
|
|
public String toString() {
|
return "ReportDatabaseProperties(name=" + getName() + ", prefix=" + getPrefix() + ", disabled=" + isDisabled() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getPrefix() {
|
return this.prefix;
|
}
|
|
public boolean isDisabled() {
|
return this.disabled;
|
}
|
}
|