package com.qianwen.smartman.modules.system.dto;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/dto/CustomTemplateFieldRelationDTO.class */
|
public class CustomTemplateFieldRelationDTO {
|
private Long id;
|
private Long templateId;
|
private String templateName;
|
private Integer mustField;
|
private Integer systemField;
|
private String fieldName;
|
private String fieldCode;
|
private Integer mustImport;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setTemplateId(final Long templateId) {
|
this.templateId = templateId;
|
}
|
|
public void setTemplateName(final String templateName) {
|
this.templateName = templateName;
|
}
|
|
public void setMustField(final Integer mustField) {
|
this.mustField = mustField;
|
}
|
|
public void setSystemField(final Integer systemField) {
|
this.systemField = systemField;
|
}
|
|
public void setFieldName(final String fieldName) {
|
this.fieldName = fieldName;
|
}
|
|
public void setFieldCode(final String fieldCode) {
|
this.fieldCode = fieldCode;
|
}
|
|
public void setMustImport(final Integer mustImport) {
|
this.mustImport = mustImport;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomTemplateFieldRelationDTO) {
|
CustomTemplateFieldRelationDTO other = (CustomTemplateFieldRelationDTO) o;
|
if (other.canEqual(this)) {
|
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$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$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$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$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$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$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();
|
return this$fieldCode == null ? other$fieldCode == null : this$fieldCode.equals(other$fieldCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CustomTemplateFieldRelationDTO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $templateId = getTemplateId();
|
int result2 = (result * 59) + ($templateId == null ? 43 : $templateId.hashCode());
|
Object $mustField = getMustField();
|
int result3 = (result2 * 59) + ($mustField == null ? 43 : $mustField.hashCode());
|
Object $systemField = getSystemField();
|
int result4 = (result3 * 59) + ($systemField == null ? 43 : $systemField.hashCode());
|
Object $mustImport = getMustImport();
|
int result5 = (result4 * 59) + ($mustImport == null ? 43 : $mustImport.hashCode());
|
Object $templateName = getTemplateName();
|
int result6 = (result5 * 59) + ($templateName == null ? 43 : $templateName.hashCode());
|
Object $fieldName = getFieldName();
|
int result7 = (result6 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
|
Object $fieldCode = getFieldCode();
|
return (result7 * 59) + ($fieldCode == null ? 43 : $fieldCode.hashCode());
|
}
|
|
public String toString() {
|
return "CustomTemplateFieldRelationDTO(id=" + getId() + ", templateId=" + getTemplateId() + ", templateName=" + getTemplateName() + ", mustField=" + getMustField() + ", systemField=" + getSystemField() + ", fieldName=" + getFieldName() + ", fieldCode=" + getFieldCode() + ", mustImport=" + getMustImport() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getTemplateId() {
|
return this.templateId;
|
}
|
|
public String getTemplateName() {
|
return this.templateName;
|
}
|
|
public Integer getMustField() {
|
return this.mustField;
|
}
|
|
public Integer getSystemField() {
|
return this.systemField;
|
}
|
|
public String getFieldName() {
|
return this.fieldName;
|
}
|
|
public String getFieldCode() {
|
return this.fieldCode;
|
}
|
|
public Integer getMustImport() {
|
return this.mustImport;
|
}
|
}
|