package com.qianwen.smartman.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "CustomTemplateField对象", description = "自定义字段表")
|
@TableName("blade_custom_template_field")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/CustomTemplateField.class */
|
public class CustomTemplateField extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("所属租户")
|
private String tenantId;
|
@ApiModelProperty("字段名")
|
private String fieldName;
|
@ApiModelProperty("字段编码")
|
private String fieldCode;
|
@ApiModelProperty("系统默认字段时编辑时字段编码")
|
private String modifyFieldCode;
|
@ApiModelProperty("系统默认字段时查询字段编码")
|
private String queryFieldCode;
|
@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 supportUpdate;
|
@ApiModelProperty("是否支持查询")
|
private Integer supportQuery;
|
@ApiModelProperty("是否支持导入 0否 1是")
|
private Integer supportImport;
|
@ApiModelProperty("是否新增页展示")
|
private Integer addShow;
|
@ApiModelProperty("是否编辑页展示")
|
private Integer updateShow;
|
@ApiModelProperty("是否查看页展示")
|
private Integer viewShow;
|
@ApiModelProperty("是否是系统字段")
|
private Integer systemField;
|
@ApiModelProperty("系统字段是否初始必填")
|
private Integer sysFieldMust;
|
@ApiModelProperty("业务类型 1:计划工单,2:产品")
|
private Integer businessType;
|
@ApiModelProperty("导入字段排序")
|
private Integer importSort;
|
@ApiModelProperty("是否支持导出")
|
private Integer supportExport;
|
@ApiModelProperty("导入是否必填")
|
private Integer mustImport;
|
@TableField(exist = false)
|
List<CustomTemplateFieldOption> optionList;
|
|
public CustomTemplateField setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public CustomTemplateField setFieldName(final String fieldName) {
|
this.fieldName = fieldName;
|
return this;
|
}
|
|
public CustomTemplateField setFieldCode(final String fieldCode) {
|
this.fieldCode = fieldCode;
|
return this;
|
}
|
|
public CustomTemplateField setModifyFieldCode(final String modifyFieldCode) {
|
this.modifyFieldCode = modifyFieldCode;
|
return this;
|
}
|
|
public CustomTemplateField setQueryFieldCode(final String queryFieldCode) {
|
this.queryFieldCode = queryFieldCode;
|
return this;
|
}
|
|
public CustomTemplateField setFieldDescription(final String fieldDescription) {
|
this.fieldDescription = fieldDescription;
|
return this;
|
}
|
|
public CustomTemplateField setFieldType(final Integer fieldType) {
|
this.fieldType = fieldType;
|
return this;
|
}
|
|
public CustomTemplateField setDefaultValue(final String defaultValue) {
|
this.defaultValue = defaultValue;
|
return this;
|
}
|
|
public CustomTemplateField setPropertyJson(final String propertyJson) {
|
this.propertyJson = propertyJson;
|
return this;
|
}
|
|
public CustomTemplateField setSupportUpdate(final Integer supportUpdate) {
|
this.supportUpdate = supportUpdate;
|
return this;
|
}
|
|
public CustomTemplateField setSupportQuery(final Integer supportQuery) {
|
this.supportQuery = supportQuery;
|
return this;
|
}
|
|
public CustomTemplateField setSupportImport(final Integer supportImport) {
|
this.supportImport = supportImport;
|
return this;
|
}
|
|
public CustomTemplateField setAddShow(final Integer addShow) {
|
this.addShow = addShow;
|
return this;
|
}
|
|
public CustomTemplateField setUpdateShow(final Integer updateShow) {
|
this.updateShow = updateShow;
|
return this;
|
}
|
|
public CustomTemplateField setViewShow(final Integer viewShow) {
|
this.viewShow = viewShow;
|
return this;
|
}
|
|
public CustomTemplateField setSystemField(final Integer systemField) {
|
this.systemField = systemField;
|
return this;
|
}
|
|
public CustomTemplateField setSysFieldMust(final Integer sysFieldMust) {
|
this.sysFieldMust = sysFieldMust;
|
return this;
|
}
|
|
public CustomTemplateField setBusinessType(final Integer businessType) {
|
this.businessType = businessType;
|
return this;
|
}
|
|
public CustomTemplateField setImportSort(final Integer importSort) {
|
this.importSort = importSort;
|
return this;
|
}
|
|
public CustomTemplateField setSupportExport(final Integer supportExport) {
|
this.supportExport = supportExport;
|
return this;
|
}
|
|
public CustomTemplateField setMustImport(final Integer mustImport) {
|
this.mustImport = mustImport;
|
return this;
|
}
|
|
public CustomTemplateField setOptionList(final List<CustomTemplateFieldOption> optionList) {
|
this.optionList = optionList;
|
return this;
|
}
|
|
public String toString() {
|
return "CustomTemplateField(tenantId=" + getTenantId() + ", fieldName=" + getFieldName() + ", fieldCode=" + getFieldCode() + ", modifyFieldCode=" + getModifyFieldCode() + ", queryFieldCode=" + getQueryFieldCode() + ", fieldDescription=" + getFieldDescription() + ", fieldType=" + getFieldType() + ", defaultValue=" + getDefaultValue() + ", propertyJson=" + getPropertyJson() + ", supportUpdate=" + getSupportUpdate() + ", supportQuery=" + getSupportQuery() + ", supportImport=" + getSupportImport() + ", addShow=" + getAddShow() + ", updateShow=" + getUpdateShow() + ", viewShow=" + getViewShow() + ", systemField=" + getSystemField() + ", sysFieldMust=" + getSysFieldMust() + ", businessType=" + getBusinessType() + ", importSort=" + getImportSort() + ", supportExport=" + getSupportExport() + ", mustImport=" + getMustImport() + ", optionList=" + getOptionList() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomTemplateField) {
|
CustomTemplateField other = (CustomTemplateField) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$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$supportImport = getSupportImport();
|
Object other$supportImport = other.getSupportImport();
|
if (this$supportImport == null) {
|
if (other$supportImport != null) {
|
return false;
|
}
|
} else if (!this$supportImport.equals(other$supportImport)) {
|
return false;
|
}
|
Object this$addShow = getAddShow();
|
Object other$addShow = other.getAddShow();
|
if (this$addShow == null) {
|
if (other$addShow != null) {
|
return false;
|
}
|
} else if (!this$addShow.equals(other$addShow)) {
|
return false;
|
}
|
Object this$updateShow = getUpdateShow();
|
Object other$updateShow = other.getUpdateShow();
|
if (this$updateShow == null) {
|
if (other$updateShow != null) {
|
return false;
|
}
|
} else if (!this$updateShow.equals(other$updateShow)) {
|
return false;
|
}
|
Object this$viewShow = getViewShow();
|
Object other$viewShow = other.getViewShow();
|
if (this$viewShow == null) {
|
if (other$viewShow != null) {
|
return false;
|
}
|
} else if (!this$viewShow.equals(other$viewShow)) {
|
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$businessType = getBusinessType();
|
Object other$businessType = other.getBusinessType();
|
if (this$businessType == null) {
|
if (other$businessType != null) {
|
return false;
|
}
|
} else if (!this$businessType.equals(other$businessType)) {
|
return false;
|
}
|
Object this$importSort = getImportSort();
|
Object other$importSort = other.getImportSort();
|
if (this$importSort == null) {
|
if (other$importSort != null) {
|
return false;
|
}
|
} else if (!this$importSort.equals(other$importSort)) {
|
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$mustImport = getMustImport();
|
Object other$mustImport = other.getMustImport();
|
if (this$mustImport == null) {
|
if (other$mustImport != null) {
|
return false;
|
}
|
} else if (!this$mustImport.equals(other$mustImport)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
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$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$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 CustomTemplateField;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $fieldType = getFieldType();
|
int result2 = (result * 59) + ($fieldType == null ? 43 : $fieldType.hashCode());
|
Object $supportUpdate = getSupportUpdate();
|
int result3 = (result2 * 59) + ($supportUpdate == null ? 43 : $supportUpdate.hashCode());
|
Object $supportQuery = getSupportQuery();
|
int result4 = (result3 * 59) + ($supportQuery == null ? 43 : $supportQuery.hashCode());
|
Object $supportImport = getSupportImport();
|
int result5 = (result4 * 59) + ($supportImport == null ? 43 : $supportImport.hashCode());
|
Object $addShow = getAddShow();
|
int result6 = (result5 * 59) + ($addShow == null ? 43 : $addShow.hashCode());
|
Object $updateShow = getUpdateShow();
|
int result7 = (result6 * 59) + ($updateShow == null ? 43 : $updateShow.hashCode());
|
Object $viewShow = getViewShow();
|
int result8 = (result7 * 59) + ($viewShow == null ? 43 : $viewShow.hashCode());
|
Object $systemField = getSystemField();
|
int result9 = (result8 * 59) + ($systemField == null ? 43 : $systemField.hashCode());
|
Object $sysFieldMust = getSysFieldMust();
|
int result10 = (result9 * 59) + ($sysFieldMust == null ? 43 : $sysFieldMust.hashCode());
|
Object $businessType = getBusinessType();
|
int result11 = (result10 * 59) + ($businessType == null ? 43 : $businessType.hashCode());
|
Object $importSort = getImportSort();
|
int result12 = (result11 * 59) + ($importSort == null ? 43 : $importSort.hashCode());
|
Object $supportExport = getSupportExport();
|
int result13 = (result12 * 59) + ($supportExport == null ? 43 : $supportExport.hashCode());
|
Object $mustImport = getMustImport();
|
int result14 = (result13 * 59) + ($mustImport == null ? 43 : $mustImport.hashCode());
|
Object $tenantId = getTenantId();
|
int result15 = (result14 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $fieldName = getFieldName();
|
int result16 = (result15 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
|
Object $fieldCode = getFieldCode();
|
int result17 = (result16 * 59) + ($fieldCode == null ? 43 : $fieldCode.hashCode());
|
Object $modifyFieldCode = getModifyFieldCode();
|
int result18 = (result17 * 59) + ($modifyFieldCode == null ? 43 : $modifyFieldCode.hashCode());
|
Object $queryFieldCode = getQueryFieldCode();
|
int result19 = (result18 * 59) + ($queryFieldCode == null ? 43 : $queryFieldCode.hashCode());
|
Object $fieldDescription = getFieldDescription();
|
int result20 = (result19 * 59) + ($fieldDescription == null ? 43 : $fieldDescription.hashCode());
|
Object $defaultValue = getDefaultValue();
|
int result21 = (result20 * 59) + ($defaultValue == null ? 43 : $defaultValue.hashCode());
|
Object $propertyJson = getPropertyJson();
|
int result22 = (result21 * 59) + ($propertyJson == null ? 43 : $propertyJson.hashCode());
|
Object $optionList = getOptionList();
|
return (result22 * 59) + ($optionList == null ? 43 : $optionList.hashCode());
|
}
|
|
public CustomTemplateField() {
|
}
|
|
public CustomTemplateField(Integer fieldType) {
|
this.fieldType = fieldType;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getFieldName() {
|
return this.fieldName;
|
}
|
|
public String getFieldCode() {
|
return this.fieldCode;
|
}
|
|
public String getModifyFieldCode() {
|
return this.modifyFieldCode;
|
}
|
|
public String getQueryFieldCode() {
|
return this.queryFieldCode;
|
}
|
|
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 getSupportUpdate() {
|
return this.supportUpdate;
|
}
|
|
public Integer getSupportQuery() {
|
return this.supportQuery;
|
}
|
|
public Integer getSupportImport() {
|
return this.supportImport;
|
}
|
|
public Integer getAddShow() {
|
return this.addShow;
|
}
|
|
public Integer getUpdateShow() {
|
return this.updateShow;
|
}
|
|
public Integer getViewShow() {
|
return this.viewShow;
|
}
|
|
public Integer getSystemField() {
|
return this.systemField;
|
}
|
|
public Integer getSysFieldMust() {
|
return this.sysFieldMust;
|
}
|
|
public Integer getBusinessType() {
|
return this.businessType;
|
}
|
|
public Integer getImportSort() {
|
return this.importSort;
|
}
|
|
public Integer getSupportExport() {
|
return this.supportExport;
|
}
|
|
public Integer getMustImport() {
|
return this.mustImport;
|
}
|
|
public List<CustomTemplateFieldOption> getOptionList() {
|
return this.optionList;
|
}
|
}
|