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
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 = "CustomTemplateFieldRelation对象", description = "模板与字段关系表")
@TableName("blade_custom_field_relation")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/CustomTemplateFieldRelation.class */
public class CustomTemplateFieldRelation extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("所属租户")
    private String tenantId;
    @ApiModelProperty("模板id")
    private Long templateId;
    @ApiModelProperty("字段id")
    private Long fieldId;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("配置类型 1:新建页,2:编辑页,3:查看页,4:工单,5:查询条件")
    private Integer configType;
    @ApiModelProperty("是否必填")
    private Integer mustField;
    @ApiModelProperty("是否是导入字段 0否 1是")
    private Integer importField;
    @ApiModelProperty("导入时排序")
    private Integer importSort;
 
    public CustomTemplateFieldRelation setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public CustomTemplateFieldRelation setTemplateId(final Long templateId) {
        this.templateId = templateId;
        return this;
    }
 
    public CustomTemplateFieldRelation setFieldId(final Long fieldId) {
        this.fieldId = fieldId;
        return this;
    }
 
    public CustomTemplateFieldRelation setSort(final Integer sort) {
        this.sort = sort;
        return this;
    }
 
    public CustomTemplateFieldRelation setConfigType(final Integer configType) {
        this.configType = configType;
        return this;
    }
 
    public CustomTemplateFieldRelation setMustField(final Integer mustField) {
        this.mustField = mustField;
        return this;
    }
 
    public CustomTemplateFieldRelation setImportField(final Integer importField) {
        this.importField = importField;
        return this;
    }
 
    public CustomTemplateFieldRelation setImportSort(final Integer importSort) {
        this.importSort = importSort;
        return this;
    }
 
    public String toString() {
        return "CustomTemplateFieldRelation(tenantId=" + getTenantId() + ", templateId=" + getTemplateId() + ", fieldId=" + getFieldId() + ", sort=" + getSort() + ", configType=" + getConfigType() + ", mustField=" + getMustField() + ", importField=" + getImportField() + ", importSort=" + getImportSort() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CustomTemplateFieldRelation) {
            CustomTemplateFieldRelation other = (CustomTemplateFieldRelation) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$templateId = getTemplateId();
                Object other$templateId = other.getTemplateId();
                if (this$templateId == null) {
                    if (other$templateId != null) {
                        return false;
                    }
                } else if (!this$templateId.equals(other$templateId)) {
                    return false;
                }
                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$sort = getSort();
                Object other$sort = other.getSort();
                if (this$sort == null) {
                    if (other$sort != null) {
                        return false;
                    }
                } else if (!this$sort.equals(other$sort)) {
                    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$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$importField = getImportField();
                Object other$importField = other.getImportField();
                if (this$importField == null) {
                    if (other$importField != null) {
                        return false;
                    }
                } else if (!this$importField.equals(other$importField)) {
                    return false;
                }
                Object this$importSort = getImportSort();
                Object other$importSort = other.getImportSort();
                if (this$importSort == null) {
                    if (other$importSort != null) {
                        return false;
                    }
                } else if (!this$importSort.equals(other$importSort)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                return this$tenantId == null ? other$tenantId == null : this$tenantId.equals(other$tenantId);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CustomTemplateFieldRelation;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $templateId = getTemplateId();
        int result2 = (result * 59) + ($templateId == null ? 43 : $templateId.hashCode());
        Object $fieldId = getFieldId();
        int result3 = (result2 * 59) + ($fieldId == null ? 43 : $fieldId.hashCode());
        Object $sort = getSort();
        int result4 = (result3 * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $configType = getConfigType();
        int result5 = (result4 * 59) + ($configType == null ? 43 : $configType.hashCode());
        Object $mustField = getMustField();
        int result6 = (result5 * 59) + ($mustField == null ? 43 : $mustField.hashCode());
        Object $importField = getImportField();
        int result7 = (result6 * 59) + ($importField == null ? 43 : $importField.hashCode());
        Object $importSort = getImportSort();
        int result8 = (result7 * 59) + ($importSort == null ? 43 : $importSort.hashCode());
        Object $tenantId = getTenantId();
        return (result8 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public Long getTemplateId() {
        return this.templateId;
    }
 
    public Long getFieldId() {
        return this.fieldId;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public Integer getConfigType() {
        return this.configType;
    }
 
    public Integer getMustField() {
        return this.mustField;
    }
 
    public Integer getImportField() {
        return this.importField;
    }
 
    public Integer getImportSort() {
        return this.importSort;
    }
}