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 = "DataScope", description = "DataScope对象")
|
@TableName("blade_scope_data")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/DataScope.class */
|
public class DataScope extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("菜单主键")
|
private Long menuId;
|
@ApiModelProperty("资源编号")
|
private String resourceCode;
|
@ApiModelProperty("数据权限名称")
|
private String scopeName;
|
@ApiModelProperty("数据权限可见字段")
|
private String scopeField;
|
@ApiModelProperty("数据权限类名")
|
private String scopeClass;
|
@ApiModelProperty("数据权限字段")
|
private String scopeColumn;
|
@ApiModelProperty("数据权限类型")
|
private Integer scopeType;
|
@ApiModelProperty("数据权限值域")
|
private String scopeValue;
|
@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 setScopeField(final String scopeField) {
|
this.scopeField = scopeField;
|
}
|
|
public void setScopeClass(final String scopeClass) {
|
this.scopeClass = scopeClass;
|
}
|
|
public void setScopeColumn(final String scopeColumn) {
|
this.scopeColumn = scopeColumn;
|
}
|
|
public void setScopeType(final Integer scopeType) {
|
this.scopeType = scopeType;
|
}
|
|
public void setScopeValue(final String scopeValue) {
|
this.scopeValue = scopeValue;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public String toString() {
|
return "DataScope(menuId=" + getMenuId() + ", resourceCode=" + getResourceCode() + ", scopeName=" + getScopeName() + ", scopeField=" + getScopeField() + ", scopeClass=" + getScopeClass() + ", scopeColumn=" + getScopeColumn() + ", scopeType=" + getScopeType() + ", scopeValue=" + getScopeValue() + ", remark=" + getRemark() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DataScope) {
|
DataScope other = (DataScope) 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$scopeField = getScopeField();
|
Object other$scopeField = other.getScopeField();
|
if (this$scopeField == null) {
|
if (other$scopeField != null) {
|
return false;
|
}
|
} else if (!this$scopeField.equals(other$scopeField)) {
|
return false;
|
}
|
Object this$scopeClass = getScopeClass();
|
Object other$scopeClass = other.getScopeClass();
|
if (this$scopeClass == null) {
|
if (other$scopeClass != null) {
|
return false;
|
}
|
} else if (!this$scopeClass.equals(other$scopeClass)) {
|
return false;
|
}
|
Object this$scopeColumn = getScopeColumn();
|
Object other$scopeColumn = other.getScopeColumn();
|
if (this$scopeColumn == null) {
|
if (other$scopeColumn != null) {
|
return false;
|
}
|
} else if (!this$scopeColumn.equals(other$scopeColumn)) {
|
return false;
|
}
|
Object this$scopeValue = getScopeValue();
|
Object other$scopeValue = other.getScopeValue();
|
if (this$scopeValue == null) {
|
if (other$scopeValue != null) {
|
return false;
|
}
|
} else if (!this$scopeValue.equals(other$scopeValue)) {
|
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 DataScope;
|
}
|
|
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 $scopeField = getScopeField();
|
int result6 = (result5 * 59) + ($scopeField == null ? 43 : $scopeField.hashCode());
|
Object $scopeClass = getScopeClass();
|
int result7 = (result6 * 59) + ($scopeClass == null ? 43 : $scopeClass.hashCode());
|
Object $scopeColumn = getScopeColumn();
|
int result8 = (result7 * 59) + ($scopeColumn == null ? 43 : $scopeColumn.hashCode());
|
Object $scopeValue = getScopeValue();
|
int result9 = (result8 * 59) + ($scopeValue == null ? 43 : $scopeValue.hashCode());
|
Object $remark = getRemark();
|
return (result9 * 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 getScopeField() {
|
return this.scopeField;
|
}
|
|
public String getScopeClass() {
|
return this.scopeClass;
|
}
|
|
public String getScopeColumn() {
|
return this.scopeColumn;
|
}
|
|
public Integer getScopeType() {
|
return this.scopeType;
|
}
|
|
public String getScopeValue() {
|
return this.scopeValue;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
}
|