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 = "InterfaceConfigField对象", description = "接口字段表") @TableName("blade_interface_config_field") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/InterfaceConfigField.class */ public class InterfaceConfigField extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("接口配置id") private Long configId; @ApiModelProperty("字段名称") private String name; @ApiModelProperty("字段描述") private String label; @ApiModelProperty("是否必填: 0 - 不必填; 1 - 必填") private Boolean isRequired; @ApiModelProperty("0-文本;1-数值;2-下拉;3-日期; 4-树选择") private Integer dataType; @ApiModelProperty("当数据类型是下拉,树选择的时候指定数据源的地址。用于获取这些选项的数据。") private String dataSource; @ApiModelProperty("当下拉选择的时候指定是否单选:- 0 多选; 1 - 单选") private Boolean isSingleChoice; @ApiModelProperty("父节点是否可选中") private Boolean checkedParent; @ApiModelProperty("依赖字段") private String relationField; @ApiModelProperty("请求方法") private String method; public InterfaceConfigField setConfigId(final Long configId) { this.configId = configId; return this; } public InterfaceConfigField setName(final String name) { this.name = name; return this; } public InterfaceConfigField setLabel(final String label) { this.label = label; return this; } public InterfaceConfigField setIsRequired(final Boolean isRequired) { this.isRequired = isRequired; return this; } public InterfaceConfigField setDataType(final Integer dataType) { this.dataType = dataType; return this; } public InterfaceConfigField setDataSource(final String dataSource) { this.dataSource = dataSource; return this; } public InterfaceConfigField setIsSingleChoice(final Boolean isSingleChoice) { this.isSingleChoice = isSingleChoice; return this; } public InterfaceConfigField setCheckedParent(final Boolean checkedParent) { this.checkedParent = checkedParent; return this; } public InterfaceConfigField setRelationField(final String relationField) { this.relationField = relationField; return this; } public InterfaceConfigField setMethod(final String method) { this.method = method; return this; } public String toString() { return "InterfaceConfigField(configId=" + getConfigId() + ", name=" + getName() + ", label=" + getLabel() + ", isRequired=" + getIsRequired() + ", dataType=" + getDataType() + ", dataSource=" + getDataSource() + ", isSingleChoice=" + getIsSingleChoice() + ", checkedParent=" + getCheckedParent() + ", relationField=" + getRelationField() + ", method=" + getMethod() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof InterfaceConfigField) { InterfaceConfigField other = (InterfaceConfigField) o; if (other.canEqual(this) && super.equals(o)) { 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$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$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 InterfaceConfigField; } public int hashCode() { int result = super.hashCode(); Object $configId = getConfigId(); int result2 = (result * 59) + ($configId == null ? 43 : $configId.hashCode()); Object $isRequired = getIsRequired(); int result3 = (result2 * 59) + ($isRequired == null ? 43 : $isRequired.hashCode()); Object $dataType = getDataType(); int result4 = (result3 * 59) + ($dataType == null ? 43 : $dataType.hashCode()); Object $isSingleChoice = getIsSingleChoice(); int result5 = (result4 * 59) + ($isSingleChoice == null ? 43 : $isSingleChoice.hashCode()); Object $checkedParent = getCheckedParent(); int result6 = (result5 * 59) + ($checkedParent == null ? 43 : $checkedParent.hashCode()); Object $name = getName(); int result7 = (result6 * 59) + ($name == null ? 43 : $name.hashCode()); Object $label = getLabel(); int result8 = (result7 * 59) + ($label == null ? 43 : $label.hashCode()); Object $dataSource = getDataSource(); int result9 = (result8 * 59) + ($dataSource == null ? 43 : $dataSource.hashCode()); Object $relationField = getRelationField(); int result10 = (result9 * 59) + ($relationField == null ? 43 : $relationField.hashCode()); Object $method = getMethod(); return (result10 * 59) + ($method == null ? 43 : $method.hashCode()); } 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 Boolean getCheckedParent() { return this.checkedParent; } public String getRelationField() { return this.relationField; } public String getMethod() { return this.method; } }