package com.qianwen.core.coderule.dto;
|
|
/* loaded from: blade-starter-coderule-9.3.0.0-SNAPSHOT.jar:org/springblade/core/coderule/dto/DropDownDTO.class */
|
public class DropDownDTO {
|
private String code;
|
private String dictKey;
|
private String dictValue;
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setDictKey(final String dictKey) {
|
this.dictKey = dictKey;
|
}
|
|
public void setDictValue(final String dictValue) {
|
this.dictValue = dictValue;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DropDownDTO) {
|
DropDownDTO other = (DropDownDTO) o;
|
if (other.canEqual(this)) {
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$dictKey = getDictKey();
|
Object other$dictKey = other.getDictKey();
|
if (this$dictKey == null) {
|
if (other$dictKey != null) {
|
return false;
|
}
|
} else if (!this$dictKey.equals(other$dictKey)) {
|
return false;
|
}
|
Object this$dictValue = getDictValue();
|
Object other$dictValue = other.getDictValue();
|
return this$dictValue == null ? other$dictValue == null : this$dictValue.equals(other$dictValue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DropDownDTO;
|
}
|
|
public int hashCode() {
|
Object $code = getCode();
|
int result = (1 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $dictKey = getDictKey();
|
int result2 = (result * 59) + ($dictKey == null ? 43 : $dictKey.hashCode());
|
Object $dictValue = getDictValue();
|
return (result2 * 59) + ($dictValue == null ? 43 : $dictValue.hashCode());
|
}
|
|
public String toString() {
|
return "DropDownDTO(code=" + getCode() + ", dictKey=" + getDictKey() + ", dictValue=" + getDictValue() + ")";
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getDictKey() {
|
return this.dictKey;
|
}
|
|
public String getDictValue() {
|
return this.dictValue;
|
}
|
}
|