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
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 = "ApiScope", description = "ApiScope对象")
@TableName("blade_scope_api")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/ApiScope.class */
public class ApiScope extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("菜单主键")
    private Long menuId;
    @ApiModelProperty("资源编号")
    private String resourceCode;
    @ApiModelProperty("接口权限名称")
    private String scopeName;
    @ApiModelProperty("接口权限字段")
    private String scopePath;
    @ApiModelProperty("接口方法类型")
    private String httpMethod;
    @ApiModelProperty("接口权限类型")
    private Integer scopeType;
    @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 setScopePath(final String scopePath) {
        this.scopePath = scopePath;
    }
 
    public void setHttpMethod(final String httpMethod) {
        this.httpMethod = httpMethod;
    }
 
    public void setScopeType(final Integer scopeType) {
        this.scopeType = scopeType;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public String toString() {
        return "ApiScope(menuId=" + getMenuId() + ", resourceCode=" + getResourceCode() + ", scopeName=" + getScopeName() + ", scopePath=" + getScopePath() + ", httpMethod=" + getHttpMethod() + ", scopeType=" + getScopeType() + ", remark=" + getRemark() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ApiScope) {
            ApiScope other = (ApiScope) 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$scopePath = getScopePath();
                Object other$scopePath = other.getScopePath();
                if (this$scopePath == null) {
                    if (other$scopePath != null) {
                        return false;
                    }
                } else if (!this$scopePath.equals(other$scopePath)) {
                    return false;
                }
                Object this$httpMethod = getHttpMethod();
                Object other$httpMethod = other.getHttpMethod();
                if (this$httpMethod == null) {
                    if (other$httpMethod != null) {
                        return false;
                    }
                } else if (!this$httpMethod.equals(other$httpMethod)) {
                    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 ApiScope;
    }
 
    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 $scopePath = getScopePath();
        int result6 = (result5 * 59) + ($scopePath == null ? 43 : $scopePath.hashCode());
        Object $httpMethod = getHttpMethod();
        int result7 = (result6 * 59) + ($httpMethod == null ? 43 : $httpMethod.hashCode());
        Object $remark = getRemark();
        return (result7 * 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 getScopePath() {
        return this.scopePath;
    }
 
    public String getHttpMethod() {
        return this.httpMethod;
    }
 
    public Integer getScopeType() {
        return this.scopeType;
    }
 
    public String getRemark() {
        return this.remark;
    }
}