yangys
2024-03-28 13ada1093cb8de6e31a718d2222429ded70133c8
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
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<String> 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<String> 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<String> getSqlLogExclude() {
        return this.sqlLogExclude;
    }
 
    public Long getPageLimit() {
        return this.pageLimit;
    }
 
    public Boolean getOverflow() {
        return this.overflow;
    }
 
    public Boolean getOptimizeJoin() {
        return this.optimizeJoin;
    }
}