package com.qianwen.smartman.modules.system.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "CustomTemplateFieldRelationVo对象", description = "模板与字段关系表")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomTemplateFieldRelationVO.class */
|
public class CustomTemplateFieldRelationVO implements Serializable {
|
@ApiModelProperty("所属租户")
|
private String tenantId;
|
@ApiModelProperty("模板id")
|
private Long templateId;
|
@ApiModelProperty("字段id")
|
private Long fieldId;
|
@ApiModelProperty("排序")
|
private Integer sort;
|
@ApiModelProperty("配置类型 1:新建页,2:编辑页,3:查看页,4:工单,5:查询条件")
|
private Integer configType;
|
@ApiModelProperty("是否必填")
|
private Integer mustField;
|
@ApiModelProperty("是否是导入字段 0否 1是")
|
private Integer importField;
|
@ApiModelProperty("导入时排序")
|
private Integer importSort;
|
@ApiModelProperty("id")
|
private Long id;
|
@ApiModelProperty("状态: 1为启动,0为停用")
|
private Integer status;
|
@ApiModelProperty("字段名称")
|
private String fieldName;
|
private String fieldCode;
|
@ApiModelProperty("是否为系统字段")
|
private Integer systemField;
|
private String propertyJson;
|
private Integer fieldType;
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setTemplateId(final Long templateId) {
|
this.templateId = templateId;
|
}
|
|
public void setFieldId(final Long fieldId) {
|
this.fieldId = fieldId;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setConfigType(final Integer configType) {
|
this.configType = configType;
|
}
|
|
public void setMustField(final Integer mustField) {
|
this.mustField = mustField;
|
}
|
|
public void setImportField(final Integer importField) {
|
this.importField = importField;
|
}
|
|
public void setImportSort(final Integer importSort) {
|
this.importSort = importSort;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setFieldName(final String fieldName) {
|
this.fieldName = fieldName;
|
}
|
|
public void setFieldCode(final String fieldCode) {
|
this.fieldCode = fieldCode;
|
}
|
|
public void setSystemField(final Integer systemField) {
|
this.systemField = systemField;
|
}
|
|
public void setPropertyJson(final String propertyJson) {
|
this.propertyJson = propertyJson;
|
}
|
|
public void setFieldType(final Integer fieldType) {
|
this.fieldType = fieldType;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomTemplateFieldRelationVO) {
|
CustomTemplateFieldRelationVO other = (CustomTemplateFieldRelationVO) 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$sort = getSort();
|
Object other$sort = other.getSort();
|
if (this$sort == null) {
|
if (other$sort != null) {
|
return false;
|
}
|
} else if (!this$sort.equals(other$sort)) {
|
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$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$importField = getImportField();
|
Object other$importField = other.getImportField();
|
if (this$importField == null) {
|
if (other$importField != null) {
|
return false;
|
}
|
} else if (!this$importField.equals(other$importField)) {
|
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$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$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$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$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$propertyJson = getPropertyJson();
|
Object other$propertyJson = other.getPropertyJson();
|
return this$propertyJson == null ? other$propertyJson == null : this$propertyJson.equals(other$propertyJson);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CustomTemplateFieldRelationVO;
|
}
|
|
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 $sort = getSort();
|
int result3 = (result2 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $configType = getConfigType();
|
int result4 = (result3 * 59) + ($configType == null ? 43 : $configType.hashCode());
|
Object $mustField = getMustField();
|
int result5 = (result4 * 59) + ($mustField == null ? 43 : $mustField.hashCode());
|
Object $importField = getImportField();
|
int result6 = (result5 * 59) + ($importField == null ? 43 : $importField.hashCode());
|
Object $importSort = getImportSort();
|
int result7 = (result6 * 59) + ($importSort == null ? 43 : $importSort.hashCode());
|
Object $id = getId();
|
int result8 = (result7 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result9 = (result8 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $systemField = getSystemField();
|
int result10 = (result9 * 59) + ($systemField == null ? 43 : $systemField.hashCode());
|
Object $fieldType = getFieldType();
|
int result11 = (result10 * 59) + ($fieldType == null ? 43 : $fieldType.hashCode());
|
Object $tenantId = getTenantId();
|
int result12 = (result11 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $fieldName = getFieldName();
|
int result13 = (result12 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
|
Object $fieldCode = getFieldCode();
|
int result14 = (result13 * 59) + ($fieldCode == null ? 43 : $fieldCode.hashCode());
|
Object $propertyJson = getPropertyJson();
|
return (result14 * 59) + ($propertyJson == null ? 43 : $propertyJson.hashCode());
|
}
|
|
public String toString() {
|
return "CustomTemplateFieldRelationVO(tenantId=" + getTenantId() + ", templateId=" + getTemplateId() + ", fieldId=" + getFieldId() + ", sort=" + getSort() + ", configType=" + getConfigType() + ", mustField=" + getMustField() + ", importField=" + getImportField() + ", importSort=" + getImportSort() + ", id=" + getId() + ", status=" + getStatus() + ", fieldName=" + getFieldName() + ", fieldCode=" + getFieldCode() + ", systemField=" + getSystemField() + ", propertyJson=" + getPropertyJson() + ", fieldType=" + getFieldType() + ")";
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public Long getTemplateId() {
|
return this.templateId;
|
}
|
|
public Long getFieldId() {
|
return this.fieldId;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public Integer getConfigType() {
|
return this.configType;
|
}
|
|
public Integer getMustField() {
|
return this.mustField;
|
}
|
|
public Integer getImportField() {
|
return this.importField;
|
}
|
|
public Integer getImportSort() {
|
return this.importSort;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public String getFieldName() {
|
return this.fieldName;
|
}
|
|
public String getFieldCode() {
|
return this.fieldCode;
|
}
|
|
public Integer getSystemField() {
|
return this.systemField;
|
}
|
|
public String getPropertyJson() {
|
return this.propertyJson;
|
}
|
|
public Integer getFieldType() {
|
return this.fieldType;
|
}
|
}
|