yangys
2024-03-31 53c8d3e3bd3596132b362f20e52aef380d493a84
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
 
@ApiModel(value = "InterfaceConfigFieldVo对象", description = "接口字段表")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/InterfaceConfigFieldVO.class */
public class InterfaceConfigFieldVO implements Serializable {
    @ApiModelProperty("接口配置id")
    private Long configId;
    @NotBlank(message = "字段名称不能为空")
    @ApiModelProperty("字段名称")
    @Size(max = 255, message = "字段名称长度不能超过255")
    private String name;
    @NotBlank(message = "字段描述不能为空")
    @ApiModelProperty("字段描述")
    @Size(max = 255, message = "字段描述长度不能超过255")
    private String label;
    @ApiModelProperty("是否必填: 0 - 不必填; 1 - 必填")
    private Boolean isRequired;
    @ApiModelProperty("0-文本;1-数值;2-下拉;3-日期; 4-树选择")
    private Integer dataType;
    @ApiModelProperty("当数据类型是下拉,树选择的时候指定数据源的地址。用于获取这些选项的数据。")
    @Size(max = 255, message = "当数据类型是下拉,树选择的时候指定数据源的地址。用于获取这些选项的数据。长度不能超过255")
    private String dataSource;
    @ApiModelProperty("当下拉选择的时候指定是否单选:- 0 多选; 1 - 单选")
    private Boolean isSingleChoice;
    private Long id;
    @ApiModelProperty("业务状态")
    private Integer status;
    @ApiModelProperty("父节点是否可选中")
    private Boolean checkedParent;
    @ApiModelProperty("依赖字段")
    private String relationField;
    @ApiModelProperty("依赖字段的名称")
    private List<String> relationFieldNames;
    @ApiModelProperty("请求方法")
    private String method;
 
