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;
|
}
|
}
|