yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
package com.qianwen.smartman.modules.system.excel;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
 
@HeadRowHeight(20)
@ColumnWidth(16)
@ContentRowHeight(18)
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/excel/RegionExcel.class */
public class RegionExcel implements Serializable {
    private static final long serialVersionUID = 1;
    @NotBlank(message = "区划编号不能为空")
    @ExcelProperty({"区划编号"})
    private String code;
    @ExcelProperty({"父区划编号"})
    private String parentCode;
    @ExcelProperty({"祖区划编号"})
    private String ancestors;
    @ExcelProperty({"区划名称"})
    private String name;
    @ExcelProperty({"省级区划编号"})
    private String provinceCode;
    @ExcelProperty({"省级名称"})
    private String provinceName;
    @ExcelProperty({"市级区划编号"})
    private String cityCode;
    @ExcelProperty({"市级名称"})
    private String cityName;
    @ExcelProperty({"区级区划编号"})
    private String districtCode;
    @ExcelProperty({"区级名称"})
    private String districtName;
    @ExcelProperty({"镇级区划编号"})
    private String townCode;
    @ExcelProperty({"镇级名称"})
    private String townName;
    @ExcelProperty({"村级区划编号"})
    private String villageCode;
    @ExcelProperty({"村级名称"})
    private String villageName;
    @ExcelProperty({"层级"})
    private Integer regionLevel;
    @ExcelProperty({"排序"})
    private Integer sort;
    @ExcelProperty({"备注"})
    private String remark;
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setParentCode(final String parentCode) {
        this.parentCode = parentCode;
    }
 
