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
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
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import com.qianwen.smartman.common.constant.CommonConstant;
import com.qianwen.core.tool.utils.Func;
 
@ApiModel(value = "CustomTemplateFieldListVO对象", description = "自定义字段查询列表")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomTemplateFieldListVO.class */
public class CustomTemplateFieldListVO implements Serializable {
    @ApiModelProperty("字段id")
    private Long fieldId;
    @ApiModelProperty("字段名")
    private String fieldName;
    @ApiModelProperty("描述提示文字")
    private String fieldDescription;
    @ApiModelProperty("默认值")
    private String defaultValue;
    @ApiModelProperty("是否支持编辑")
    private Integer supportUpdate;
    @ApiModelProperty("是否支持查询")
    private Integer supportQuery;
    @ApiModelProperty("是否是系统字段")
    private Integer systemField;
    @ApiModelProperty("系统字段是否初始必填")
    private Integer sysFieldMust;
    @ApiModelProperty("关系中是否必填")
    private Integer mustField;
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("配置类型")
    private Integer configType;
    private String supportUpdateLabel;
 
    public void setFieldId(final Long fieldId) {
        this.fieldId = fieldId;
    }
 
    public void setFieldName(final String fieldName) {
        this.fieldName = fieldName;
    }
 
    public void setFieldDescription(final String fieldDescription) {
        this.fieldDescription = fieldDescription;
    }
 
    public void setDefaultValue(final String defaultValue) {
        this.defaultValue = defaultValue;
    }
 
    public void setSupportUpdate(final Integer supportUpdate) {
        this.supportUpdate = supportUpdate;
    }
 
    public void setSupportQuery(final Integer supportQuery) {
        this.supportQuery = supportQuery;
    }
 
    public void setSystemField(final Integer systemField) {
        this.systemField = systemField;
    }
 
    public void setSysFieldMust(final Integer sysFieldMust) {
        this.sysFieldMust = sysFieldMust;
    }
 
