yangys
2024-04-11 5cbb259cdcdfbfdb874b444a8e1791315eeebfdc
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
package com.qianwen.core.report.props;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties(prefix = "report")
/* loaded from: blade-starter-report-9.3.0.0-SNAPSHOT.jar:org/springblade/core/report/props/ReportProperties.class */
public class ReportProperties {
    private Boolean enabled = true;
    private Boolean disableHttpSessionReportCache = false;
    private Boolean disableFileProvider = true;
    private String fileStoreDir = "";
    private Boolean debug = false;
 
    public void setEnabled(final Boolean enabled) {
        this.enabled = enabled;
    }
 
    public void setDisableHttpSessionReportCache(final Boolean disableHttpSessionReportCache) {
        this.disableHttpSessionReportCache = disableHttpSessionReportCache;
    }
 
    public void setDisableFileProvider(final Boolean disableFileProvider) {
        this.disableFileProvider = disableFileProvider;
    }
 
    public void setFileStoreDir(final String fileStoreDir) {
        this.fileStoreDir = fileStoreDir;
    }
 
    public void setDebug(final Boolean debug) {
        this.debug = debug;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ReportProperties) {
            ReportProperties other = (ReportProperties) 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$disableHttpSessionReportCache = getDisableHttpSessionReportCache();
                Object other$disableHttpSessionReportCache = other.getDisableHttpSessionReportCache();
                if (this$disableHttpSessionReportCache == null) {
                    if (other$disableHttpSessionReportCache != null) {
                        return false;
                    }
                } else if (!this$disableHttpSessionReportCache.equals(other$disableHttpSessionReportCache)) {
                    return false;
                }
                Object this$disableFileProvider = getDisableFileProvider();
                Object other$disableFileProvider = other.getDisableFileProvider();
                if (this$disableFileProvider == null) {
                    if (other$disableFileProvider != null) {
                        return false;
                    }
                } else if (!this$disableFileProvider.equals(other$disableFileProvider)) {
                    return false;
                }
                Object this$debug = getDebug();
                Object other$debug = other.getDebug();
                if (this$debug == null) {
                    if (other$debug != null) {
                        return false;
                    }
                } else if (!this$debug.equals(other$debug)) {
                    return false;
                }
                Object this$fileStoreDir = getFileStoreDir();
                Object other$fileStoreDir = other.getFileStoreDir();
                return this$fileStoreDir == null ? other$fileStoreDir == null : this$fileStoreDir.equals(other$fileStoreDir);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ReportProperties;
    }
 
    public int hashCode() {
        Object $enabled = getEnabled();
        int result = (1 * 59) + ($enabled == null ? 43 : $enabled.hashCode());
        Object $disableHttpSessionReportCache = getDisableHttpSessionReportCache();
        int result2 = (result * 59) + ($disableHttpSessionReportCache == null ? 43 : $disableHttpSessionReportCache.hashCode());
        Object $disableFileProvider = getDisableFileProvider();
        int result3 = (result2 * 59) + ($disableFileProvider == null ? 43 : $disableFileProvider.hashCode());
        Object $debug = getDebug();
        int result4 = (result3 * 59) + ($debug == null ? 43 : $debug.hashCode());
        Object $fileStoreDir = getFileStoreDir();
        return (result4 * 59) + ($fileStoreDir == null ? 43 : $fileStoreDir.hashCode());
    }
 
    public String toString() {
        return "ReportProperties(enabled=" + getEnabled() + ", disableHttpSessionReportCache=" + getDisableHttpSessionReportCache() + ", disableFileProvider=" + getDisableFileProvider() + ", fileStoreDir=" + getFileStoreDir() + ", debug=" + getDebug() + ")";
    }
 
    public Boolean getEnabled() {
        return this.enabled;
    }
 
    public Boolean getDisableHttpSessionReportCache() {
        return this.disableHttpSessionReportCache;
    }
 
    public Boolean getDisableFileProvider() {
        return this.disableFileProvider;
    }
 
    public String getFileStoreDir() {
        return this.fileStoreDir;
    }
 
    public Boolean getDebug() {
        return this.debug;
    }
}