yangys
2024-03-31 53c8d3e3bd3596132b362f20e52aef380d493a84
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
222
223
224
225
226
227
228
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
 
@ApiModel(value = "ResourceDefinitionVo对象", description = "blade_resource_definition")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/ResourceDefinitionVO.class */
public class ResourceDefinitionVO implements Serializable {
    @NotBlank(message = "资源的标识不能为空")
    @ApiModelProperty("资源的标识")
    @Size(max = 255, message = "资源的标识长度不能超过255")
    private String code;
    @ApiModelProperty("资源名称")
    @Size(max = 255, message = "资源名称长度不能超过255")
    private String name;
    @ApiModelProperty("应用的标识")
    @Size(max = 255, message = "应用的标识长度不能超过255")
    private String moduleCode;
    @ApiModelProperty("资源所属模块")
    @Size(max = 255, message = "资源所属模块长度不能超过255")
    private String controllerCode;
    @ApiModelProperty("控制器类名称")
    @Size(max = 255, message = "控制器类名称长度不能超过255")
    private String className;
    @ApiModelProperty("控制器中的方法名称")
    @Size(max = 255, message = "控制器中的方法名称长度不能超过255")
    private String methodName;
    @ApiModelProperty("资源的请求路径")
    @Size(max = 255, message = "资源的请求路径长度不能超过255")
    private String url;
    @ApiModelProperty("http请求方法")
    @Size(max = 255, message = "http请求方法长度不能超过255")
    private String httpMethod;
    @ApiModelProperty("是否是菜单按钮")
    private Boolean buttonFlag;
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setModuleCode(final String moduleCode) {
        this.moduleCode = moduleCode;
    }
 
    public void setControllerCode(final String controllerCode) {
        this.controllerCode = controllerCode;
    }
 
    public void setClassName(final String className) {
        this.className = className;
    }
 
    public void setMethodName(final String methodName) {
        this.methodName = methodName;
    }
 
    public void setUrl(final String url) {
        this.url = url;
    }
 
    public void setHttpMethod(final String httpMethod) {
        this.httpMethod = httpMethod;
    }
 
    public void setButtonFlag(final Boolean buttonFlag) {
        this.buttonFlag = buttonFlag;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ResourceDefinitionVO) {
            ResourceDefinitionVO other = (ResourceDefinitionVO) o;
            if (other.canEqual(this)) {
                Object this$buttonFlag = getButtonFlag();
                Object other$buttonFlag = other.getButtonFlag();
                if (this$buttonFlag == null) {
                    if (other$buttonFlag != null) {
                        return false;
                    }
                } else if (!this$buttonFlag.equals(other$buttonFlag)) {
                    return false;
                }
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$moduleCode = getModuleCode();
                Object other$moduleCode = other.getModuleCode();
                if (this$moduleCode == null) {
                    if (other$moduleCode != null) {
                        return false;
                    }
                } else if (!this$moduleCode.equals(other$moduleCode)) {
                    return false;
                }
                Object this$controllerCode = getControllerCode();
                Object other$controllerCode = other.getControllerCode();
                if (this$controllerCode == null) {
                    if (other$controllerCode != null) {
                        return false;
                    }
                } else if (!this$controllerCode.equals(other$controllerCode)) {
                    return false;
                }
                Object this$className = getClassName();
                Object other$className = other.getClassName();
                if (this$className == null) {
                    if (other$className != null) {
                        return false;
                    }
                } else if (!this$className.equals(other$className)) {
                    return false;
                }
                Object this$methodName = getMethodName();
                Object other$methodName = other.getMethodName();
                if (this$methodName == null) {
                    if (other$methodName != null) {
                        return false;
                    }
                } else if (!this$methodName.equals(other$methodName)) {
                    return false;
                }
                Object this$url = getUrl();
                Object other$url = other.getUrl();
                if (this$url == null) {
                    if (other$url != null) {
                        return false;
                    }
                } else if (!this$url.equals(other$url)) {
                    return false;
                }
                Object this$httpMethod = getHttpMethod();
                Object other$httpMethod = other.getHttpMethod();
                return this$httpMethod == null ? other$httpMethod == null : this$httpMethod.equals(other$httpMethod);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ResourceDefinitionVO;
    }
 
    public int hashCode() {
        Object $buttonFlag = getButtonFlag();
        int result = (1 * 59) + ($buttonFlag == null ? 43 : $buttonFlag.hashCode());
        Object $code = getCode();
        int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $moduleCode = getModuleCode();
        int result4 = (result3 * 59) + ($moduleCode == null ? 43 : $moduleCode.hashCode());
        Object $controllerCode = getControllerCode();
        int result5 = (result4 * 59) + ($controllerCode == null ? 43 : $controllerCode.hashCode());
        Object $className = getClassName();
        int result6 = (result5 * 59) + ($className == null ? 43 : $className.hashCode());
        Object $methodName = getMethodName();
        int result7 = (result6 * 59) + ($methodName == null ? 43 : $methodName.hashCode());
        Object $url = getUrl();
        int result8 = (result7 * 59) + ($url == null ? 43 : $url.hashCode());
        Object $httpMethod = getHttpMethod();
        return (result8 * 59) + ($httpMethod == null ? 43 : $httpMethod.hashCode());
    }
 
    public String toString() {
        return "ResourceDefinitionVO(code=" + getCode() + ", name=" + getName() + ", moduleCode=" + getModuleCode() + ", controllerCode=" + getControllerCode() + ", className=" + getClassName() + ", methodName=" + getMethodName() + ", url=" + getUrl() + ", httpMethod=" + getHttpMethod() + ", buttonFlag=" + getButtonFlag() + ")";
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getModuleCode() {
        return this.moduleCode;
    }
 
    public String getControllerCode() {
        return this.controllerCode;
    }
 
    public String getClassName() {
        return this.className;
    }
 
    public String getMethodName() {
        return this.methodName;
    }
 
    public String getUrl() {
        return this.url;
    }
 
    public String getHttpMethod() {
        return this.httpMethod;
    }
 
    public Boolean getButtonFlag() {
        return this.buttonFlag;
    }
}