yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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;
    }
}