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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.Size;
 
@ApiModel(value = "CustomTemplateFieldVo对象", description = "自定义字段表")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomTemplateFieldVO.class */
public class CustomTemplateFieldVO implements Serializable {
    @ApiModelProperty("所属租户")
    private String tenantId;
    @ApiModelProperty("字段名")
    @Size(max = 32, message = "字段名长度不能超过32")
    private String fieldName;
    @ApiModelProperty("系统默认字段时编辑时字段编码")
    private String modifyFieldCode;
    @ApiModelProperty("系统默认字段时查询字段编码")
    private String queryFieldCode;
    @ApiModelProperty("字段编码")
    private String fieldCode;
    @ApiModelProperty("描述提示文字")
    @Size(max = 255, message = "描述提示文字长度不能超过255")
    private String fieldDescription;
    @ApiModelProperty("字段类型,暂为: 1:输入框,2:数字输入框,3:多行文本,4:日期,5:单选,6:多选,7:下拉选择器,8:级联选择器,9:业务字段-人员,10:系统默认")
    private Integer fieldType;
    @ApiModelProperty("默认值")
    @Size(max = 255, message = "默认值长度不能超过255")
    private String defaultValue;
    @ApiModelProperty("类型特有json,前后端协定")
    @Size(max = 65535, message = "类型特有json,前后端协定长度不能超过65535")
    private String propertyJson;
    @ApiModelProperty("是否编辑页展示")
    private Integer updateShow;
    @ApiModelProperty("是否查看页展示")
    private Integer viewShow;
    @ApiModelProperty("是否支持编辑")
    private Integer supportUpdate;
    @ApiModelProperty("是否支持查询")
    private Integer supportQuery;
    @ApiModelProperty("是否是系统字段")
    private Integer systemField;
    @ApiModelProperty("系统字段是否初始必填")
    private Integer sysFieldMust;
    @ApiModelProperty("业务类型 1:计划工单,2:产品")
    private Integer businessType;
    private Long id;
    @ApiModelProperty("状态: 1为启动,0为停用")
    private Integer status;
    @ApiModelProperty("字段类型源数据")
    private String fieldTypeLabel;
    @ApiModelProperty("是/否基础字段源数据")
    private String systemFieldLabel;
    @ApiModelProperty("是否支持导出")
    private Integer supportExport;
    @ApiModelProperty("导入是否必填")
    private Integer mustImport;
 
    public void setTenantId(final String tenantId) {
        this.tenantId = tenantId;
    }
 
    public void setFieldName(final String fieldName) {
        this.fieldName = fieldName;
    }
 
    public void setModifyFieldCode(final String modifyFieldCode) {
        this.modifyFieldCode = modifyFieldCode;
    }
 
    public void setQueryFieldCode(final String queryFieldCode) {
        this.queryFieldCode = queryFieldCode;
    }
 
    public void setFieldCode(final String fieldCode) {
        this.fieldCode = fieldCode;
    }
 
    public void setFieldDescription(final String fieldDescription) {
        this.fieldDescription = fieldDescription;
    }
 
    public void setFieldType(final Integer fieldType) {
        this.fieldType = fieldType;
    }
 
    public void setDefaultValue(final String defaultValue) {
        this.defaultValue = defaultValue;
    }
 
    public void setPropertyJson(final String propertyJson) {
        this.propertyJson = propertyJson;
    }
 
    public void setUpdateShow(final Integer updateShow) {
        this.updateShow = updateShow;
    }
 
