yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
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<String> mapperKey = Arrays.asList("page", "Page", "list", "List");
    private List<String> mapperExclude = Collections.singletonList("FlowMapper");
 
    public void setEnabled(final Boolean enabled) {
        this.enabled = enabled;
    }
 
    public void setMapperKey(final List<String> mapperKey) {
        this.mapperKey = mapperKey;
    }
 
    public void setMapperExclude(final List<String> 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<String> getMapperKey() {
        return this.mapperKey;
    }
 
    public List<String> getMapperExclude() {
        return this.mapperExclude;
    }
}