yangys
2024-10-30 c27b939fa5fa6ce4d712f7e9ced2ad811d69d5ec
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
@ApiModel(description = "积木报表树结构")
public class JimuTreeVO implements Serializable {
    @ApiModelProperty("标识id")
    private String id;
    @ApiModelProperty("下拉树显示的文本值")
    private String title;
    @ApiModelProperty("实际查询用到的值")
    private String value;
    @ApiModelProperty("父节点的标识,和id一起标识上下级关系")
    private String pid;
    @ApiModelProperty("是否禁用勾选")
    private boolean disabled;
 
    
    public static class JimuTreeVOBuilder {
        private String id;
        private String title;
        private String value;
        private String pid;
        private boolean disabled;
 
        JimuTreeVOBuilder() {
        }
 
        public JimuTreeVOBuilder id(final String id) {
            this.id = id;
            return this;
        }
 
        public JimuTreeVOBuilder title(final String title) {
            this.title = title;
            return this;
        }
 
        public JimuTreeVOBuilder value(final String value) {
            this.value = value;
            return this;
        }
 
        public JimuTreeVOBuilder pid(final String pid) {
            this.pid = pid;
            return this;
        }
 
        public JimuTreeVOBuilder disabled(final boolean disabled) {
            this.disabled = disabled;
            return this;
        }
 
        public JimuTreeVO build() {
            return new JimuTreeVO(this.id, this.title, this.value, this.pid, this.disabled);
        }
 
        public String toString() {
            return "JimuTreeVO.JimuTreeVOBuilder(id=" + this.id + ", title=" + this.title + ", value=" + this.value + ", pid=" + this.pid + ", disabled=" + this.disabled + ")";
        }
    }
 
    public void setId(final String id) {
        this.id = id;
    }
 
    public void setTitle(final String title) {
        this.title = title;
    }
 
    public void setValue(final String value) {
        this.value = value;
    }
 
    public void setPid(final String pid) {
        this.pid = pid;
    }
 
    public void setDisabled(final boolean disabled) {
        this.disabled = disabled;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof JimuTreeVO) {
            JimuTreeVO other = (JimuTreeVO) o;
            if (other.canEqual(this) && isDisabled() == other.isDisabled()) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$title = getTitle();
                Object other$title = other.getTitle();
                if (this$title == null) {
                    if (other$title != null) {
                        return false;
                    }
                } else if (!this$title.equals(other$title)) {
                    return false;
                }
                Object this$value = getValue();
                Object other$value = other.getValue();
                if (this$value == null) {
                    if (other$value != null) {
                        return false;
                    }
                } else if (!this$value.equals(other$value)) {
                    return false;
                }
                Object this$pid = getPid();
                Object other$pid = other.getPid();
                return this$pid == null ? other$pid == null : this$pid.equals(other$pid);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof JimuTreeVO;
    }
 
    public int hashCode() {
        int result = (1 * 59) + (isDisabled() ? 79 : 97);
        Object $id = getId();
        int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
        Object $title = getTitle();
        int result3 = (result2 * 59) + ($title == null ? 43 : $title.hashCode());
        Object $value = getValue();
        int result4 = (result3 * 59) + ($value == null ? 43 : $value.hashCode());
        Object $pid = getPid();
        return (result4 * 59) + ($pid == null ? 43 : $pid.hashCode());
    }
 
    public String toString() {
        return "JimuTreeVO(id=" + getId() + ", title=" + getTitle() + ", value=" + getValue() + ", pid=" + getPid() + ", disabled=" + isDisabled() + ")";
    }
 
    public static JimuTreeVOBuilder builder() {
        return new JimuTreeVOBuilder();
    }
 
    public JimuTreeVO() {
        this.disabled = false;
    }
 
    public JimuTreeVO(final String id, final String title, final String value, final String pid, final boolean disabled) {
        this.disabled = false;
        this.id = id;
        this.title = title;
        this.value = value;
        this.pid = pid;
        this.disabled = disabled;
    }
 
    public String getId() {
        return this.id;
    }
 
    public String getTitle() {
        return this.title;
    }
 
    public String getValue() {
        return this.value;
    }
 
    public String getPid() {
        return this.pid;
    }
 
    public boolean isDisabled() {
        return this.disabled;
    }
}