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;
|
}
|
}
|