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 = "InterfaceConfig对象", description = "接口配置表") @TableName("blade_interface_config") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/InterfaceConfig.class */ public class InterfaceConfig extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("接口url") private String url; @ApiModelProperty("接口中文名") private String urlName; @ApiModelProperty("接口类型 0 - POST; 1 - PUT; 2 - GET") private Integer urlType; @ApiModelProperty("1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘") private String owningChart; public InterfaceConfig setUrl(final String url) { this.url = url; return this; } public InterfaceConfig setUrlName(final String urlName) { this.urlName = urlName; return this; } public InterfaceConfig setUrlType(final Integer urlType) { this.urlType = urlType; return this; } public InterfaceConfig setOwningChart(final String owningChart) { this.owningChart = owningChart; return this; } public String toString() { return "InterfaceConfig(url=" + getUrl() + ", urlName=" + getUrlName() + ", urlType=" + getUrlType() + ", owningChart=" + getOwningChart() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof InterfaceConfig) { InterfaceConfig other = (InterfaceConfig) o; if (other.canEqual(this) && super.equals(o)) { Object this$urlType = getUrlType(); Object other$urlType = other.getUrlType(); if (this$urlType == null) { if (other$urlType != null) { return false; } } else if (!this$urlType.equals(other$urlType)) { return false; } Object this$url = getUrl(); Object other$url = other.getUrl(); if (this$url == null) { if (other$url != null) { return false; } } else if (!this$url.equals(other$url)) { return false; } Object this$urlName = getUrlName(); Object other$urlName = other.getUrlName(); if (this$urlName == null) { if (other$urlName != null) { return false; } } else if (!this$urlName.equals(other$urlName)) { return false; } Object this$owningChart = getOwningChart(); Object other$owningChart = other.getOwningChart(); return this$owningChart == null ? other$owningChart == null : this$owningChart.equals(other$owningChart); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof InterfaceConfig; } public int hashCode() { int result = super.hashCode(); Object $urlType = getUrlType(); int result2 = (result * 59) + ($urlType == null ? 43 : $urlType.hashCode()); Object $url = getUrl(); int result3 = (result2 * 59) + ($url == null ? 43 : $url.hashCode()); Object $urlName = getUrlName(); int result4 = (result3 * 59) + ($urlName == null ? 43 : $urlName.hashCode()); Object $owningChart = getOwningChart(); return (result4 * 59) + ($owningChart == null ? 43 : $owningChart.hashCode()); } public String getUrl() { return this.url; } public String getUrlName() { return this.urlName; } public Integer getUrlType() { return this.urlType; } public String getOwningChart() { return this.owningChart; } public Long getId() { return super.getId(); } }