    public void setConfigId(final Long configId) {
        this.configId = configId;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setLabel(final String label) {
        this.label = label;
    }
 
    public void setIsRequired(final Boolean isRequired) {
        this.isRequired = isRequired;
    }
 
    public void setDataType(final Integer dataType) {
        this.dataType = dataType;
    }
 
    public void setDataSource(final String dataSource) {
        this.dataSource = dataSource;
    }
 
    public void setIsSingleChoice(final Boolean isSingleChoice) {
        this.isSingleChoice = isSingleChoice;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public void setCheckedParent(final Boolean checkedParent) {
        this.checkedParent = checkedParent;
    }
 
    public void setRelationField(final String relationField) {
        this.relationField = relationField;
    }
 
    public void setRelationFieldNames(final List<String> relationFieldNames) {
        this.relationFieldNames = relationFieldNames;
    }
 
    public void setMethod(final String method) {
        this.method = method;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof InterfaceConfigFieldVO) {
            InterfaceConfigFieldVO other = (InterfaceConfigFieldVO) o;
            if (other.canEqual(this)) {
                Object this$configId = getConfigId();
                Object other$configId = other.getConfigId();
                if (this$configId == null) {
                    if (other$configId != null) {
                        return false;
                    }
                } else if (!this$configId.equals(other$configId)) {
                    return false;
                }
                Object this$isRequired = getIsRequired();
                Object other$isRequired = other.getIsRequired();
                if (this$isRequired == null) {
                    if (other$isRequired != null) {
                        return false;
                    }
                } else if (!this$isRequired.equals(other$isRequired)) {
                    return false;
                }
                Object this$dataType = getDataType();
                Object other$dataType = other.getDataType();
                if (this$dataType == null) {
                    if (other$dataType != null) {
                        return false;
                    }
                } else if (!this$dataType.equals(other$dataType)) {
                    return false;
                }
                Object this$isSingleChoice = getIsSingleChoice();
                Object other$isSingleChoice = other.getIsSingleChoice();
                if (this$isSingleChoice == null) {
                    if (other$isSingleChoice != null) {
                        return false;
                    }
                } else if (!this$isSingleChoice.equals(other$isSingleChoice)) {
                    return false;
                }
                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$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    return false;
                }
                Object this$checkedParent = getCheckedParent();
                Object other$checkedParent = other.getCheckedParent();
                if (this$checkedParent == null) {
                    if (other$checkedParent != null) {
                        return false;
                    }
                } else if (!this$checkedParent.equals(other$checkedParent)) {
                    return false;
                }
                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$label = getLabel();
                Object other$label = other.getLabel();
                if (this$label == null) {
                    if (other$label != null) {
                        return false;
                    }
                } else if (!this$label.equals(other$label)) {
                    return false;
                }
                Object this$dataSource = getDataSource();
                Object other$dataSource = other.getDataSource();
                if (this$dataSource == null) {
                    if (other$dataSource != null) {
                        return false;
                    }
                } else if (!this$dataSource.equals(other$dataSource)) {
                    return false;
                }
                Object this$relationField = getRelationField();
                Object other$relationField = other.getRelationField();
                if (this$relationField == null) {
                    if (other$relationField != null) {
                        return false;
                    }
                } else if (!this$relationField.equals(other$relationField)) {
                    return false;
                }
                Object this$relationFieldNames = getRelationFieldNames();
                Object other$relationFieldNames = other.getRelationFieldNames();
                if (this$relationFieldNames == null) {
                    if (other$relationFieldNames != null) {
                        return false;
                    }
                } else if (!this$relationFieldNames.equals(other$relationFieldNames)) {
                    return false;
                }
                Object this$method = getMethod();
                Object other$method = other.getMethod();
                return this$method == null ? other$method == null : this$method.equals(other$method);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof InterfaceConfigFieldVO;
    }
 
    public int hashCode() {
        Object $configId = getConfigId();
        int result = (1 * 59) + ($configId == null ? 43 : $configId.hashCode());
        Object $isRequired = getIsRequired();
        int result2 = (result * 59) + ($isRequired == null ? 43 : $isRequired.hashCode());
        Object $dataType = getDataType();
        int result3 = (result2 * 59) + ($dataType == null ? 43 : $dataType.hashCode());
        Object $isSingleChoice = getIsSingleChoice();
        int result4 = (result3 * 59) + ($isSingleChoice == null ? 43 : $isSingleChoice.hashCode());
        Object $id = getId();
        int result5 = (result4 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $status = getStatus();
        int result6 = (result5 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $checkedParent = getCheckedParent();
        int result7 = (result6 * 59) + ($checkedParent == null ? 43 : $checkedParent.hashCode());
        Object $name = getName();
        int result8 = (result7 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $label = getLabel();
        int result9 = (result8 * 59) + ($label == null ? 43 : $label.hashCode());
        Object $dataSource = getDataSource();
        int result10 = (result9 * 59) + ($dataSource == null ? 43 : $dataSource.hashCode());
        Object $relationField = getRelationField();
        int result11 = (result10 * 59) + ($relationField == null ? 43 : $relationField.hashCode());
        Object $relationFieldNames = getRelationFieldNames();
        int result12 = (result11 * 59) + ($relationFieldNames == null ? 43 : $relationFieldNames.hashCode());
        Object $method = getMethod();
        return (result12 * 59) + ($method == null ? 43 : $method.hashCode());
    }
 
    public String toString() {
        return "InterfaceConfigFieldVO(configId=" + getConfigId() + ", name=" + getName() + ", label=" + getLabel() + ", isRequired=" + getIsRequired() + ", dataType=" + getDataType() + ", dataSource=" + getDataSource() + ", isSingleChoice=" + getIsSingleChoice() + ", id=" + getId() + ", status=" + getStatus() + ", checkedParent=" + getCheckedParent() + ", relationField=" + getRelationField() + ", relationFieldNames=" + getRelationFieldNames() + ", method=" + getMethod() + ")";
    }
 
    public Long getConfigId() {
        return this.configId;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getLabel() {
        return this.label;
    }
 
    public Boolean getIsRequired() {
        return this.isRequired;
    }
 
    public Integer getDataType() {
        return this.dataType;
    }
 
    public String getDataSource() {
        return this.dataSource;
    }
 
    public Boolean getIsSingleChoice() {
        return this.isSingleChoice;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public Boolean getCheckedParent() {
        return this.checkedParent;
    }
 
    public String getRelationField() {
        return this.relationField;
    }
 
    public List<String> getRelationFieldNames() {
        return this.relationFieldNames;
    }
 
    public String getMethod() {
        return this.method;
    }
}