package com.qianwen.smartman.modules.system.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomFieldValueVO.class */
|
public class CustomFieldValueVO {
|
@ApiModelProperty("字段Code 唯一标识")
|
private String fieldCode;
|
@ApiModelProperty("字段值")
|
private String value;
|
@ApiModelProperty("字段值列表 多个值时使用")
|
private List<String> values;
|
|
public void setFieldCode(final String fieldCode) {
|
this.fieldCode = fieldCode;
|
}
|
|
public void setValue(final String value) {
|
this.value = value;
|
}
|
|
public void setValues(final List<String> values) {
|
this.values = values;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomFieldValueVO) {
|
CustomFieldValueVO other = (CustomFieldValueVO) o;
|
if (other.canEqual(this)) {
|
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$value = getValue();
|
Object other$value = other.getValue();
|
if (this$value == null) {
|
if (other$value != null) {
|
return false;
|
}
|
} else if (!this$value.equals(other$value)) {
|
return false;
|
}
|
Object this$values = getValues();
|
Object other$values = other.getValues();
|
return this$values == null ? other$values == null : this$values.equals(other$values);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CustomFieldValueVO;
|
}
|
|
public int hashCode() {
|
Object $fieldCode = getFieldCode();
|
int result = (1 * 59) + ($fieldCode == null ? 43 : $fieldCode.hashCode());
|
Object $value = getValue();
|
int result2 = (result * 59) + ($value == null ? 43 : $value.hashCode());
|
Object $values = getValues();
|
return (result2 * 59) + ($values == null ? 43 : $values.hashCode());
|
}
|
|
public String toString() {
|
return "CustomFieldValueVO(fieldCode=" + getFieldCode() + ", value=" + getValue() + ", values=" + getValues() + ")";
|
}
|
|
public String getFieldCode() {
|
return this.fieldCode;
|
}
|
|
public String getValue() {
|
return this.value;
|
}
|
|
public List<String> getValues() {
|
return this.values;
|
}
|
}
|