package com.skyline.electricity.entity; import java.sql.*; public class SysOrg { private String addr; private String address; private String areaId; private String businessType; private String classId; private String classId2; private String code; private String createBy; private Date createDate; private int delFlag; private String deputyPerson; private String email; private String fax; private String grade; private int id; private String isBm; private String isMarket; private String lat; private String lng; private String mapName; private String master; private String name; private String nativeNo; private String orgCode; private int parentId; private String parentIds; private String phone; private String primaryPerson; private String remarks; private String shortName; private String siteId; private int sort; private String star; private String status; private String type; private String updateBy; private Date updateDate; private String useable; private String zipCode; public String getAddr() { return this.addr; } public String getAddress() { return this.address; } public String getAreaId() { return this.areaId; } public String getBusinessType() { return this.businessType; } public String getClassId() { return this.classId; } public String getClassId2() { return this.classId2; } public String getCode() { return this.code; } public String getCreateBy() { return this.createBy; } public Date getCreateDate() { return this.createDate; } public int getDelFlag() { return this.delFlag; } public String getDeputyPerson() { return this.deputyPerson; } public String getEmail() { return this.email; } public String getFax() { return this.fax; } public String getGrade() { return this.grade; } public int getId() { return this.id; } public String getIsBm() { return this.isBm; } public String getIsMarket() { return this.isMarket; } public String getLat() { return this.lat; } public String getLng() { return this.lng; } public String getMapName() { return this.mapName; } public String getMaster() { return this.master; } public String getName() { return this.name; } public String getNativeNo() { return this.nativeNo; } public String getOrgCode() { return this.orgCode; } public int getParentId() { return this.parentId; } public String getParentIds() { return this.parentIds; } public String getPhone() { return this.phone; } public String getPrimaryPerson() { return this.primaryPerson; } public String getRemarks() { return this.remarks; } public String getShortName() { return this.shortName; } public String getSiteId() { return this.siteId; } public int getSort() { return this.sort; } public String getStar() { return this.star; } public String getStatus() { return this.status; } public String getType() { return this.type; } public String getUpdateBy() { return this.updateBy; } public Date getUpdateDate() { return this.updateDate; } public String getUseable() { return this.useable; } public String getZipCode() { return this.zipCode; } public void setAddr(final String addr) { this.addr = addr; } public void setAddress(final String address) { this.address = address; } public void setAreaId(final String areaId) { this.areaId = areaId; } public void setBusinessType(final String businessType) { this.businessType = businessType; } public void setClassId(final String classId) { this.classId = classId; } public void setClassId2(final String classId2) { this.classId2 = classId2; } public void setCode(final String code) { this.code = code; } public void setCreateBy(final String createBy) { this.createBy = createBy; } public void setCreateDate(final Date createDate) { this.createDate = createDate; } public void setDelFlag(final int delFlag) { this.delFlag = delFlag; } public void setDeputyPerson(final String deputyPerson) { this.deputyPerson = deputyPerson; } public void setEmail(final String email) { this.email = email; } public void setFax(final String fax) { this.fax = fax; } public void setGrade(final String grade) { this.grade = grade; } public void setId(final int id) { this.id = id; } public void setIsBm(final String isBm) { this.isBm = isBm; } public void setIsMarket(final String isMarket) { this.isMarket = isMarket; } public void setLat(final String lat) { this.lat = lat; } public void setLng(final String lng) { this.lng = lng; } public void setMapName(final String mapName) { this.mapName = mapName; } public void setMaster(final String master) { this.master = master; } public void setName(final String name) { this.name = name; } public void setNativeNo(final String nativeNo) { this.nativeNo = nativeNo; } public void setOrgCode(final String orgCode) { this.orgCode = orgCode; } public void setParentId(final int parentId) { this.parentId = parentId; } public void setParentIds(final String parentIds) { this.parentIds = parentIds; } public void setPhone(final String phone) { this.phone = phone; } public void setPrimaryPerson(final String primaryPerson) { this.primaryPerson = primaryPerson; } public void setRemarks(final String remarks) { this.remarks = remarks; } public void setShortName(final String shortName) { this.shortName = shortName; } public void setSiteId(final String siteId) { this.siteId = siteId; } public void setSort(final int sort) { this.sort = sort; } public void setStar(final String star) { this.star = star; } public void setStatus(final String status) { this.status = status; } public void setType(final String type) { this.type = type; } public void setUpdateBy(final String updateBy) { this.updateBy = updateBy; } public void setUpdateDate(final Date updateDate) { this.updateDate = updateDate; } public void setUseable(final String useable) { this.useable = useable; } public void setZipCode(final String zipCode) { this.zipCode = zipCode; } @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!(o instanceof SysOrg)) { return false; } final SysOrg other = (SysOrg)o; if (!other.canEqual(this)) { return false; } final Object this$addr = this.getAddr(); final Object other$addr = other.getAddr(); Label_0065: { if (this$addr == null) { if (other$addr == null) { break Label_0065; } } else if (this$addr.equals(other$addr)) { break Label_0065; } return false; } final Object this$address = this.getAddress(); final Object other$address = other.getAddress(); Label_0102: { if (this$address == null) { if (other$address == null) { break Label_0102; } } else if (this$address.equals(other$address)) { break Label_0102; } return false; } final Object this$areaId = this.getAreaId(); final Object other$areaId = other.getAreaId(); Label_0139: { if (this$areaId == null) { if (other$areaId == null) { break Label_0139; } } else if (this$areaId.equals(other$areaId)) { break Label_0139; } return false; } final Object this$businessType = this.getBusinessType(); final Object other$businessType = other.getBusinessType(); Label_0176: { if (this$businessType == null) { if (other$businessType == null) { break Label_0176; } } else if (this$businessType.equals(other$businessType)) { break Label_0176; } return false; } final Object this$classId = this.getClassId(); final Object other$classId = other.getClassId(); Label_0213: { if (this$classId == null) { if (other$classId == null) { break Label_0213; } } else if (this$classId.equals(other$classId)) { break Label_0213; } return false; } final Object this$classId2 = this.getClassId2(); final Object other$classId2 = other.getClassId2(); Label_0250: { if (this$classId2 == null) { if (other$classId2 == null) { break Label_0250; } } else if (this$classId2.equals(other$classId2)) { break Label_0250; } return false; } final Object this$code = this.getCode(); final Object other$code = other.getCode(); Label_0287: { if (this$code == null) { if (other$code == null) { break Label_0287; } } else if (this$code.equals(other$code)) { break Label_0287; } return false; } final Object this$createBy = this.getCreateBy(); final Object other$createBy = other.getCreateBy(); Label_0324: { if (this$createBy == null) { if (other$createBy == null) { break Label_0324; } } else if (this$createBy.equals(other$createBy)) { break Label_0324; } return false; } final Object this$createDate = this.getCreateDate(); final Object other$createDate = other.getCreateDate(); Label_0361: { if (this$createDate == null) { if (other$createDate == null) { break Label_0361; } } else if (this$createDate.equals(other$createDate)) { break Label_0361; } return false; } if (this.getDelFlag() != other.getDelFlag()) { return false; } final Object this$deputyPerson = this.getDeputyPerson(); final Object other$deputyPerson = other.getDeputyPerson(); Label_0411: { if (this$deputyPerson == null) { if (other$deputyPerson == null) { break Label_0411; } } else if (this$deputyPerson.equals(other$deputyPerson)) { break Label_0411; } return false; } final Object this$email = this.getEmail(); final Object other$email = other.getEmail(); Label_0448: { if (this$email == null) { if (other$email == null) { break Label_0448; } } else if (this$email.equals(other$email)) { break Label_0448; } return false; } final Object this$fax = this.getFax(); final Object other$fax = other.getFax(); Label_0485: { if (this$fax == null) { if (other$fax == null) { break Label_0485; } } else if (this$fax.equals(other$fax)) { break Label_0485; } return false; } final Object this$grade = this.getGrade(); final Object other$grade = other.getGrade(); Label_0522: { if (this$grade == null) { if (other$grade == null) { break Label_0522; } } else if (this$grade.equals(other$grade)) { break Label_0522; } return false; } if (this.getId() != other.getId()) { return false; } final Object this$isBm = this.getIsBm(); final Object other$isBm = other.getIsBm(); Label_0572: { if (this$isBm == null) { if (other$isBm == null) { break Label_0572; } } else if (this$isBm.equals(other$isBm)) { break Label_0572; } return false; } final Object this$isMarket = this.getIsMarket(); final Object other$isMarket = other.getIsMarket(); Label_0609: { if (this$isMarket == null) { if (other$isMarket == null) { break Label_0609; } } else if (this$isMarket.equals(other$isMarket)) { break Label_0609; } return false; } final Object this$lat = this.getLat(); final Object other$lat = other.getLat(); Label_0646: { if (this$lat == null) { if (other$lat == null) { break Label_0646; } } else if (this$lat.equals(other$lat)) { break Label_0646; } return false; } final Object this$lng = this.getLng(); final Object other$lng = other.getLng(); Label_0683: { if (this$lng == null) { if (other$lng == null) { break Label_0683; } } else if (this$lng.equals(other$lng)) { break Label_0683; } return false; } final Object this$mapName = this.getMapName(); final Object other$mapName = other.getMapName(); Label_0720: { if (this$mapName == null) { if (other$mapName == null) { break Label_0720; } } else if (this$mapName.equals(other$mapName)) { break Label_0720; } return false; } final Object this$master = this.getMaster(); final Object other$master = other.getMaster(); Label_0757: { if (this$master == null) { if (other$master == null) { break Label_0757; } } else if (this$master.equals(other$master)) { break Label_0757; } return false; } final Object this$name = this.getName(); final Object other$name = other.getName(); Label_0794: { if (this$name == null) { if (other$name == null) { break Label_0794; } } else if (this$name.equals(other$name)) { break Label_0794; } return false; } final Object this$nativeNo = this.getNativeNo(); final Object other$nativeNo = other.getNativeNo(); Label_0831: { if (this$nativeNo == null) { if (other$nativeNo == null) { break Label_0831; } } else if (this$nativeNo.equals(other$nativeNo)) { break Label_0831; } return false; } final Object this$orgCode = this.getOrgCode(); final Object other$orgCode = other.getOrgCode(); Label_0868: { if (this$orgCode == null) { if (other$orgCode == null) { break Label_0868; } } else if (this$orgCode.equals(other$orgCode)) { break Label_0868; } return false; } if (this.getParentId() != other.getParentId()) { return false; } final Object this$parentIds = this.getParentIds(); final Object other$parentIds = other.getParentIds(); Label_0918: { if (this$parentIds == null) { if (other$parentIds == null) { break Label_0918; } } else if (this$parentIds.equals(other$parentIds)) { break Label_0918; } return false; } final Object this$phone = this.getPhone(); final Object other$phone = other.getPhone(); Label_0955: { if (this$phone == null) { if (other$phone == null) { break Label_0955; } } else if (this$phone.equals(other$phone)) { break Label_0955; } return false; } final Object this$primaryPerson = this.getPrimaryPerson(); final Object other$primaryPerson = other.getPrimaryPerson(); Label_0992: { if (this$primaryPerson == null) { if (other$primaryPerson == null) { break Label_0992; } } else if (this$primaryPerson.equals(other$primaryPerson)) { break Label_0992; } return false; } final Object this$remarks = this.getRemarks(); final Object other$remarks = other.getRemarks(); Label_1029: { if (this$remarks == null) { if (other$remarks == null) { break Label_1029; } } else if (this$remarks.equals(other$remarks)) { break Label_1029; } return false; } final Object this$shortName = this.getShortName(); final Object other$shortName = other.getShortName(); Label_1066: { if (this$shortName == null) { if (other$shortName == null) { break Label_1066; } } else if (this$shortName.equals(other$shortName)) { break Label_1066; } return false; } final Object this$siteId = this.getSiteId(); final Object other$siteId = other.getSiteId(); Label_1103: { if (this$siteId == null) { if (other$siteId == null) { break Label_1103; } } else if (this$siteId.equals(other$siteId)) { break Label_1103; } return false; } if (this.getSort() != other.getSort()) { return false; } final Object this$star = this.getStar(); final Object other$star = other.getStar(); Label_1153: { if (this$star == null) { if (other$star == null) { break Label_1153; } } else if (this$star.equals(other$star)) { break Label_1153; } return false; } final Object this$status = this.getStatus(); final Object other$status = other.getStatus(); Label_1190: { if (this$status == null) { if (other$status == null) { break Label_1190; } } else if (this$status.equals(other$status)) { break Label_1190; } return false; } final Object this$type = this.getType(); final Object other$type = other.getType(); Label_1227: { if (this$type == null) { if (other$type == null) { break Label_1227; } } else if (this$type.equals(other$type)) { break Label_1227; } return false; } final Object this$updateBy = this.getUpdateBy(); final Object other$updateBy = other.getUpdateBy(); Label_1264: { if (this$updateBy == null) { if (other$updateBy == null) { break Label_1264; } } else if (this$updateBy.equals(other$updateBy)) { break Label_1264; } return false; } final Object this$updateDate = this.getUpdateDate(); final Object other$updateDate = other.getUpdateDate(); Label_1301: { if (this$updateDate == null) { if (other$updateDate == null) { break Label_1301; } } else if (this$updateDate.equals(other$updateDate)) { break Label_1301; } return false; } final Object this$useable = this.getUseable(); final Object other$useable = other.getUseable(); Label_1338: { if (this$useable == null) { if (other$useable == null) { break Label_1338; } } else if (this$useable.equals(other$useable)) { break Label_1338; } return false; } final Object this$zipCode = this.getZipCode(); final Object other$zipCode = other.getZipCode(); if (this$zipCode == null) { if (other$zipCode == null) { return true; } } else if (this$zipCode.equals(other$zipCode)) { return true; } return false; } protected boolean canEqual(final Object other) { return other instanceof SysOrg; } @Override public int hashCode() { final int PRIME = 59; int result = 1; final Object $addr = this.getAddr(); result = result * 59 + (($addr == null) ? 43 : $addr.hashCode()); final Object $address = this.getAddress(); result = result * 59 + (($address == null) ? 43 : $address.hashCode()); final Object $areaId = this.getAreaId(); result = result * 59 + (($areaId == null) ? 43 : $areaId.hashCode()); final Object $businessType = this.getBusinessType(); result = result * 59 + (($businessType == null) ? 43 : $businessType.hashCode()); final Object $classId = this.getClassId(); result = result * 59 + (($classId == null) ? 43 : $classId.hashCode()); final Object $classId2 = this.getClassId2(); result = result * 59 + (($classId2 == null) ? 43 : $classId2.hashCode()); final Object $code = this.getCode(); result = result * 59 + (($code == null) ? 43 : $code.hashCode()); final Object $createBy = this.getCreateBy(); result = result * 59 + (($createBy == null) ? 43 : $createBy.hashCode()); final Object $createDate = this.getCreateDate(); result = result * 59 + (($createDate == null) ? 43 : $createDate.hashCode()); result = result * 59 + this.getDelFlag(); final Object $deputyPerson = this.getDeputyPerson(); result = result * 59 + (($deputyPerson == null) ? 43 : $deputyPerson.hashCode()); final Object $email = this.getEmail(); result = result * 59 + (($email == null) ? 43 : $email.hashCode()); final Object $fax = this.getFax(); result = result * 59 + (($fax == null) ? 43 : $fax.hashCode()); final Object $grade = this.getGrade(); result = result * 59 + (($grade == null) ? 43 : $grade.hashCode()); result = result * 59 + this.getId(); final Object $isBm = this.getIsBm(); result = result * 59 + (($isBm == null) ? 43 : $isBm.hashCode()); final Object $isMarket = this.getIsMarket(); result = result * 59 + (($isMarket == null) ? 43 : $isMarket.hashCode()); final Object $lat = this.getLat(); result = result * 59 + (($lat == null) ? 43 : $lat.hashCode()); final Object $lng = this.getLng(); result = result * 59 + (($lng == null) ? 43 : $lng.hashCode()); final Object $mapName = this.getMapName(); result = result * 59 + (($mapName == null) ? 43 : $mapName.hashCode()); final Object $master = this.getMaster(); result = result * 59 + (($master == null) ? 43 : $master.hashCode()); final Object $name = this.getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); final Object $nativeNo = this.getNativeNo(); result = result * 59 + (($nativeNo == null) ? 43 : $nativeNo.hashCode()); final Object $orgCode = this.getOrgCode(); result = result * 59 + (($orgCode == null) ? 43 : $orgCode.hashCode()); result = result * 59 + this.getParentId(); final Object $parentIds = this.getParentIds(); result = result * 59 + (($parentIds == null) ? 43 : $parentIds.hashCode()); final Object $phone = this.getPhone(); result = result * 59 + (($phone == null) ? 43 : $phone.hashCode()); final Object $primaryPerson = this.getPrimaryPerson(); result = result * 59 + (($primaryPerson == null) ? 43 : $primaryPerson.hashCode()); final Object $remarks = this.getRemarks(); result = result * 59 + (($remarks == null) ? 43 : $remarks.hashCode()); final Object $shortName = this.getShortName(); result = result * 59 + (($shortName == null) ? 43 : $shortName.hashCode()); final Object $siteId = this.getSiteId(); result = result * 59 + (($siteId == null) ? 43 : $siteId.hashCode()); result = result * 59 + this.getSort(); final Object $star = this.getStar(); result = result * 59 + (($star == null) ? 43 : $star.hashCode()); final Object $status = this.getStatus(); result = result * 59 + (($status == null) ? 43 : $status.hashCode()); final Object $type = this.getType(); result = result * 59 + (($type == null) ? 43 : $type.hashCode()); final Object $updateBy = this.getUpdateBy(); result = result * 59 + (($updateBy == null) ? 43 : $updateBy.hashCode()); final Object $updateDate = this.getUpdateDate(); result = result * 59 + (($updateDate == null) ? 43 : $updateDate.hashCode()); final Object $useable = this.getUseable(); result = result * 59 + (($useable == null) ? 43 : $useable.hashCode()); final Object $zipCode = this.getZipCode(); result = result * 59 + (($zipCode == null) ? 43 : $zipCode.hashCode()); return result; } @Override public String toString() { return "SysOrg(addr=" + this.getAddr() + ", address=" + this.getAddress() + ", areaId=" + this.getAreaId() + ", businessType=" + this.getBusinessType() + ", classId=" + this.getClassId() + ", classId2=" + this.getClassId2() + ", code=" + this.getCode() + ", createBy=" + this.getCreateBy() + ", createDate=" + this.getCreateDate() + ", delFlag=" + this.getDelFlag() + ", deputyPerson=" + this.getDeputyPerson() + ", email=" + this.getEmail() + ", fax=" + this.getFax() + ", grade=" + this.getGrade() + ", id=" + this.getId() + ", isBm=" + this.getIsBm() + ", isMarket=" + this.getIsMarket() + ", lat=" + this.getLat() + ", lng=" + this.getLng() + ", mapName=" + this.getMapName() + ", master=" + this.getMaster() + ", name=" + this.getName() + ", nativeNo=" + this.getNativeNo() + ", orgCode=" + this.getOrgCode() + ", parentId=" + this.getParentId() + ", parentIds=" + this.getParentIds() + ", phone=" + this.getPhone() + ", primaryPerson=" + this.getPrimaryPerson() + ", remarks=" + this.getRemarks() + ", shortName=" + this.getShortName() + ", siteId=" + this.getSiteId() + ", sort=" + this.getSort() + ", star=" + this.getStar() + ", status=" + this.getStatus() + ", type=" + this.getType() + ", updateBy=" + this.getUpdateBy() + ", updateDate=" + this.getUpdateDate() + ", useable=" + this.getUseable() + ", zipCode=" + this.getZipCode() + ")"; } }