package com.qianwen.smartman.modules.system.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import com.qianwen.smartman.common.constant.CommonConstant; import com.qianwen.core.tool.utils.Func; @ApiModel(value = "CustomTemplateFieldListVO对象", description = "自定义字段查询列表") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomTemplateFieldListVO.class */ public class CustomTemplateFieldListVO implements Serializable { @ApiModelProperty("字段id") private Long fieldId; @ApiModelProperty("字段名") private String fieldName; @ApiModelProperty("描述提示文字") private String fieldDescription; @ApiModelProperty("默认值") private String defaultValue; @ApiModelProperty("是否支持编辑") private Integer supportUpdate; @ApiModelProperty("是否支持查询") private Integer supportQuery; @ApiModelProperty("是否是系统字段") private Integer systemField; @ApiModelProperty("系统字段是否初始必填") private Integer sysFieldMust; @ApiModelProperty("关系中是否必填") private Integer mustField; @ApiModelProperty("id") private Long id; @ApiModelProperty("配置类型") private Integer configType; private String supportUpdateLabel; public void setFieldId(final Long fieldId) { this.fieldId = fieldId; } public void setFieldName(final String fieldName) { this.fieldName = fieldName; } public void setFieldDescription(final String fieldDescription) { this.fieldDescription = fieldDescription; } public void setDefaultValue(final String defaultValue) { this.defaultValue = defaultValue; } public void setSupportUpdate(final Integer supportUpdate) { this.supportUpdate = supportUpdate; } public void setSupportQuery(final Integer supportQuery) { this.supportQuery = supportQuery; } public void setSystemField(final Integer systemField) { this.systemField = systemField; } public void setSysFieldMust(final Integer sysFieldMust) { this.sysFieldMust = sysFieldMust; } public void setMustField(final Integer mustField) { this.mustField = mustField; } public void setId(final Long id) { this.id = id; } public void setConfigType(final Integer configType) { this.configType = configType; } public void setSupportUpdateLabel(final String supportUpdateLabel) { this.supportUpdateLabel = supportUpdateLabel; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CustomTemplateFieldListVO) { CustomTemplateFieldListVO other = (CustomTemplateFieldListVO) o; if (other.canEqual(this)) { Object this$fieldId = getFieldId(); Object other$fieldId = other.getFieldId(); if (this$fieldId == null) { if (other$fieldId != null) { return false; } } else if (!this$fieldId.equals(other$fieldId)) { return false; } Object this$supportUpdate = getSupportUpdate(); Object other$supportUpdate = other.getSupportUpdate(); if (this$supportUpdate == null) { if (other$supportUpdate != null) { return false; } } else if (!this$supportUpdate.equals(other$supportUpdate)) { return false; } Object this$supportQuery = getSupportQuery(); Object other$supportQuery = other.getSupportQuery(); if (this$supportQuery == null) { if (other$supportQuery != null) { return false; } } else if (!this$supportQuery.equals(other$supportQuery)) { return false; } Object this$systemField = getSystemField(); Object other$systemField = other.getSystemField(); if (this$systemField == null) { if (other$systemField != null) { return false; } } else if (!this$systemField.equals(other$systemField)) { return false; } Object this$sysFieldMust = getSysFieldMust(); Object other$sysFieldMust = other.getSysFieldMust(); if (this$sysFieldMust == null) { if (other$sysFieldMust != null) { return false; } } else if (!this$sysFieldMust.equals(other$sysFieldMust)) { return false; } Object this$mustField = getMustField(); Object other$mustField = other.getMustField(); if (this$mustField == null) { if (other$mustField != null) { return false; } } else if (!this$mustField.equals(other$mustField)) { 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$configType = getConfigType(); Object other$configType = other.getConfigType(); if (this$configType == null) { if (other$configType != null) { return false; } } else if (!this$configType.equals(other$configType)) { return false; } Object this$fieldName = getFieldName(); Object other$fieldName = other.getFieldName(); if (this$fieldName == null) { if (other$fieldName != null) { return false; } } else if (!this$fieldName.equals(other$fieldName)) { return false; } Object this$fieldDescription = getFieldDescription(); Object other$fieldDescription = other.getFieldDescription(); if (this$fieldDescription == null) { if (other$fieldDescription != null) { return false; } } else if (!this$fieldDescription.equals(other$fieldDescription)) { return false; } Object this$defaultValue = getDefaultValue(); Object other$defaultValue = other.getDefaultValue(); if (this$defaultValue == null) { if (other$defaultValue != null) { return false; } } else if (!this$defaultValue.equals(other$defaultValue)) { return false; } Object this$supportUpdateLabel = getSupportUpdateLabel(); Object other$supportUpdateLabel = other.getSupportUpdateLabel(); return this$supportUpdateLabel == null ? other$supportUpdateLabel == null : this$supportUpdateLabel.equals(other$supportUpdateLabel); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof CustomTemplateFieldListVO; } public int hashCode() { Object $fieldId = getFieldId(); int result = (1 * 59) + ($fieldId == null ? 43 : $fieldId.hashCode()); Object $supportUpdate = getSupportUpdate(); int result2 = (result * 59) + ($supportUpdate == null ? 43 : $supportUpdate.hashCode()); Object $supportQuery = getSupportQuery(); int result3 = (result2 * 59) + ($supportQuery == null ? 43 : $supportQuery.hashCode()); Object $systemField = getSystemField(); int result4 = (result3 * 59) + ($systemField == null ? 43 : $systemField.hashCode()); Object $sysFieldMust = getSysFieldMust(); int result5 = (result4 * 59) + ($sysFieldMust == null ? 43 : $sysFieldMust.hashCode()); Object $mustField = getMustField(); int result6 = (result5 * 59) + ($mustField == null ? 43 : $mustField.hashCode()); Object $id = getId(); int result7 = (result6 * 59) + ($id == null ? 43 : $id.hashCode()); Object $configType = getConfigType(); int result8 = (result7 * 59) + ($configType == null ? 43 : $configType.hashCode()); Object $fieldName = getFieldName(); int result9 = (result8 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode()); Object $fieldDescription = getFieldDescription(); int result10 = (result9 * 59) + ($fieldDescription == null ? 43 : $fieldDescription.hashCode()); Object $defaultValue = getDefaultValue(); int result11 = (result10 * 59) + ($defaultValue == null ? 43 : $defaultValue.hashCode()); Object $supportUpdateLabel = getSupportUpdateLabel(); return (result11 * 59) + ($supportUpdateLabel == null ? 43 : $supportUpdateLabel.hashCode()); } public String toString() { return "CustomTemplateFieldListVO(fieldId=" + getFieldId() + ", fieldName=" + getFieldName() + ", fieldDescription=" + getFieldDescription() + ", defaultValue=" + getDefaultValue() + ", supportUpdate=" + getSupportUpdate() + ", supportQuery=" + getSupportQuery() + ", systemField=" + getSystemField() + ", sysFieldMust=" + getSysFieldMust() + ", mustField=" + getMustField() + ", id=" + getId() + ", configType=" + getConfigType() + ", supportUpdateLabel=" + getSupportUpdateLabel() + ")"; } public Long getFieldId() { return this.fieldId; } public String getFieldName() { return this.fieldName; } public String getFieldDescription() { return this.fieldDescription; } public String getDefaultValue() { return this.defaultValue; } public Integer getSupportUpdate() { return this.supportUpdate; } public Integer getSupportQuery() { return this.supportQuery; } public Integer getSystemField() { return this.systemField; } public Integer getSysFieldMust() { return this.sysFieldMust; } public Integer getMustField() { return this.mustField; } public Long getId() { return this.id; } public Integer getConfigType() { return this.configType; } public String getSupportUpdateLabel() { if (Func.isNotEmpty(this.supportUpdate)) { return Func.equals(this.supportUpdate, CommonConstant.ENABLE) ? "是" : "否"; } return null; } }