PC
2024-03-31 8c9ba6667b89cc0494d05b5da4355dde205b8d4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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;
    }
}