package com.qianwen.smartman.modules.system.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import com.qianwen.smartman.modules.system.entity.CustomTemplateFieldOption;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomTemplateFieldColumnVO.class */
|
public class CustomTemplateFieldColumnVO {
|
@ApiModelProperty("模版id")
|
private Long templateId;
|
@ApiModelProperty("模版名称")
|
private String templateName;
|
@ApiModelProperty("字段id")
|
private Long fieldId;
|
@ApiModelProperty("字段编码")
|
private String fieldCode;
|
@ApiModelProperty("系统默认字段时编辑时字段编码")
|
private String modifyFieldCode;
|
@ApiModelProperty("系统默认字段时查询字段编码")
|
private String queryFieldCode;
|
@ApiModelProperty("字段名")
|
private String fieldName;
|
@ApiModelProperty("描述提示文字")
|
private String fieldDescription;
|
@ApiModelProperty("字段类型(中文),暂为: 1:输入框,2:数字输入框,3:多行文本,4:日期,5:单选,6:多选,7:下拉选择器,8:级联选择器")
|
private Integer fieldType;
|
@ApiModelProperty("默认值")
|
private String defaultValue;
|
@ApiModelProperty("类型特有json,前后端协定")
|
private String propertyJson;
|
@ApiModelProperty("是否是系统字段")
|
private Integer systemField;
|
@ApiModelProperty("系统字段是否初始必填")
|
private Integer sysFieldMust;
|
@ApiModelProperty("字段内容是否必填")
|
private Integer mustField;
|
@ApiModelProperty("字段本身是否支持查询")
|
private Integer supportQuery;
|
@ApiModelProperty("是否支持编辑")
|
private Integer supportUpdate;
|
@ApiModelProperty("是否支持导出")
|
private Integer supportExport;
|
@ApiModelProperty("选项值字段列表")
|
private List<CustomTemplateFieldOption> optionList;
|
|
public void setTemplateId(final Long templateId) {
|
this.templateId = templateId;
|
}
|
|
public void setTemplateName(final String templateName) {
|
this.templateName = templateName;
|
}
|
|
public void setFieldId(final Long fieldId) {
|
this.fieldId = fieldId;
|
}
|
|
public void setFieldCode(final String fieldCode) {
|
this.fieldCode = fieldCode;
|
}
|
|
public void setModifyFieldCode(final String modifyFieldCode) {
|
this.modifyFieldCode = modifyFieldCode;
|
}
|
|
public void setQueryFieldCode(final String queryFieldCode) {
|
this.queryFieldCode = queryFieldCode;
|
}
|
|
public void setFieldName(final String fieldName) {
|
this.fieldName = fieldName;
|
}
|
|
public void setFieldDescription(final String fieldDescription) {
|
this.fieldDescription = fieldDescription;
|
}
|
|
public void setFieldType(final Integer fieldType) {
|
this.fieldType = fieldType;
|
}
|
|
public void setDefaultValue(final String defaultValue) {
|
this.defaultValue = defaultValue;
|
}
|
|
public void setPropertyJson(final String propertyJson) {
|
this.propertyJson = propertyJson;
|
}
|
|
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 setSupportQuery(final Integer supportQuery) {
|
this.supportQuery = supportQuery;
|
}
|
|
public void setSupportUpdate(final Integer supportUpdate) {
|
this.supportUpdate = supportUpdate;
|
}
|
|
public void setSupportExport(final Integer supportExport) {
|
this.supportExport = supportExport;
|
}
|
|
public void setOptionList(final List<CustomTemplateFieldOption> optionList) {
|
this.optionList = optionList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomTemplateFieldColumnVO) {
|
CustomTemplateFieldColumnVO other = (CustomTemplateFieldColumnVO) o;
|
if (other.canEqual(this)) {
|
Object this$templateId = getTemplateId();
|
Object other$templateId = other.getTemplateId();
|
if (this$templateId == null) {
|
if (other$templateId != null) {
|
return false;
|
}
|
} else if (!this$templateId.equals(other$templateId)) {
|
return false;
|
}
|
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$fieldType = getFieldType();
|
Object other$fieldType = other.getFieldType();
|
if (this$fieldType == null) {
|
if (other$fieldType != null) {
|
return false;
|
}
|
} else if (!this$fieldType.equals(other$fieldType)) {
|
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$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$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$supportExport = getSupportExport();
|
Object other$supportExport = other.getSupportExport();
|
if (this$supportExport == null) {
|
if (other$supportExport != null) {
|
return false;
|
}
|
} else if (!this$supportExport.equals(other$supportExport)) {
|
return false;
|
}
|
Object this$templateName = getTemplateName();
|
Object other$templateName = other.getTemplateName();
|
if (this$templateName == null) {
|
if (other$templateName != null) {
|
return false;
|
}
|
} else if (!this$templateName.equals(other$templateName)) {
|
return false;
|
}
|
Object this$fieldCode = getFieldCode();
|
Object other$fieldCode = other.getFieldCode();
|
if (this$fieldCode == null) {
|
if (other$fieldCode != null) {
|
return false;
|
}
|
} else if (!this$fieldCode.equals(other$fieldCode)) {
|
return false;
|
}
|
Object this$modifyFieldCode = getModifyFieldCode();
|
Object other$modifyFieldCode = other.getModifyFieldCode();
|
if (this$modifyFieldCode == null) {
|
if (other$modifyFieldCode != null) {
|
return false;
|
}
|
} else if (!this$modifyFieldCode.equals(other$modifyFieldCode)) {
|
return false;
|
}
|
Object this$queryFieldCode = getQueryFieldCode();
|
Object other$queryFieldCode = other.getQueryFieldCode();
|
if (this$queryFieldCode == null) {
|
if (other$queryFieldCode != null) {
|
return false;
|
}
|
} else if (!this$queryFieldCode.equals(other$queryFieldCode)) {
|
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$propertyJson = getPropertyJson();
|
Object other$propertyJson = other.getPropertyJson();
|
if (this$propertyJson == null) {
|
if (other$propertyJson != null) {
|
return false;
|
}
|
} else if (!this$propertyJson.equals(other$propertyJson)) {
|
return false;
|
}
|
Object this$optionList = getOptionList();
|
Object other$optionList = other.getOptionList();
|
return this$optionList == null ? other$optionList == null : this$optionList.equals(other$optionList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CustomTemplateFieldColumnVO;
|
}
|
|
public int hashCode() {
|
Object $templateId = getTemplateId();
|
int result = (1 * 59) + ($templateId == null ? 43 : $templateId.hashCode());
|
Object $fieldId = getFieldId();
|
int result2 = (result * 59) + ($fieldId == null ? 43 : $fieldId.hashCode());
|
Object $fieldType = getFieldType();
|
int result3 = (result2 * 59) + ($fieldType == null ? 43 : $fieldType.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 $supportQuery = getSupportQuery();
|
int result7 = (result6 * 59) + ($supportQuery == null ? 43 : $supportQuery.hashCode());
|
Object $supportUpdate = getSupportUpdate();
|
int result8 = (result7 * 59) + ($supportUpdate == null ? 43 : $supportUpdate.hashCode());
|
Object $supportExport = getSupportExport();
|
int result9 = (result8 * 59) + ($supportExport == null ? 43 : $supportExport.hashCode());
|
Object $templateName = getTemplateName();
|
int result10 = (result9 * 59) + ($templateName == null ? 43 : $templateName.hashCode());
|
Object $fieldCode = getFieldCode();
|
int result11 = (result10 * 59) + ($fieldCode == null ? 43 : $fieldCode.hashCode());
|
Object $modifyFieldCode = getModifyFieldCode();
|
int result12 = (result11 * 59) + ($modifyFieldCode == null ? 43 : $modifyFieldCode.hashCode());
|
Object $queryFieldCode = getQueryFieldCode();
|
int result13 = (result12 * 59) + ($queryFieldCode == null ? 43 : $queryFieldCode.hashCode());
|
Object $fieldName = getFieldName();
|
int result14 = (result13 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
|
Object $fieldDescription = getFieldDescription();
|
int result15 = (result14 * 59) + ($fieldDescription == null ? 43 : $fieldDescription.hashCode());
|
Object $defaultValue = getDefaultValue();
|
int result16 = (result15 * 59) + ($defaultValue == null ? 43 : $defaultValue.hashCode());
|
Object $propertyJson = getPropertyJson();
|
int result17 = (result16 * 59) + ($propertyJson == null ? 43 : $propertyJson.hashCode());
|
Object $optionList = getOptionList();
|
return (result17 * 59) + ($optionList == null ? 43 : $optionList.hashCode());
|
}
|
|
public String toString() {
|
return "CustomTemplateFieldColumnVO(templateId=" + getTemplateId() + ", templateName=" + getTemplateName() + ", fieldId=" + getFieldId() + ", fieldCode=" + getFieldCode() + ", modifyFieldCode=" + getModifyFieldCode() + ", queryFieldCode=" + getQueryFieldCode() + ", fieldName=" + getFieldName() + ", fieldDescription=" + getFieldDescription() + ", fieldType=" + getFieldType() + ", defaultValue=" + getDefaultValue() + ", propertyJson=" + getPropertyJson() + ", systemField=" + getSystemField() + ", sysFieldMust=" + getSysFieldMust() + ", mustField=" + getMustField() + ", supportQuery=" + getSupportQuery() + ", supportUpdate=" + getSupportUpdate() + ", supportExport=" + getSupportExport() + ", optionList=" + getOptionList() + ")";
|
}
|
|
public Long getTemplateId() {
|
return this.templateId;
|
}
|
|
public String getTemplateName() {
|
return this.templateName;
|
}
|
|
public Long getFieldId() {
|
return this.fieldId;
|
}
|
|
public String getFieldCode() {
|
return this.fieldCode;
|
}
|
|
public String getModifyFieldCode() {
|
return this.modifyFieldCode;
|
}
|
|
public String getQueryFieldCode() {
|
return this.queryFieldCode;
|
}
|
|
public String getFieldName() {
|
return this.fieldName;
|
}
|
|
public String getFieldDescription() {
|
return this.fieldDescription;
|
}
|
|
public Integer getFieldType() {
|
return this.fieldType;
|
}
|
|
public String getDefaultValue() {
|
return this.defaultValue;
|
}
|
|
public String getPropertyJson() {
|
return this.propertyJson;
|
}
|
|
public Integer getSystemField() {
|
return this.systemField;
|
}
|
|
public Integer getSysFieldMust() {
|
return this.sysFieldMust;
|
}
|
|
public Integer getMustField() {
|
return this.mustField;
|
}
|
|
public Integer getSupportQuery() {
|
return this.supportQuery;
|
}
|
|
public Integer getSupportUpdate() {
|
return this.supportUpdate;
|
}
|
|
public Integer getSupportExport() {
|
return this.supportExport;
|
}
|
|
public List<CustomTemplateFieldOption> getOptionList() {
|
return this.optionList;
|
}
|
}
|