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
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
package com.qianwen.smartman.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "InterfaceConfigField对象", description = "接口字段表")
@TableName("blade_interface_config_field")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/InterfaceConfigField.class */
public class InterfaceConfigField extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("接口配置id")
    private Long configId;
    @ApiModelProperty("字段名称")
    private String name;
    @ApiModelProperty("字段描述")
    private String label;
    @ApiModelProperty("是否必填: 0 - 不必填; 1 - 必填")
    private Boolean isRequired;
    @ApiModelProperty("0-文本;1-数值;2-下拉;3-日期; 4-树选择")
    private Integer dataType;
    @ApiModelProperty("当数据类型是下拉,树选择的时候指定数据源的地址。用于获取这些选项的数据。")
    private String dataSource;
    @ApiModelProperty("当下拉选择的时候指定是否单选:- 0 多选; 1 - 单选")
    private Boolean isSingleChoice;
    @ApiModelProperty("父节点是否可选中")
    private Boolean checkedParent;
    @ApiModelProperty("依赖字段")
    private String relationField;
    @ApiModelProperty("请求方法")
    private String method;
 
    public InterfaceConfigField setConfigId(final Long configId) {
        this.configId = configId;
        return this;
    }
 
    public InterfaceConfigField setName(final String name) {
        this.name = name;
        return this;
    }
 
    public InterfaceConfigField setLabel(final String label) {
        this.label = label;
        return this;
    }
 
    public InterfaceConfigField setIsRequired(final Boolean isRequired) {
        this.isRequired = isRequired;
        return this;
    }
 
    public InterfaceConfigField setDataType(final Integer dataType) {
        this.dataType = dataType;
        return this;
    }
 
    public InterfaceConfigField setDataSource(final String dataSource) {
        this.dataSource = dataSource;
        return this;
    }
 
    public InterfaceConfigField setIsSingleChoice(final Boolean isSingleChoice) {
        this.isSingleChoice = isSingleChoice;
        return this;
    }
 
    public InterfaceConfigField setCheckedParent(final Boolean checkedParent) {
        this.checkedParent = checkedParent;
        return this;
    }
 
    public InterfaceConfigField setRelationField(final String relationField) {
        this.relationField = relationField;
        return this;
    }
 
    public InterfaceConfigField setMethod(final String method) {
        this.method = method;
        return this;
    }
 
    public String toString() {
        return "InterfaceConfigField(configId=" + getConfigId() + ", name=" + getName() + ", label=" + getLabel() + ", isRequired=" + getIsRequired() + ", dataType=" + getDataType() + ", dataSource=" + getDataSource() + ", isSingleChoice=" + getIsSingleChoice() + ", checkedParent=" + getCheckedParent() + ", relationField=" + getRelationField() + ", method=" + getMethod() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof InterfaceConfigField) {
            InterfaceConfigField other = (InterfaceConfigField) o;
            if (other.canEqual(this) && super.equals(o)) {
                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$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$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 InterfaceConfigField;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $configId = getConfigId();
        int result2 = (result * 59) + ($configId == null ? 43 : $configId.hashCode());
        Object $isRequired = getIsRequired();
        int result3 = (result2 * 59) + ($isRequired == null ? 43 : $isRequired.hashCode());
        Object $dataType = getDataType();
        int result4 = (result3 * 59) + ($dataType == null ? 43 : $dataType.hashCode());
        Object $isSingleChoice = getIsSingleChoice();
        int result5 = (result4 * 59) + ($isSingleChoice == null ? 43 : $isSingleChoice.hashCode());
        Object $checkedParent = getCheckedParent();
        int result6 = (result5 * 59) + ($checkedParent == null ? 43 : $checkedParent.hashCode());
        Object $name = getName();
        int result7 = (result6 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $label = getLabel();
        int result8 = (result7 * 59) + ($label == null ? 43 : $label.hashCode());
        Object $dataSource = getDataSource();
        int result9 = (result8 * 59) + ($dataSource == null ? 43 : $dataSource.hashCode());
        Object $relationField = getRelationField();
        int result10 = (result9 * 59) + ($relationField == null ? 43 : $relationField.hashCode());
        Object $method = getMethod();
        return (result10 * 59) + ($method == null ? 43 : $method.hashCode());
    }
 
    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 Boolean getCheckedParent() {
        return this.checkedParent;
    }
 
    public String getRelationField() {
        return this.relationField;
    }
 
    public String getMethod() {
        return this.method;
    }
}