package com.qianwen.smartman.modules.mdc.vo;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/ChartDataVO.class */
|
public class ChartDataVO<T> {
|
private String name;
|
private T value;
|
|
public ChartDataVO<T> setName(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public ChartDataVO<T> setValue(final T value) {
|
this.value = value;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ChartDataVO) {
|
ChartDataVO<?> other = (ChartDataVO) o;
|
if (other.canEqual(this)) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$value = getValue();
|
Object other$value = other.getValue();
|
return this$value == null ? other$value == null : this$value.equals(other$value);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ChartDataVO;
|
}
|
|
public int hashCode() {
|
Object $name = getName();
|
int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $value = getValue();
|
return (result * 59) + ($value == null ? 43 : $value.hashCode());
|
}
|
|
public String toString() {
|
return "ChartDataVO(name=" + getName() + ", value=" + getValue() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public T getValue() {
|
return this.value;
|
}
|
}
|