    public void setAncestors(final String ancestors) {
        this.ancestors = ancestors;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setProvinceCode(final String provinceCode) {
        this.provinceCode = provinceCode;
    }
 
    public void setProvinceName(final String provinceName) {
        this.provinceName = provinceName;
    }
 
    public void setCityCode(final String cityCode) {
        this.cityCode = cityCode;
    }
 
    public void setCityName(final String cityName) {
        this.cityName = cityName;
    }
 
    public void setDistrictCode(final String districtCode) {
        this.districtCode = districtCode;
    }
 
    public void setDistrictName(final String districtName) {
        this.districtName = districtName;
    }
 
    public void setTownCode(final String townCode) {
        this.townCode = townCode;
    }
 
    public void setTownName(final String townName) {
        this.townName = townName;
    }
 
    public void setVillageCode(final String villageCode) {
        this.villageCode = villageCode;
    }
 
    public void setVillageName(final String villageName) {
        this.villageName = villageName;
    }
 
    public void setRegionLevel(final Integer regionLevel) {
        this.regionLevel = regionLevel;
    }
 
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof RegionExcel) {
            RegionExcel other = (RegionExcel) o;
            if (other.canEqual(this)) {
                Object this$regionLevel = getRegionLevel();
                Object other$regionLevel = other.getRegionLevel();
                if (this$regionLevel == null) {
                    if (other$regionLevel != null) {
                        return false;
                    }
                } else if (!this$regionLevel.equals(other$regionLevel)) {
                    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$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$parentCode = getParentCode();
                Object other$parentCode = other.getParentCode();
                if (this$parentCode == null) {
                    if (other$parentCode != null) {
                        return false;
                    }
                } else if (!this$parentCode.equals(other$parentCode)) {
                    return false;
                }
                Object this$ancestors = getAncestors();
                Object other$ancestors = other.getAncestors();
                if (this$ancestors == null) {
                    if (other$ancestors != null) {
                        return false;
                    }
                } else if (!this$ancestors.equals(other$ancestors)) {
                    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$provinceCode = getProvinceCode();
                Object other$provinceCode = other.getProvinceCode();
                if (this$provinceCode == null) {
                    if (other$provinceCode != null) {
                        return false;
                    }
                } else if (!this$provinceCode.equals(other$provinceCode)) {
                    return false;
                }
                Object this$provinceName = getProvinceName();
                Object other$provinceName = other.getProvinceName();
                if (this$provinceName == null) {
                    if (other$provinceName != null) {
                        return false;
                    }
                } else if (!this$provinceName.equals(other$provinceName)) {
                    return false;
                }
                Object this$cityCode = getCityCode();
                Object other$cityCode = other.getCityCode();
                if (this$cityCode == null) {
                    if (other$cityCode != null) {
                        return false;
                    }
                } else if (!this$cityCode.equals(other$cityCode)) {
                    return false;
                }
                Object this$cityName = getCityName();
                Object other$cityName = other.getCityName();
                if (this$cityName == null) {
                    if (other$cityName != null) {
                        return false;
                    }
                } else if (!this$cityName.equals(other$cityName)) {
                    return false;
                }
                Object this$districtCode = getDistrictCode();
                Object other$districtCode = other.getDistrictCode();
                if (this$districtCode == null) {
                    if (other$districtCode != null) {
                        return false;
                    }
                } else if (!this$districtCode.equals(other$districtCode)) {
                    return false;
                }
                Object this$districtName = getDistrictName();
                Object other$districtName = other.getDistrictName();
                if (this$districtName == null) {
                    if (other$districtName != null) {
                        return false;
                    }
                } else if (!this$districtName.equals(other$districtName)) {
                    return false;
                }
                Object this$townCode = getTownCode();
                Object other$townCode = other.getTownCode();
                if (this$townCode == null) {
                    if (other$townCode != null) {
                        return false;
                    }
                } else if (!this$townCode.equals(other$townCode)) {
                    return false;
                }
                Object this$townName = getTownName();
                Object other$townName = other.getTownName();
                if (this$townName == null) {
                    if (other$townName != null) {
                        return false;
                    }
                } else if (!this$townName.equals(other$townName)) {
                    return false;
                }
                Object this$villageCode = getVillageCode();
                Object other$villageCode = other.getVillageCode();
                if (this$villageCode == null) {
                    if (other$villageCode != null) {
                        return false;
                    }
                } else if (!this$villageCode.equals(other$villageCode)) {
                    return false;
                }
                Object this$villageName = getVillageName();
                Object other$villageName = other.getVillageName();
                if (this$villageName == null) {
                    if (other$villageName != null) {
                        return false;
                    }
                } else if (!this$villageName.equals(other$villageName)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof RegionExcel;
    }
 
    public int hashCode() {
        Object $regionLevel = getRegionLevel();
        int result = (1 * 59) + ($regionLevel == null ? 43 : $regionLevel.hashCode());
        Object $sort = getSort();
        int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $code = getCode();
        int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $parentCode = getParentCode();
        int result4 = (result3 * 59) + ($parentCode == null ? 43 : $parentCode.hashCode());
        Object $ancestors = getAncestors();
        int result5 = (result4 * 59) + ($ancestors == null ? 43 : $ancestors.hashCode());
        Object $name = getName();
        int result6 = (result5 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $provinceCode = getProvinceCode();
        int result7 = (result6 * 59) + ($provinceCode == null ? 43 : $provinceCode.hashCode());
        Object $provinceName = getProvinceName();
        int result8 = (result7 * 59) + ($provinceName == null ? 43 : $provinceName.hashCode());
        Object $cityCode = getCityCode();
        int result9 = (result8 * 59) + ($cityCode == null ? 43 : $cityCode.hashCode());
        Object $cityName = getCityName();
        int result10 = (result9 * 59) + ($cityName == null ? 43 : $cityName.hashCode());
        Object $districtCode = getDistrictCode();
        int result11 = (result10 * 59) + ($districtCode == null ? 43 : $districtCode.hashCode());
        Object $districtName = getDistrictName();
        int result12 = (result11 * 59) + ($districtName == null ? 43 : $districtName.hashCode());
        Object $townCode = getTownCode();
        int result13 = (result12 * 59) + ($townCode == null ? 43 : $townCode.hashCode());
        Object $townName = getTownName();
        int result14 = (result13 * 59) + ($townName == null ? 43 : $townName.hashCode());
        Object $villageCode = getVillageCode();
        int result15 = (result14 * 59) + ($villageCode == null ? 43 : $villageCode.hashCode());
        Object $villageName = getVillageName();
        int result16 = (result15 * 59) + ($villageName == null ? 43 : $villageName.hashCode());
        Object $remark = getRemark();
        return (result16 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public String toString() {
        return "RegionExcel(code=" + getCode() + ", parentCode=" + getParentCode() + ", ancestors=" + getAncestors() + ", name=" + getName() + ", provinceCode=" + getProvinceCode() + ", provinceName=" + getProvinceName() + ", cityCode=" + getCityCode() + ", cityName=" + getCityName() + ", districtCode=" + getDistrictCode() + ", districtName=" + getDistrictName() + ", townCode=" + getTownCode() + ", townName=" + getTownName() + ", villageCode=" + getVillageCode() + ", villageName=" + getVillageName() + ", regionLevel=" + getRegionLevel() + ", sort=" + getSort() + ", remark=" + getRemark() + ")";
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getParentCode() {
        return this.parentCode;
    }
 
    public String getAncestors() {
        return this.ancestors;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getProvinceCode() {
        return this.provinceCode;
    }
 
    public String getProvinceName() {
        return this.provinceName;
    }
 
    public String getCityCode() {
        return this.cityCode;
    }
 
    public String getCityName() {
        return this.cityName;
    }
 
    public String getDistrictCode() {
        return this.districtCode;
    }
 
    public String getDistrictName() {
        return this.districtName;
    }
 
    public String getTownCode() {
        return this.townCode;
    }
 
    public String getTownName() {
        return this.townName;
    }
 
    public String getVillageCode() {
        return this.villageCode;
    }
 
    public String getVillageName() {
        return this.villageName;
    }
 
    public Integer getRegionLevel() {
        return this.regionLevel;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public String getRemark() {
        return this.remark;
    }
}