yangys
2024-11-02 f69073b835f1a0c66590130e1830edcdd75ebb8a
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package com.qianwen.smartman.modules.smis.vo;
 
import java.io.Serializable;
import java.util.List;
 
public class SearchVO implements Serializable {
    private static final long serialVersionUID = -7880879740300167668L;
    private List<KV> params;
 
    public void setParams(final List<KV> params) {
        this.params = params;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof SearchVO) {
            SearchVO other = (SearchVO) o;
            if (other.canEqual(this)) {
                Object this$params = getParams();
                Object other$params = other.getParams();
                return this$params == null ? other$params == null : this$params.equals(other$params);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof SearchVO;
    }
 
    public int hashCode() {
        Object $params = getParams();
        int result = (1 * 59) + ($params == null ? 43 : $params.hashCode());
        return result;
    }
 
    public String toString() {
        return "SearchVO(params=" + getParams() + ")";
    }
 
    public List<KV> getParams() {
        return this.params;
    }
 
    
    public static class KV {
        private String key;
        private String value;
 
        public void setKey(final String key) {
            this.key = key;
        }
 
        public void setValue(final String value) {
            this.value = value;
        }
 
        public boolean equals(final Object o) {
            if (o == this) {
                return true;
            }
            if (o instanceof KV) {
                KV other = (KV) o;
                if (other.canEqual(this)) {
                    Object this$key = getKey();
                    Object other$key = other.getKey();
                    if (this$key == null) {
                        if (other$key != null) {
                            return false;
                        }
                    } else if (!this$key.equals(other$key)) {
                        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 KV;
        }
 
        public int hashCode() {
            Object $key = getKey();
            int result = (1 * 59) + ($key == null ? 43 : $key.hashCode());
            Object $value = getValue();
            return (result * 59) + ($value == null ? 43 : $value.hashCode());
        }
 
        public String toString() {
            return "SearchVO.KV(key=" + getKey() + ", value=" + getValue() + ")";
        }
 
        public String getKey() {
            return this.key;
        }
 
        public String getValue() {
            return this.value;
        }
    }
}