package com.qianwen.smartman.modules.system.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; @ApiModel(value = "InterfaceConfigFieldVo对象", description = "接口字段表") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/InterfaceConfigFieldVO.class */ public class InterfaceConfigFieldVO implements Serializable { @ApiModelProperty("接口配置id") private Long configId; @NotBlank(message = "字段名称不能为空") @ApiModelProperty("字段名称") @Size(max = 255, message = "字段名称长度不能超过255") private String name; @NotBlank(message = "字段描述不能为空") @ApiModelProperty("字段描述") @Size(max = 255, message = "字段描述长度不能超过255") private String label; @ApiModelProperty("是否必填: 0 - 不必填; 1 - 必填") private Boolean isRequired; @ApiModelProperty("0-文本;1-数值;2-下拉;3-日期; 4-树选择") private Integer dataType; @ApiModelProperty("当数据类型是下拉,树选择的时候指定数据源的地址。用于获取这些选项的数据。") @Size(max = 255, message = "当数据类型是下拉,树选择的时候指定数据源的地址。用于获取这些选项的数据。长度不能超过255") private String dataSource; @ApiModelProperty("当下拉选择的时候指定是否单选:- 0 多选; 1 - 单选") private Boolean isSingleChoice; private Long id; @ApiModelProperty("业务状态") private Integer status; @ApiModelProperty("父节点是否可选中") private Boolean checkedParent; @ApiModelProperty("依赖字段") private String relationField; @ApiModelProperty("依赖字段的名称") private List relationFieldNames; @ApiModelProperty("请求方法") private String method; public void setConfigId(final Long configId) { this.configId = configId; } public void setName(final String name) { this.name = name; } public void setLabel(final String label) { this.label = label; } public void setIsRequired(final Boolean isRequired) { this.isRequired = isRequired; } public void setDataType(final Integer dataType) { this.dataType = dataType; } public void setDataSource(final String dataSource) { this.dataSource = dataSource; } public void setIsSingleChoice(final Boolean isSingleChoice) { this.isSingleChoice = isSingleChoice; } public void setId(final Long id) { this.id = id; } public void setStatus(final Integer status) { this.status = status; } public void setCheckedParent(final Boolean checkedParent) { this.checkedParent = checkedParent; } public void setRelationField(final String relationField) { this.relationField = relationField; } public void setRelationFieldNames(final List relationFieldNames) { this.relationFieldNames = relationFieldNames; } public void setMethod(final String method) { this.method = method; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof InterfaceConfigFieldVO) { InterfaceConfigFieldVO other = (InterfaceConfigFieldVO) o; if (other.canEqual(this)) { Object this$configId = getConfigId(); Object other$configId = other.getConfigId(); if (this$configId == null) { if (other$configId != null) { return false; } } else if (!this$configId.equals(other$configId)) { return false; } Object this$isRequired = getIsRequired(); Object other$isRequired = other.getIsRequired(); if (this$isRequired == null) { if (other$isRequired != null) { return false; } } else if (!this$isRequired.equals(other$isRequired)) { return false; } Object this$dataType = getDataType(); Object other$dataType = other.getDataType(); if (this$dataType == null) { if (other$dataType != null) { return false; } } else if (!this$dataType.equals(other$dataType)) { return false; } Object this$isSingleChoice = getIsSingleChoice(); Object other$isSingleChoice = other.getIsSingleChoice(); if (this$isSingleChoice == null) { if (other$isSingleChoice != null) { return false; } } else if (!this$isSingleChoice.equals(other$isSingleChoice)) { 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$checkedParent = getCheckedParent(); Object other$checkedParent = other.getCheckedParent(); if (this$checkedParent == null) { if (other$checkedParent != null) { return false; } } else if (!this$checkedParent.equals(other$checkedParent)) { return false; } Object this$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } Object this$label = getLabel(); Object other$label = other.getLabel(); if (this$label == null) { if (other$label != null) { return false; } } else if (!this$label.equals(other$label)) { return false; } Object this$dataSource = getDataSource(); Object other$dataSource = other.getDataSource(); if (this$dataSource == null) { if (other$dataSource != null) { return false; } } else if (!this$dataSource.equals(other$dataSource)) { return false; } Object this$relationField = getRelationField(); Object other$relationField = other.getRelationField(); if (this$relationField == null) { if (other$relationField != null) { return false; } } else if (!this$relationField.equals(other$relationField)) { return false; } Object this$relationFieldNames = getRelationFieldNames(); Object other$relationFieldNames = other.getRelationFieldNames(); if (this$relationFieldNames == null) { if (other$relationFieldNames != null) { return false; } } else if (!this$relationFieldNames.equals(other$relationFieldNames)) { return false; } Object this$method = getMethod(); Object other$method = other.getMethod(); return this$method == null ? other$method == null : this$method.equals(other$method); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof InterfaceConfigFieldVO; } public int hashCode() { Object $configId = getConfigId(); int result = (1 * 59) + ($configId == null ? 43 : $configId.hashCode()); Object $isRequired = getIsRequired(); int result2 = (result * 59) + ($isRequired == null ? 43 : $isRequired.hashCode()); Object $dataType = getDataType(); int result3 = (result2 * 59) + ($dataType == null ? 43 : $dataType.hashCode()); Object $isSingleChoice = getIsSingleChoice(); int result4 = (result3 * 59) + ($isSingleChoice == null ? 43 : $isSingleChoice.hashCode()); Object $id = getId(); int result5 = (result4 * 59) + ($id == null ? 43 : $id.hashCode()); Object $status = getStatus(); int result6 = (result5 * 59) + ($status == null ? 43 : $status.hashCode()); Object $checkedParent = getCheckedParent(); int result7 = (result6 * 59) + ($checkedParent == null ? 43 : $checkedParent.hashCode()); Object $name = getName(); int result8 = (result7 * 59) + ($name == null ? 43 : $name.hashCode()); Object $label = getLabel(); int result9 = (result8 * 59) + ($label == null ? 43 : $label.hashCode()); Object $dataSource = getDataSource(); int result10 = (result9 * 59) + ($dataSource == null ? 43 : $dataSource.hashCode()); Object $relationField = getRelationField(); int result11 = (result10 * 59) + ($relationField == null ? 43 : $relationField.hashCode()); Object $relationFieldNames = getRelationFieldNames(); int result12 = (result11 * 59) + ($relationFieldNames == null ? 43 : $relationFieldNames.hashCode()); Object $method = getMethod(); return (result12 * 59) + ($method == null ? 43 : $method.hashCode()); } public String toString() { return "InterfaceConfigFieldVO(configId=" + getConfigId() + ", name=" + getName() + ", label=" + getLabel() + ", isRequired=" + getIsRequired() + ", dataType=" + getDataType() + ", dataSource=" + getDataSource() + ", isSingleChoice=" + getIsSingleChoice() + ", id=" + getId() + ", status=" + getStatus() + ", checkedParent=" + getCheckedParent() + ", relationField=" + getRelationField() + ", relationFieldNames=" + getRelationFieldNames() + ", method=" + getMethod() + ")"; } public Long getConfigId() { return this.configId; } public String getName() { return this.name; } public String getLabel() { return this.label; } public Boolean getIsRequired() { return this.isRequired; } public Integer getDataType() { return this.dataType; } public String getDataSource() { return this.dataSource; } public Boolean getIsSingleChoice() { return this.isSingleChoice; } public Long getId() { return this.id; } public Integer getStatus() { return this.status; } public Boolean getCheckedParent() { return this.checkedParent; } public String getRelationField() { return this.relationField; } public List getRelationFieldNames() { return this.relationFieldNames; } public String getMethod() { return this.method; } }