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