package com.qianwen.smartman.modules.system.vo;
|
|
import java.util.LinkedHashMap;
|
import java.util.List;
|
import java.util.Map;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/ChartDataTableVO.class */
|
public class ChartDataTableVO {
|
private Map<String, Object> header = new LinkedHashMap();
|
private List<ICard> data;
|
|
public ChartDataTableVO setHeader(final Map<String, Object> header) {
|
this.header = header;
|
return this;
|
}
|
|
public ChartDataTableVO setData(final List<ICard> data) {
|
this.data = data;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ChartDataTableVO) {
|
ChartDataTableVO other = (ChartDataTableVO) o;
|
if (other.canEqual(this)) {
|
Object this$header = getHeader();
|
Object other$header = other.getHeader();
|
if (this$header == null) {
|
if (other$header != null) {
|
return false;
|
}
|
} else if (!this$header.equals(other$header)) {
|
return false;
|
}
|
Object this$data = getData();
|
Object other$data = other.getData();
|
return this$data == null ? other$data == null : this$data.equals(other$data);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ChartDataTableVO;
|
}
|
|
public int hashCode() {
|
Object $header = getHeader();
|
int result = (1 * 59) + ($header == null ? 43 : $header.hashCode());
|
Object $data = getData();
|
return (result * 59) + ($data == null ? 43 : $data.hashCode());
|
}
|
|
public String toString() {
|
return "ChartDataTableVO(header=" + getHeader() + ", data=" + getData() + ")";
|
}
|
|
public Map<String, Object> getHeader() {
|
return this.header;
|
}
|
|
public List<ICard> getData() {
|
return this.data;
|
}
|
|
public ChartDataTableVO addHeader(String name, String label) {
|
this.header.put(name, label);
|
return this;
|
}
|
}
|