package com.qianwen.smartman.modules.system.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.mp.base.BaseEntity; @ApiModel(value = "ApiScope", description = "ApiScope对象") @TableName("blade_scope_api") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/ApiScope.class */ public class ApiScope extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("菜单主键") private Long menuId; @ApiModelProperty("资源编号") private String resourceCode; @ApiModelProperty("接口权限名称") private String scopeName; @ApiModelProperty("接口权限字段") private String scopePath; @ApiModelProperty("接口方法类型") private String httpMethod; @ApiModelProperty("接口权限类型") private Integer scopeType; @ApiModelProperty("接口权限备注") private String remark; public void setMenuId(final Long menuId) { this.menuId = menuId; } public void setResourceCode(final String resourceCode) { this.resourceCode = resourceCode; } public void setScopeName(final String scopeName) { this.scopeName = scopeName; } public void setScopePath(final String scopePath) { this.scopePath = scopePath; } public void setHttpMethod(final String httpMethod) { this.httpMethod = httpMethod; } public void setScopeType(final Integer scopeType) { this.scopeType = scopeType; } public void setRemark(final String remark) { this.remark = remark; } public String toString() { return "ApiScope(menuId=" + getMenuId() + ", resourceCode=" + getResourceCode() + ", scopeName=" + getScopeName() + ", scopePath=" + getScopePath() + ", httpMethod=" + getHttpMethod() + ", scopeType=" + getScopeType() + ", remark=" + getRemark() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ApiScope) { ApiScope other = (ApiScope) o; if (other.canEqual(this) && super.equals(o)) { Object this$menuId = getMenuId(); Object other$menuId = other.getMenuId(); if (this$menuId == null) { if (other$menuId != null) { return false; } } else if (!this$menuId.equals(other$menuId)) { return false; } Object this$scopeType = getScopeType(); Object other$scopeType = other.getScopeType(); if (this$scopeType == null) { if (other$scopeType != null) { return false; } } else if (!this$scopeType.equals(other$scopeType)) { return false; } Object this$resourceCode = getResourceCode(); Object other$resourceCode = other.getResourceCode(); if (this$resourceCode == null) { if (other$resourceCode != null) { return false; } } else if (!this$resourceCode.equals(other$resourceCode)) { return false; } Object this$scopeName = getScopeName(); Object other$scopeName = other.getScopeName(); if (this$scopeName == null) { if (other$scopeName != null) { return false; } } else if (!this$scopeName.equals(other$scopeName)) { return false; } Object this$scopePath = getScopePath(); Object other$scopePath = other.getScopePath(); if (this$scopePath == null) { if (other$scopePath != null) { return false; } } else if (!this$scopePath.equals(other$scopePath)) { return false; } Object this$httpMethod = getHttpMethod(); Object other$httpMethod = other.getHttpMethod(); if (this$httpMethod == null) { if (other$httpMethod != null) { return false; } } else if (!this$httpMethod.equals(other$httpMethod)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); return this$remark == null ? other$remark == null : this$remark.equals(other$remark); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ApiScope; } public int hashCode() { int result = super.hashCode(); Object $menuId = getMenuId(); int result2 = (result * 59) + ($menuId == null ? 43 : $menuId.hashCode()); Object $scopeType = getScopeType(); int result3 = (result2 * 59) + ($scopeType == null ? 43 : $scopeType.hashCode()); Object $resourceCode = getResourceCode(); int result4 = (result3 * 59) + ($resourceCode == null ? 43 : $resourceCode.hashCode()); Object $scopeName = getScopeName(); int result5 = (result4 * 59) + ($scopeName == null ? 43 : $scopeName.hashCode()); Object $scopePath = getScopePath(); int result6 = (result5 * 59) + ($scopePath == null ? 43 : $scopePath.hashCode()); Object $httpMethod = getHttpMethod(); int result7 = (result6 * 59) + ($httpMethod == null ? 43 : $httpMethod.hashCode()); Object $remark = getRemark(); return (result7 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public Long getMenuId() { return this.menuId; } public String getResourceCode() { return this.resourceCode; } public String getScopeName() { return this.scopeName; } public String getScopePath() { return this.scopePath; } public String getHttpMethod() { return this.httpMethod; } public Integer getScopeType() { return this.scopeType; } public String getRemark() { return this.remark; } }