    public void setViewShow(final Integer viewShow) {
        this.viewShow = viewShow;
    }
 
    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 setBusinessType(final Integer businessType) {
        this.businessType = businessType;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public void setFieldTypeLabel(final String fieldTypeLabel) {
        this.fieldTypeLabel = fieldTypeLabel;
    }
 
    public void setSystemFieldLabel(final String systemFieldLabel) {
        this.systemFieldLabel = systemFieldLabel;
    }
 
    public void setSupportExport(final Integer supportExport) {
        this.supportExport = supportExport;
    }
 
    public void setMustImport(final Integer mustImport) {
        this.mustImport = mustImport;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CustomTemplateFieldVO) {
            CustomTemplateFieldVO other = (CustomTemplateFieldVO) o;
            if (other.canEqual(this)) {
                Object this$fieldType = getFieldType();
                Object other$fieldType = other.getFieldType();
                if (this$fieldType == null) {
                    if (other$fieldType != null) {
                        return false;
                    }
                } else if (!this$fieldType.equals(other$fieldType)) {
                    return false;
                }
                Object this$updateShow = getUpdateShow();
                Object other$updateShow = other.getUpdateShow();
                if (this$updateShow == null) {
                    if (other$updateShow != null) {
                        return false;
                    }
                } else if (!this$updateShow.equals(other$updateShow)) {
                    return false;
                }
                Object this$viewShow = getViewShow();
                Object other$viewShow = other.getViewShow();
                if (this$viewShow == null) {
                    if (other$viewShow != null) {
                        return false;
                    }
                } else if (!this$viewShow.equals(other$viewShow)) {
                    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$businessType = getBusinessType();
                Object other$businessType = other.getBusinessType();
                if (this$businessType == null) {
                    if (other$businessType != null) {
                        return false;
                    }
                } else if (!this$businessType.equals(other$businessType)) {
                    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$supportExport = getSupportExport();
                Object other$supportExport = other.getSupportExport();
                if (this$supportExport == null) {
                    if (other$supportExport != null) {
                        return false;
                    }
                } else if (!this$supportExport.equals(other$supportExport)) {
                    return false;
                }
                Object this$mustImport = getMustImport();
                Object other$mustImport = other.getMustImport();
                if (this$mustImport == null) {
                    if (other$mustImport != null) {
                        return false;
                    }
                } else if (!this$mustImport.equals(other$mustImport)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                if (this$tenantId == null) {
                    if (other$tenantId != null) {
                        return false;
                    }
                } else if (!this$tenantId.equals(other$tenantId)) {
                    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$modifyFieldCode = getModifyFieldCode();
                Object other$modifyFieldCode = other.getModifyFieldCode();
                if (this$modifyFieldCode == null) {
                    if (other$modifyFieldCode != null) {
                        return false;
                    }
                } else if (!this$modifyFieldCode.equals(other$modifyFieldCode)) {
                    return false;
                }
                Object this$queryFieldCode = getQueryFieldCode();
                Object other$queryFieldCode = other.getQueryFieldCode();
                if (this$queryFieldCode == null) {
                    if (other$queryFieldCode != null) {
                        return false;
                    }
                } else if (!this$queryFieldCode.equals(other$queryFieldCode)) {
                    return false;
                }
                Object this$fieldCode = getFieldCode();
                Object other$fieldCode = other.getFieldCode();
                if (this$fieldCode == null) {
                    if (other$fieldCode != null) {
                        return false;
                    }
                } else if (!this$fieldCode.equals(other$fieldCode)) {
                    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$propertyJson = getPropertyJson();
                Object other$propertyJson = other.getPropertyJson();
                if (this$propertyJson == null) {
                    if (other$propertyJson != null) {
                        return false;
                    }
                } else if (!this$propertyJson.equals(other$propertyJson)) {
                    return false;
                }
                Object this$fieldTypeLabel = getFieldTypeLabel();
                Object other$fieldTypeLabel = other.getFieldTypeLabel();
                if (this$fieldTypeLabel == null) {
                    if (other$fieldTypeLabel != null) {
                        return false;
                    }
                } else if (!this$fieldTypeLabel.equals(other$fieldTypeLabel)) {
                    return false;
                }
                Object this$systemFieldLabel = getSystemFieldLabel();
                Object other$systemFieldLabel = other.getSystemFieldLabel();
                return this$systemFieldLabel == null ? other$systemFieldLabel == null : this$systemFieldLabel.equals(other$systemFieldLabel);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CustomTemplateFieldVO;
    }
 
    public int hashCode() {
        Object $fieldType = getFieldType();
        int result = (1 * 59) + ($fieldType == null ? 43 : $fieldType.hashCode());
        Object $updateShow = getUpdateShow();
        int result2 = (result * 59) + ($updateShow == null ? 43 : $updateShow.hashCode());
        Object $viewShow = getViewShow();
        int result3 = (result2 * 59) + ($viewShow == null ? 43 : $viewShow.hashCode());
        Object $supportUpdate = getSupportUpdate();
        int result4 = (result3 * 59) + ($supportUpdate == null ? 43 : $supportUpdate.hashCode());
        Object $supportQuery = getSupportQuery();
        int result5 = (result4 * 59) + ($supportQuery == null ? 43 : $supportQuery.hashCode());
        Object $systemField = getSystemField();
        int result6 = (result5 * 59) + ($systemField == null ? 43 : $systemField.hashCode());
        Object $sysFieldMust = getSysFieldMust();
        int result7 = (result6 * 59) + ($sysFieldMust == null ? 43 : $sysFieldMust.hashCode());
        Object $businessType = getBusinessType();
        int result8 = (result7 * 59) + ($businessType == null ? 43 : $businessType.hashCode());
        Object $id = getId();
        int result9 = (result8 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $status = getStatus();
        int result10 = (result9 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $supportExport = getSupportExport();
        int result11 = (result10 * 59) + ($supportExport == null ? 43 : $supportExport.hashCode());
        Object $mustImport = getMustImport();
        int result12 = (result11 * 59) + ($mustImport == null ? 43 : $mustImport.hashCode());
        Object $tenantId = getTenantId();
        int result13 = (result12 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $fieldName = getFieldName();
        int result14 = (result13 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
        Object $modifyFieldCode = getModifyFieldCode();
        int result15 = (result14 * 59) + ($modifyFieldCode == null ? 43 : $modifyFieldCode.hashCode());
        Object $queryFieldCode = getQueryFieldCode();
        int result16 = (result15 * 59) + ($queryFieldCode == null ? 43 : $queryFieldCode.hashCode());
        Object $fieldCode = getFieldCode();
        int result17 = (result16 * 59) + ($fieldCode == null ? 43 : $fieldCode.hashCode());
        Object $fieldDescription = getFieldDescription();
        int result18 = (result17 * 59) + ($fieldDescription == null ? 43 : $fieldDescription.hashCode());
        Object $defaultValue = getDefaultValue();
        int result19 = (result18 * 59) + ($defaultValue == null ? 43 : $defaultValue.hashCode());
        Object $propertyJson = getPropertyJson();
        int result20 = (result19 * 59) + ($propertyJson == null ? 43 : $propertyJson.hashCode());
        Object $fieldTypeLabel = getFieldTypeLabel();
        int result21 = (result20 * 59) + ($fieldTypeLabel == null ? 43 : $fieldTypeLabel.hashCode());
        Object $systemFieldLabel = getSystemFieldLabel();
        return (result21 * 59) + ($systemFieldLabel == null ? 43 : $systemFieldLabel.hashCode());
    }
 
    public String toString() {
        return "CustomTemplateFieldVO(tenantId=" + getTenantId() + ", fieldName=" + getFieldName() + ", modifyFieldCode=" + getModifyFieldCode() + ", queryFieldCode=" + getQueryFieldCode() + ", fieldCode=" + getFieldCode() + ", fieldDescription=" + getFieldDescription() + ", fieldType=" + getFieldType() + ", defaultValue=" + getDefaultValue() + ", propertyJson=" + getPropertyJson() + ", updateShow=" + getUpdateShow() + ", viewShow=" + getViewShow() + ", supportUpdate=" + getSupportUpdate() + ", supportQuery=" + getSupportQuery() + ", systemField=" + getSystemField() + ", sysFieldMust=" + getSysFieldMust() + ", businessType=" + getBusinessType() + ", id=" + getId() + ", status=" + getStatus() + ", fieldTypeLabel=" + getFieldTypeLabel() + ", systemFieldLabel=" + getSystemFieldLabel() + ", supportExport=" + getSupportExport() + ", mustImport=" + getMustImport() + ")";
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getFieldName() {
        return this.fieldName;
    }
 
    public String getModifyFieldCode() {
        return this.modifyFieldCode;
    }
 
    public String getQueryFieldCode() {
        return this.queryFieldCode;
    }
 
    public String getFieldCode() {
        return this.fieldCode;
    }
 
    public String getFieldDescription() {
        return this.fieldDescription;
    }
 
    public Integer getFieldType() {
        return this.fieldType;
    }
 
    public String getDefaultValue() {
        return this.defaultValue;
    }
 
    public String getPropertyJson() {
        return this.propertyJson;
    }
 
    public Integer getUpdateShow() {
        return this.updateShow;
    }
 
    public Integer getViewShow() {
        return this.viewShow;
    }
 
    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 getBusinessType() {
        return this.businessType;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public String getFieldTypeLabel() {
        return this.fieldTypeLabel;
    }
 
    public String getSystemFieldLabel() {
        return this.systemFieldLabel;
    }
 
    public Integer getSupportExport() {
        return this.supportExport;
    }
 
    public Integer getMustImport() {
        return this.mustImport;
    }
}