yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.smartman.modules.system.entity.ApiScope;
 
@ApiModel(value = "ApiScopeVO", description = "ApiScopeVO对象")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/ApiScopeVO.class */
public class ApiScopeVO extends ApiScope {
    private static final long serialVersionUID = 1;
    private String scopeTypeName;
    @ApiModelProperty("接口模块")
    private String moduleCode;
    @ApiModelProperty("控制器模块")
    private String controllerCode;
 
    public void setScopeTypeName(final String scopeTypeName) {
        this.scopeTypeName = scopeTypeName;
    }
 
    public void setModuleCode(final String moduleCode) {
        this.moduleCode = moduleCode;
    }
 
    public void setControllerCode(final String controllerCode) {
        this.controllerCode = controllerCode;
    }
 
    @Override // org.springblade.modules.system.entity.ApiScope
    public String toString() {
        return "ApiScopeVO(scopeTypeName=" + getScopeTypeName() + ", moduleCode=" + getModuleCode() + ", controllerCode=" + getControllerCode() + ")";
    }
 
    @Override // org.springblade.modules.system.entity.ApiScope
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ApiScopeVO) {
            ApiScopeVO other = (ApiScopeVO) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$scopeTypeName = getScopeTypeName();
                Object other$scopeTypeName = other.getScopeTypeName();
                if (this$scopeTypeName == null) {
                    if (other$scopeTypeName != null) {
                        return false;
                    }
                } else if (!this$scopeTypeName.equals(other$scopeTypeName)) {
                    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();
                return this$controllerCode == null ? other$controllerCode == null : this$controllerCode.equals(other$controllerCode);
            }
            return false;
        }
        return false;
    }
 
    @Override // org.springblade.modules.system.entity.ApiScope
    protected boolean canEqual(final Object other) {
        return other instanceof ApiScopeVO;
    }
 
    @Override // org.springblade.modules.system.entity.ApiScope
    public int hashCode() {
        int result = super.hashCode();
        Object $scopeTypeName = getScopeTypeName();
        int result2 = (result * 59) + ($scopeTypeName == null ? 43 : $scopeTypeName.hashCode());
        Object $moduleCode = getModuleCode();
        int result3 = (result2 * 59) + ($moduleCode == null ? 43 : $moduleCode.hashCode());
        Object $controllerCode = getControllerCode();
        return (result3 * 59) + ($controllerCode == null ? 43 : $controllerCode.hashCode());
    }
 
    public String getScopeTypeName() {
        return this.scopeTypeName;
    }
 
    public String getModuleCode() {
        return this.moduleCode;
    }
 
    public String getControllerCode() {
        return this.controllerCode;
    }
}