    public void setMustField(final Integer mustField) {
        this.mustField = mustField;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setConfigType(final Integer configType) {
        this.configType = configType;
    }
 
    public void setSupportUpdateLabel(final String supportUpdateLabel) {
        this.supportUpdateLabel = supportUpdateLabel;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CustomTemplateFieldListVO) {
            CustomTemplateFieldListVO other = (CustomTemplateFieldListVO) o;
            if (other.canEqual(this)) {
                Object this$fieldId = getFieldId();
                Object other$fieldId = other.getFieldId();
                if (this$fieldId == null) {
                    if (other$fieldId != null) {
                        return false;
                    }
                } else if (!this$fieldId.equals(other$fieldId)) {
                    return false;
                }
                Object this$supportUpdate = getSupportUpdate();
                Object other$supportUpdate = other.getSupportUpdate();
                if (this$supportUpdate == null) {
                    if (other$supportUpdate != null) {
                        return false;
                    }
                } else if (!this$supportUpdate.equals(other$supportUpdate)) {
                    return false;
                }
                Object this$supportQuery = getSupportQuery();
                Object other$supportQuery = other.getSupportQuery();
                if (this$supportQuery == null) {
                    if (other$supportQuery != null) {
                        return false;
                    }
                } else if (!this$supportQuery.equals(other$supportQuery)) {
                    return false;
                }
                Object this$systemField = getSystemField();
                Object other$systemField = other.getSystemField();
                if (this$systemField == null) {
                    if (other$systemField != null) {
                        return false;
                    }
                } else if (!this$systemField.equals(other$systemField)) {
                    return false;
                }
                Object this$sysFieldMust = getSysFieldMust();
                Object other$sysFieldMust = other.getSysFieldMust();
                if (this$sysFieldMust == null) {
                    if (other$sysFieldMust != null) {
                        return false;
                    }
                } else if (!this$sysFieldMust.equals(other$sysFieldMust)) {
                    return false;
                }
                Object this$mustField = getMustField();
                Object other$mustField = other.getMustField();
                if (this$mustField == null) {
                    if (other$mustField != null) {
                        return false;
                    }
                } else if (!this$mustField.equals(other$mustField)) {
                    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$configType = getConfigType();
                Object other$configType = other.getConfigType();
                if (this$configType == null) {
                    if (other$configType != null) {
                        return false;
                    }
                } else if (!this$configType.equals(other$configType)) {
                    return false;
                }
                Object this$fieldName = getFieldName();
                Object other$fieldName = other.getFieldName();
                if (this$fieldName == null) {
                    if (other$fieldName != null) {
                        return false;
                    }
                } else if (!this$fieldName.equals(other$fieldName)) {
                    return false;
                }
                Object this$fieldDescription = getFieldDescription();
                Object other$fieldDescription = other.getFieldDescription();
                if (this$fieldDescription == null) {
                    if (other$fieldDescription != null) {
                        return false;
                    }
                } else if (!this$fieldDescription.equals(other$fieldDescription)) {
                    return false;
                }
                Object this$defaultValue = getDefaultValue();
                Object other$defaultValue = other.getDefaultValue();
                if (this$defaultValue == null) {
                    if (other$defaultValue != null) {
                        return false;
                    }
                } else if (!this$defaultValue.equals(other$defaultValue)) {
                    return false;
                }
                Object this$supportUpdateLabel = getSupportUpdateLabel();
                Object other$supportUpdateLabel = other.getSupportUpdateLabel();
                return this$supportUpdateLabel == null ? other$supportUpdateLabel == null : this$supportUpdateLabel.equals(other$supportUpdateLabel);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CustomTemplateFieldListVO;
    }
 
    public int hashCode() {
        Object $fieldId = getFieldId();
        int result = (1 * 59) + ($fieldId == null ? 43 : $fieldId.hashCode());
        Object $supportUpdate = getSupportUpdate();
        int result2 = (result * 59) + ($supportUpdate == null ? 43 : $supportUpdate.hashCode());
        Object $supportQuery = getSupportQuery();
        int result3 = (result2 * 59) + ($supportQuery == null ? 43 : $supportQuery.hashCode());
        Object $systemField = getSystemField();
        int result4 = (result3 * 59) + ($systemField == null ? 43 : $systemField.hashCode());
        Object $sysFieldMust = getSysFieldMust();
        int result5 = (result4 * 59) + ($sysFieldMust == null ? 43 : $sysFieldMust.hashCode());
        Object $mustField = getMustField();
        int result6 = (result5 * 59) + ($mustField == null ? 43 : $mustField.hashCode());
        Object $id = getId();
        int result7 = (result6 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $configType = getConfigType();
        int result8 = (result7 * 59) + ($configType == null ? 43 : $configType.hashCode());
        Object $fieldName = getFieldName();
        int result9 = (result8 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
        Object $fieldDescription = getFieldDescription();
        int result10 = (result9 * 59) + ($fieldDescription == null ? 43 : $fieldDescription.hashCode());
        Object $defaultValue = getDefaultValue();
        int result11 = (result10 * 59) + ($defaultValue == null ? 43 : $defaultValue.hashCode());
        Object $supportUpdateLabel = getSupportUpdateLabel();
        return (result11 * 59) + ($supportUpdateLabel == null ? 43 : $supportUpdateLabel.hashCode());
    }
 
    public String toString() {
        return "CustomTemplateFieldListVO(fieldId=" + getFieldId() + ", fieldName=" + getFieldName() + ", fieldDescription=" + getFieldDescription() + ", defaultValue=" + getDefaultValue() + ", supportUpdate=" + getSupportUpdate() + ", supportQuery=" + getSupportQuery() + ", systemField=" + getSystemField() + ", sysFieldMust=" + getSysFieldMust() + ", mustField=" + getMustField() + ", id=" + getId() + ", configType=" + getConfigType() + ", supportUpdateLabel=" + getSupportUpdateLabel() + ")";
    }
 
    public Long getFieldId() {
        return this.fieldId;
    }
 
    public String getFieldName() {
        return this.fieldName;
    }
 
    public String getFieldDescription() {
        return this.fieldDescription;
    }
 
    public String getDefaultValue() {
        return this.defaultValue;
    }
 
    public Integer getSupportUpdate() {
        return this.supportUpdate;
    }
 
    public Integer getSupportQuery() {
        return this.supportQuery;
    }
 
    public Integer getSystemField() {
        return this.systemField;
    }
 
    public Integer getSysFieldMust() {
        return this.sysFieldMust;
    }
 
    public Integer getMustField() {
        return this.mustField;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Integer getConfigType() {
        return this.configType;
    }
 
    public String getSupportUpdateLabel() {
        if (Func.isNotEmpty(this.supportUpdate)) {
            return Func.equals(this.supportUpdate, CommonConstant.ENABLE) ? "是" : "否";
        }
        return null;
    }
}