package com.qianwen.smartman.modules.system.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import javax.validation.constraints.Size;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomTemplateFieldUpdateVO.class */
|
public class CustomTemplateFieldUpdateVO {
|
@ApiModelProperty("主键id")
|
private Long id;
|
@ApiModelProperty("字段名")
|
@Size(max = 32, message = "字段名长度不能超过32")
|
private String fieldName;
|
@ApiModelProperty("描述提示文字")
|
@Size(max = 255, message = "描述提示文字长度不能超过255")
|
private String fieldDescription;
|
@ApiModelProperty("业务类型 1:计划工单,2:产品")
|
private Integer businessType;
|
@ApiModelProperty("字段类型,暂为: 1:输入框,2:数字输入框,3:多行文本,4:日期,5:单选,6:多选,7:下拉选择器,8:级联选择器,9:业务字段-人员,10:系统默认")
|
private Integer fieldType;
|
@ApiModelProperty("是否是系统字段")
|
private Integer systemField;
|
@ApiModelProperty("是否编辑页展示")
|
private Integer updateShow;
|
@ApiModelProperty("是否查看页展示")
|
private Integer viewShow;
|
@ApiModelProperty("是否支持编辑")
|
private Integer supportUpdate;
|
@ApiModelProperty("是否支持查询")
|
private Integer supportQuery;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setFieldName(final String fieldName) {
|
this.fieldName = fieldName;
|
}
|
|
public void setFieldDescription(final String fieldDescription) {
|
this.fieldDescription = fieldDescription;
|
}
|
|
public void setBusinessType(final Integer businessType) {
|
this.businessType = businessType;
|
}
|
|
public void setFieldType(final Integer fieldType) {
|
this.fieldType = fieldType;
|
}
|
|
public void setSystemField(final Integer systemField) {
|
this.systemField = systemField;
|
}
|
|
public void setUpdateShow(final Integer updateShow) {
|
this.updateShow = updateShow;
|
}
|
|
public void setViewShow(final Integer viewShow) {
|
this.viewShow = viewShow;
|
}
|
|
public void setSupportUpdate(final Integer supportUpdate) {
|
this.supportUpdate = supportUpdate;
|
}
|
|
public void setSupportQuery(final Integer supportQuery) {
|
this.supportQuery = supportQuery;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomTemplateFieldUpdateVO) {
|
CustomTemplateFieldUpdateVO other = (CustomTemplateFieldUpdateVO) 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$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$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$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$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$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();
|
return this$fieldDescription == null ? other$fieldDescription == null : this$fieldDescription.equals(other$fieldDescription);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CustomTemplateFieldUpdateVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $businessType = getBusinessType();
|
int result2 = (result * 59) + ($businessType == null ? 43 : $businessType.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 $updateShow = getUpdateShow();
|
int result5 = (result4 * 59) + ($updateShow == null ? 43 : $updateShow.hashCode());
|
Object $viewShow = getViewShow();
|
int result6 = (result5 * 59) + ($viewShow == null ? 43 : $viewShow.hashCode());
|
Object $supportUpdate = getSupportUpdate();
|
int result7 = (result6 * 59) + ($supportUpdate == null ? 43 : $supportUpdate.hashCode());
|
Object $supportQuery = getSupportQuery();
|
int result8 = (result7 * 59) + ($supportQuery == null ? 43 : $supportQuery.hashCode());
|
Object $fieldName = getFieldName();
|
int result9 = (result8 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
|
Object $fieldDescription = getFieldDescription();
|
return (result9 * 59) + ($fieldDescription == null ? 43 : $fieldDescription.hashCode());
|
}
|
|
public String toString() {
|
return "CustomTemplateFieldUpdateVO(id=" + getId() + ", fieldName=" + getFieldName() + ", fieldDescription=" + getFieldDescription() + ", businessType=" + getBusinessType() + ", fieldType=" + getFieldType() + ", systemField=" + getSystemField() + ", updateShow=" + getUpdateShow() + ", viewShow=" + getViewShow() + ", supportUpdate=" + getSupportUpdate() + ", supportQuery=" + getSupportQuery() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getFieldName() {
|
return this.fieldName;
|
}
|
|
public String getFieldDescription() {
|
return this.fieldDescription;
|
}
|
|
public Integer getBusinessType() {
|
return this.businessType;
|
}
|
|
public Integer getFieldType() {
|
return this.fieldType;
|
}
|
|
public Integer getSystemField() {
|
return this.systemField;
|
}
|
|
public Integer getUpdateShow() {
|
return this.updateShow;
|
}
|
|
public Integer getViewShow() {
|
return this.viewShow;
|
}
|
|
public Integer getSupportUpdate() {
|
return this.supportUpdate;
|
}
|
|
public Integer getSupportQuery() {
|
return this.supportQuery;
|
}
|
}
|