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
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
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/GrantVO.class */
public class GrantVO implements Serializable {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("roleIds集合")
    private List<Long> roleIds;
    @ApiModelProperty("menuIds集合")
    private List<Long> menuIds;
    @ApiModelProperty("topMenuIds集合")
    private List<Long> topMenuIds;
    @ApiModelProperty("dataScopeIds集合")
    private List<Long> dataScopeIds;
    @ApiModelProperty("apiScopeIds集合")
    private List<Long> apiScopeIds;
 
    public void setRoleIds(final List<Long> roleIds) {
        this.roleIds = roleIds;
    }
 
    public void setMenuIds(final List<Long> menuIds) {
        this.menuIds = menuIds;
    }
 
    public void setTopMenuIds(final List<Long> topMenuIds) {
        this.topMenuIds = topMenuIds;
    }
 
    public void setDataScopeIds(final List<Long> dataScopeIds) {
        this.dataScopeIds = dataScopeIds;
    }
 
    public void setApiScopeIds(final List<Long> apiScopeIds) {
        this.apiScopeIds = apiScopeIds;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof GrantVO) {
            GrantVO other = (GrantVO) o;
            if (other.canEqual(this)) {
                Object this$roleIds = getRoleIds();
                Object other$roleIds = other.getRoleIds();
                if (this$roleIds == null) {
                    if (other$roleIds != null) {
                        return false;
                    }
                } else if (!this$roleIds.equals(other$roleIds)) {
                    return false;
                }
                Object this$menuIds = getMenuIds();
                Object other$menuIds = other.getMenuIds();
                if (this$menuIds == null) {
                    if (other$menuIds != null) {
                        return false;
                    }
                } else if (!this$menuIds.equals(other$menuIds)) {
                    return false;
                }
                Object this$topMenuIds = getTopMenuIds();
                Object other$topMenuIds = other.getTopMenuIds();
                if (this$topMenuIds == null) {
                    if (other$topMenuIds != null) {
                        return false;
                    }
                } else if (!this$topMenuIds.equals(other$topMenuIds)) {
                    return false;
                }
                Object this$dataScopeIds = getDataScopeIds();
                Object other$dataScopeIds = other.getDataScopeIds();
                if (this$dataScopeIds == null) {
                    if (other$dataScopeIds != null) {
                        return false;
                    }
                } else if (!this$dataScopeIds.equals(other$dataScopeIds)) {
                    return false;
                }
                Object this$apiScopeIds = getApiScopeIds();
                Object other$apiScopeIds = other.getApiScopeIds();
                return this$apiScopeIds == null ? other$apiScopeIds == null : this$apiScopeIds.equals(other$apiScopeIds);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof GrantVO;
    }
 
    public int hashCode() {
        Object $roleIds = getRoleIds();
        int result = (1 * 59) + ($roleIds == null ? 43 : $roleIds.hashCode());
        Object $menuIds = getMenuIds();
        int result2 = (result * 59) + ($menuIds == null ? 43 : $menuIds.hashCode());
        Object $topMenuIds = getTopMenuIds();
        int result3 = (result2 * 59) + ($topMenuIds == null ? 43 : $topMenuIds.hashCode());
        Object $dataScopeIds = getDataScopeIds();
        int result4 = (result3 * 59) + ($dataScopeIds == null ? 43 : $dataScopeIds.hashCode());
        Object $apiScopeIds = getApiScopeIds();
        return (result4 * 59) + ($apiScopeIds == null ? 43 : $apiScopeIds.hashCode());
    }
 
    public String toString() {
        return "GrantVO(roleIds=" + getRoleIds() + ", menuIds=" + getMenuIds() + ", topMenuIds=" + getTopMenuIds() + ", dataScopeIds=" + getDataScopeIds() + ", apiScopeIds=" + getApiScopeIds() + ")";
    }
 
    public List<Long> getRoleIds() {
        return this.roleIds;
    }
 
    public List<Long> getMenuIds() {
        return this.menuIds;
    }
 
    public List<Long> getTopMenuIds() {
        return this.topMenuIds;
    }
 
    public List<Long> getDataScopeIds() {
        return this.dataScopeIds;
    }
 
    public List<Long> getApiScopeIds() {
        return this.apiScopeIds;
    }
}