package com.qianwen.smartman.modules.system.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "CustomFieldRelationInfoVO", description = "自定义字段关联关系VO")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomFieldRelationInfoVO.class */
|
public class CustomFieldRelationInfoVO implements Serializable {
|
@ApiModelProperty("字段id")
|
private Long fieldId;
|
@ApiModelProperty("字段名称")
|
private String fieldName;
|
@ApiModelProperty("排序")
|
private Integer sort;
|
@ApiModelProperty("关系表id")
|
private Long relationId;
|
@ApiModelProperty("是否是系统字段")
|
private Integer systemField;
|
@ApiModelProperty("系统字段是否初始必填")
|
private Integer sysFieldMust;
|
@ApiModelProperty("字段编码")
|
private String fieldCode;
|
@ApiModelProperty("系统默认字段时编辑时字段编码")
|
private String modifyFieldCode;
|
@ApiModelProperty("字段类型,暂为: 1:输入框,2:数字输入框,3:多行文本,4:日期,5:单选,6:多选,7:下拉选择器,8:级联选择器")
|
private Integer fieldType;
|
@ApiModelProperty("类型特有json,前后端协定")
|
private String propertyJson;
|
|
public void setFieldId(final Long fieldId) {
|
this.fieldId = fieldId;
|
}
|
|
public void setFieldName(final String fieldName) {
|
this.fieldName = fieldName;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setRelationId(final Long relationId) {
|
this.relationId = relationId;
|
}
|
|
public void setSystemField(final Integer systemField) {
|
this.systemField = systemField;
|
}
|
|
public void setSysFieldMust(final Integer sysFieldMust) {
|
this.sysFieldMust = sysFieldMust;
|
}
|
|
public void setFieldCode(final String fieldCode) {
|
this.fieldCode = fieldCode;
|
}
|
|
public void setModifyFieldCode(final String modifyFieldCode) {
|
this.modifyFieldCode = modifyFieldCode;
|
}
|
|
public void setFieldType(final Integer fieldType) {
|
this.fieldType = fieldType;
|
}
|
|
public void setPropertyJson(final String propertyJson) {
|
this.propertyJson = propertyJson;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomFieldRelationInfoVO) {
|
CustomFieldRelationInfoVO other = (CustomFieldRelationInfoVO) 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$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$relationId = getRelationId();
|
Object other$relationId = other.getRelationId();
|
if (this$relationId == null) {
|
if (other$relationId != null) {
|
return false;
|
}
|
} else if (!this$relationId.equals(other$relationId)) {
|
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$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$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$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 CustomFieldRelationInfoVO;
|
}
|
|
public int hashCode() {
|
Object $fieldId = getFieldId();
|
int result = (1 * 59) + ($fieldId == null ? 43 : $fieldId.hashCode());
|
Object $sort = getSort();
|
int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $relationId = getRelationId();
|
int result3 = (result2 * 59) + ($relationId == null ? 43 : $relationId.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 $fieldType = getFieldType();
|
int result6 = (result5 * 59) + ($fieldType == null ? 43 : $fieldType.hashCode());
|
Object $fieldName = getFieldName();
|
int result7 = (result6 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
|
Object $fieldCode = getFieldCode();
|
int result8 = (result7 * 59) + ($fieldCode == null ? 43 : $fieldCode.hashCode());
|
Object $modifyFieldCode = getModifyFieldCode();
|
int result9 = (result8 * 59) + ($modifyFieldCode == null ? 43 : $modifyFieldCode.hashCode());
|
Object $propertyJson = getPropertyJson();
|
return (result9 * 59) + ($propertyJson == null ? 43 : $propertyJson.hashCode());
|
}
|
|
public String toString() {
|
return "CustomFieldRelationInfoVO(fieldId=" + getFieldId() + ", fieldName=" + getFieldName() + ", sort=" + getSort() + ", relationId=" + getRelationId() + ", systemField=" + getSystemField() + ", sysFieldMust=" + getSysFieldMust() + ", fieldCode=" + getFieldCode() + ", modifyFieldCode=" + getModifyFieldCode() + ", fieldType=" + getFieldType() + ", propertyJson=" + getPropertyJson() + ")";
|
}
|
|
public Long getFieldId() {
|
return this.fieldId;
|
}
|
|
public String getFieldName() {
|
return this.fieldName;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public Long getRelationId() {
|
return this.relationId;
|
}
|
|
public Integer getSystemField() {
|
return this.systemField;
|
}
|
|
public Integer getSysFieldMust() {
|
return this.sysFieldMust;
|
}
|
|
public String getFieldCode() {
|
return this.fieldCode;
|
}
|
|
public String getModifyFieldCode() {
|
return this.modifyFieldCode;
|
}
|
|
public Integer getFieldType() {
|
return this.fieldType;
|
}
|
|
public String getPropertyJson() {
|
return this.propertyJson;
|
}
|
}
|