package com.qianwen.smartman.modules.system.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.Size;
|
|
@ApiModel(value = "InterfaceConfigVo对象", description = "接口配置表")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/InterfaceConfigVO.class */
|
public class InterfaceConfigVO implements Serializable {
|
@NotBlank(message = "接口url不能为空")
|
@ApiModelProperty("接口url")
|
@Size(max = 255, message = "接口url长度不能超过255")
|
private String url;
|
@NotBlank(message = "接口中文名不能为空")
|
@ApiModelProperty("接口中文名")
|
@Size(max = 64, message = "接口中文名长度不能超过64")
|
private String urlName;
|
@NotNull(message = "接口类型不能为空")
|
@ApiModelProperty("接口类型 0 - POST; 1 - PUT; 2 - GET")
|
private Integer urlType;
|
@NotBlank(message = "1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘不能为空")
|
@ApiModelProperty("1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘")
|
@Size(max = 255, message = "1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘长度不能超过255")
|
private String owningChart;
|
private Long id;
|
@ApiModelProperty("业务状态 1启用 0 停用")
|
private Integer status;
|
|
public void setUrl(final String url) {
|
this.url = url;
|
}
|
|
public void setUrlName(final String urlName) {
|
this.urlName = urlName;
|
}
|
|
public void setUrlType(final Integer urlType) {
|
this.urlType = urlType;
|
}
|
|
public void setOwningChart(final String owningChart) {
|
this.owningChart = owningChart;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof InterfaceConfigVO) {
|
InterfaceConfigVO other = (InterfaceConfigVO) o;
|
if (other.canEqual(this)) {
|
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$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
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 InterfaceConfigVO;
|
}
|
|
public int hashCode() {
|
Object $urlType = getUrlType();
|
int result = (1 * 59) + ($urlType == null ? 43 : $urlType.hashCode());
|
Object $id = getId();
|
int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $url = getUrl();
|
int result4 = (result3 * 59) + ($url == null ? 43 : $url.hashCode());
|
Object $urlName = getUrlName();
|
int result5 = (result4 * 59) + ($urlName == null ? 43 : $urlName.hashCode());
|
Object $owningChart = getOwningChart();
|
return (result5 * 59) + ($owningChart == null ? 43 : $owningChart.hashCode());
|
}
|
|
public String toString() {
|
return "InterfaceConfigVO(url=" + getUrl() + ", urlName=" + getUrlName() + ", urlType=" + getUrlType() + ", owningChart=" + getOwningChart() + ", id=" + getId() + ", status=" + getStatus() + ")";
|
}
|
|
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 this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|