yangys
2024-04-01 86cdd920b68274185233383f69ddb974052b6b6f
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
package com.qianwen.smartman.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "DataScope", description = "DataScope对象")
@TableName("blade_scope_data")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/DataScope.class */
public class DataScope extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("菜单主键")
    private Long menuId;
    @ApiModelProperty("资源编号")
    private String resourceCode;
    @ApiModelProperty("数据权限名称")
    private String scopeName;
    @ApiModelProperty("数据权限可见字段")
    private String scopeField;
    @ApiModelProperty("数据权限类名")
    private String scopeClass;
    @ApiModelProperty("数据权限字段")
    private String scopeColumn;
    @ApiModelProperty("数据权限类型")
    private Integer scopeType;
    @ApiModelProperty("数据权限值域")
    private String scopeValue;
    @ApiModelProperty("数据权限备注")
    private String remark;
 
    public void setMenuId(final Long menuId) {
        this.menuId = menuId;
    }
 
    public void setResourceCode(final String resourceCode) {
        this.resourceCode = resourceCode;
    }
 
    public void setScopeName(final String scopeName) {
        this.scopeName = scopeName;
    }
 
    public void setScopeField(final String scopeField) {
        this.scopeField = scopeField;
    }
 
    public void setScopeClass(final String scopeClass) {
        this.scopeClass = scopeClass;
    }
 
    public void setScopeColumn(final String scopeColumn) {
        this.scopeColumn = scopeColumn;
    }
 
    public void setScopeType(final Integer scopeType) {
        this.scopeType = scopeType;
    }
 
    public void setScopeValue(final String scopeValue) {
        this.scopeValue = scopeValue;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public String toString() {
        return "DataScope(menuId=" + getMenuId() + ", resourceCode=" + getResourceCode() + ", scopeName=" + getScopeName() + ", scopeField=" + getScopeField() + ", scopeClass=" + getScopeClass() + ", scopeColumn=" + getScopeColumn() + ", scopeType=" + getScopeType() + ", scopeValue=" + getScopeValue() + ", remark=" + getRemark() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DataScope) {
            DataScope other = (DataScope) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$menuId = getMenuId();
                Object other$menuId = other.getMenuId();
                if (this$menuId == null) {
                    if (other$menuId != null) {
                        return false;
                    }
                } else if (!this$menuId.equals(other$menuId)) {
                    return false;
                }
                Object this$scopeType = getScopeType();
                Object other$scopeType = other.getScopeType();
                if (this$scopeType == null) {
                    if (other$scopeType != null) {
                        return false;
                    }
                } else if (!this$scopeType.equals(other$scopeType)) {
                    return false;
                }
                Object this$resourceCode = getResourceCode();
                Object other$resourceCode = other.getResourceCode();
                if (this$resourceCode == null) {
                    if (other$resourceCode != null) {
                        return false;
                    }
                } else if (!this$resourceCode.equals(other$resourceCode)) {
                    return false;
                }
                Object this$scopeName = getScopeName();
                Object other$scopeName = other.getScopeName();
                if (this$scopeName == null) {
                    if (other$scopeName != null) {
                        return false;
                    }
                } else if (!this$scopeName.equals(other$scopeName)) {
                    return false;
                }
                Object this$scopeField = getScopeField();
                Object other$scopeField = other.getScopeField();
                if (this$scopeField == null) {
                    if (other$scopeField != null) {
                        return false;
                    }
                } else if (!this$scopeField.equals(other$scopeField)) {
                    return false;
                }
                Object this$scopeClass = getScopeClass();
                Object other$scopeClass = other.getScopeClass();
                if (this$scopeClass == null) {
                    if (other$scopeClass != null) {
                        return false;
                    }
                } else if (!this$scopeClass.equals(other$scopeClass)) {
                    return false;
                }
                Object this$scopeColumn = getScopeColumn();
                Object other$scopeColumn = other.getScopeColumn();
                if (this$scopeColumn == null) {
                    if (other$scopeColumn != null) {
                        return false;
                    }
                } else if (!this$scopeColumn.equals(other$scopeColumn)) {
                    return false;
                }
                Object this$scopeValue = getScopeValue();
                Object other$scopeValue = other.getScopeValue();
                if (this$scopeValue == null) {
                    if (other$scopeValue != null) {
                        return false;
                    }
                } else if (!this$scopeValue.equals(other$scopeValue)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DataScope;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $menuId = getMenuId();
        int result2 = (result * 59) + ($menuId == null ? 43 : $menuId.hashCode());
        Object $scopeType = getScopeType();
        int result3 = (result2 * 59) + ($scopeType == null ? 43 : $scopeType.hashCode());
        Object $resourceCode = getResourceCode();
        int result4 = (result3 * 59) + ($resourceCode == null ? 43 : $resourceCode.hashCode());
        Object $scopeName = getScopeName();
        int result5 = (result4 * 59) + ($scopeName == null ? 43 : $scopeName.hashCode());
        Object $scopeField = getScopeField();
        int result6 = (result5 * 59) + ($scopeField == null ? 43 : $scopeField.hashCode());
        Object $scopeClass = getScopeClass();
        int result7 = (result6 * 59) + ($scopeClass == null ? 43 : $scopeClass.hashCode());
        Object $scopeColumn = getScopeColumn();
        int result8 = (result7 * 59) + ($scopeColumn == null ? 43 : $scopeColumn.hashCode());
        Object $scopeValue = getScopeValue();
        int result9 = (result8 * 59) + ($scopeValue == null ? 43 : $scopeValue.hashCode());
        Object $remark = getRemark();
        return (result9 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public Long getMenuId() {
        return this.menuId;
    }
 
    public String getResourceCode() {
        return this.resourceCode;
    }
 
    public String getScopeName() {
        return this.scopeName;
    }
 
    public String getScopeField() {
        return this.scopeField;
    }
 
    public String getScopeClass() {
        return this.scopeClass;
    }
 
    public String getScopeColumn() {
        return this.scopeColumn;
    }
 
    public Integer getScopeType() {
        return this.scopeType;
    }
 
    public String getScopeValue() {
        return this.scopeValue;
    }
 
    public String getRemark() {
        return this.remark;
    }
}