实体调整

This commit is contained in:
glj 2023-03-21 17:21:41 +08:00
parent 56ba411486
commit 04908e7fe4
12 changed files with 0 additions and 795 deletions

View File

@ -93,80 +93,4 @@ public class EntityData implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
EntityData other = (EntityData) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getSource() == null ? other.getSource() == null : this.getSource().equals(other.getSource()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getProvider() == null ? other.getProvider() == null : this.getProvider().equals(other.getProvider()))
&& (this.getSize() == null ? other.getSize() == null : this.getSize().equals(other.getSize()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
&& (this.getApplyTime() == null ? other.getApplyTime() == null : this.getApplyTime().equals(other.getApplyTime()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getVisualFlag() == null ? other.getVisualFlag() == null : this.getVisualFlag().equals(other.getVisualFlag()))
&& (this.getVisualLon() == null ? other.getVisualLon() == null : this.getVisualLon().equals(other.getVisualLon()))
&& (this.getVisualLat() == null ? other.getVisualLat() == null : this.getVisualLat().equals(other.getVisualLat()))
&& (this.getVoluntaryFlag() == null ? other.getVoluntaryFlag() == null : this.getVoluntaryFlag().equals(other.getVoluntaryFlag()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getSource() == null) ? 0 : getSource().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getProvider() == null) ? 0 : getProvider().hashCode());
result = prime * result + ((getSize() == null) ? 0 : getSize().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
result = prime * result + ((getApplyTime() == null) ? 0 : getApplyTime().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getVisualFlag() == null) ? 0 : getVisualFlag().hashCode());
result = prime * result + ((getVisualLon() == null) ? 0 : getVisualLon().hashCode());
result = prime * result + ((getVisualLat() == null) ? 0 : getVisualLat().hashCode());
result = prime * result + ((getVoluntaryFlag() == null) ? 0 : getVoluntaryFlag().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", source=").append(source);
sb.append(", title=").append(title);
sb.append(", provider=").append(provider);
sb.append(", size=").append(size);
sb.append(", type=").append(type);
sb.append(", link=").append(link);
sb.append(", remark=").append(remark);
sb.append(", applyTime=").append(applyTime);
sb.append(", disasterId=").append(disasterId);
sb.append(", visualFlag=").append(visualFlag);
sb.append(", visualLon=").append(visualLon);
sb.append(", visualLat=").append(visualLat);
sb.append(", voluntaryFlag=").append(voluntaryFlag);
sb.append(", createTime=").append(createTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -53,56 +53,4 @@ public class Hotspot implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Hotspot other = (Hotspot) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getAreaCn() == null ? other.getAreaCn() == null : this.getAreaCn().equals(other.getAreaCn()))
&& (this.getAreaEn() == null ? other.getAreaEn() == null : this.getAreaEn().equals(other.getAreaEn()))
&& (this.getFrequency() == null ? other.getFrequency() == null : this.getFrequency().equals(other.getFrequency()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getAreaCn() == null) ? 0 : getAreaCn().hashCode());
result = prime * result + ((getAreaEn() == null) ? 0 : getAreaEn().hashCode());
result = prime * result + ((getFrequency() == null) ? 0 : getFrequency().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", areaCn=").append(areaCn);
sb.append(", areaEn=").append(areaEn);
sb.append(", frequency=").append(frequency);
sb.append(", disasterId=").append(disasterId);
sb.append(", createTime=").append(createTime);
sb.append(", status=").append(status);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -43,50 +43,4 @@ public class MapServer implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
MapServer other = (MapServer) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getLat() == null ? other.getLat() == null : this.getLat().equals(other.getLat()))
&& (this.getLon() == null ? other.getLon() == null : this.getLon().equals(other.getLon()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getLat() == null) ? 0 : getLat().hashCode());
result = prime * result + ((getLon() == null) ? 0 : getLon().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", name=").append(name);
sb.append(", disasterId=").append(disasterId);
sb.append(", lat=").append(lat);
sb.append(", lon=").append(lon);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -58,59 +58,4 @@ public class News implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
News other = (News) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", title=").append(title);
sb.append(", content=").append(content);
sb.append(", link=").append(link);
sb.append(", type=").append(type);
sb.append(", disasterId=").append(disasterId);
sb.append(", createTime=").append(createTime);
sb.append(", status=").append(status);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -53,56 +53,4 @@ public class PictureInfo implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
PictureInfo other = (PictureInfo) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getSize() == null ? other.getSize() == null : this.getSize().equals(other.getSize()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getIsMain() == null ? other.getIsMain() == null : this.getIsMain().equals(other.getIsMain()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getSize() == null) ? 0 : getSize().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getIsMain() == null) ? 0 : getIsMain().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", link=").append(link);
sb.append(", size=").append(size);
sb.append(", type=").append(type);
sb.append(", disasterId=").append(disasterId);
sb.append(", createTime=").append(createTime);
sb.append(", isMain=").append(isMain);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -148,113 +148,4 @@ public class RemoteSensingSourceData implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
RemoteSensingSourceData other = (RemoteSensingSourceData) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getThumbnailLink() == null ? other.getThumbnailLink() == null : this.getThumbnailLink().equals(other.getThumbnailLink()))
&& (this.getProductLevel() == null ? other.getProductLevel() == null : this.getProductLevel().equals(other.getProductLevel()))
&& (this.getProductSerialNum() == null ? other.getProductSerialNum() == null : this.getProductSerialNum().equals(other.getProductSerialNum()))
&& (this.getProductTime() == null ? other.getProductTime() == null : this.getProductTime().equals(other.getProductTime()))
&& (this.getProductBandsNum() == null ? other.getProductBandsNum() == null : this.getProductBandsNum().equals(other.getProductBandsNum()))
&& (this.getProductResolution() == null ? other.getProductResolution() == null : this.getProductResolution().equals(other.getProductResolution()))
&& (this.getRawDataStripeNum() == null ? other.getRawDataStripeNum() == null : this.getRawDataStripeNum().equals(other.getRawDataStripeNum()))
&& (this.getCloudCover() == null ? other.getCloudCover() == null : this.getCloudCover().equals(other.getCloudCover()))
&& (this.getProductSize() == null ? other.getProductSize() == null : this.getProductSize().equals(other.getProductSize()))
&& (this.getProjectBandNum() == null ? other.getProjectBandNum() == null : this.getProjectBandNum().equals(other.getProjectBandNum()))
&& (this.getCoverageArea() == null ? other.getCoverageArea() == null : this.getCoverageArea().equals(other.getCoverageArea()))
&& (this.getSatelliteCode() == null ? other.getSatelliteCode() == null : this.getSatelliteCode().equals(other.getSatelliteCode()))
&& (this.getReceivingTime() == null ? other.getReceivingTime() == null : this.getReceivingTime().equals(other.getReceivingTime()))
&& (this.getUpperLeftLat() == null ? other.getUpperLeftLat() == null : this.getUpperLeftLat().equals(other.getUpperLeftLat()))
&& (this.getUpperLeftLon() == null ? other.getUpperLeftLon() == null : this.getUpperLeftLon().equals(other.getUpperLeftLon()))
&& (this.getUpperRightLat() == null ? other.getUpperRightLat() == null : this.getUpperRightLat().equals(other.getUpperRightLat()))
&& (this.getUpperRightLon() == null ? other.getUpperRightLon() == null : this.getUpperRightLon().equals(other.getUpperRightLon()))
&& (this.getViewCenterLat() == null ? other.getViewCenterLat() == null : this.getViewCenterLat().equals(other.getViewCenterLat()))
&& (this.getViewCenterLon() == null ? other.getViewCenterLon() == null : this.getViewCenterLon().equals(other.getViewCenterLon()))
&& (this.getLowerRightLat() == null ? other.getLowerRightLat() == null : this.getLowerRightLat().equals(other.getLowerRightLat()))
&& (this.getLowerRightLon() == null ? other.getLowerRightLon() == null : this.getLowerRightLon().equals(other.getLowerRightLon()))
&& (this.getLowerLeftLat() == null ? other.getLowerLeftLat() == null : this.getLowerLeftLat().equals(other.getLowerLeftLat()))
&& (this.getLowerLeftLon() == null ? other.getLowerLeftLon() == null : this.getLowerLeftLon().equals(other.getLowerLeftLon()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getThumbnailLink() == null) ? 0 : getThumbnailLink().hashCode());
result = prime * result + ((getProductLevel() == null) ? 0 : getProductLevel().hashCode());
result = prime * result + ((getProductSerialNum() == null) ? 0 : getProductSerialNum().hashCode());
result = prime * result + ((getProductTime() == null) ? 0 : getProductTime().hashCode());
result = prime * result + ((getProductBandsNum() == null) ? 0 : getProductBandsNum().hashCode());
result = prime * result + ((getProductResolution() == null) ? 0 : getProductResolution().hashCode());
result = prime * result + ((getRawDataStripeNum() == null) ? 0 : getRawDataStripeNum().hashCode());
result = prime * result + ((getCloudCover() == null) ? 0 : getCloudCover().hashCode());
result = prime * result + ((getProductSize() == null) ? 0 : getProductSize().hashCode());
result = prime * result + ((getProjectBandNum() == null) ? 0 : getProjectBandNum().hashCode());
result = prime * result + ((getCoverageArea() == null) ? 0 : getCoverageArea().hashCode());
result = prime * result + ((getSatelliteCode() == null) ? 0 : getSatelliteCode().hashCode());
result = prime * result + ((getReceivingTime() == null) ? 0 : getReceivingTime().hashCode());
result = prime * result + ((getUpperLeftLat() == null) ? 0 : getUpperLeftLat().hashCode());
result = prime * result + ((getUpperLeftLon() == null) ? 0 : getUpperLeftLon().hashCode());
result = prime * result + ((getUpperRightLat() == null) ? 0 : getUpperRightLat().hashCode());
result = prime * result + ((getUpperRightLon() == null) ? 0 : getUpperRightLon().hashCode());
result = prime * result + ((getViewCenterLat() == null) ? 0 : getViewCenterLat().hashCode());
result = prime * result + ((getViewCenterLon() == null) ? 0 : getViewCenterLon().hashCode());
result = prime * result + ((getLowerRightLat() == null) ? 0 : getLowerRightLat().hashCode());
result = prime * result + ((getLowerRightLon() == null) ? 0 : getLowerRightLon().hashCode());
result = prime * result + ((getLowerLeftLat() == null) ? 0 : getLowerLeftLat().hashCode());
result = prime * result + ((getLowerLeftLon() == null) ? 0 : getLowerLeftLon().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", thumbnailLink=").append(thumbnailLink);
sb.append(", productLevel=").append(productLevel);
sb.append(", productSerialNum=").append(productSerialNum);
sb.append(", productTime=").append(productTime);
sb.append(", productBandsNum=").append(productBandsNum);
sb.append(", productResolution=").append(productResolution);
sb.append(", rawDataStripeNum=").append(rawDataStripeNum);
sb.append(", cloudCover=").append(cloudCover);
sb.append(", productSize=").append(productSize);
sb.append(", projectBandNum=").append(projectBandNum);
sb.append(", coverageArea=").append(coverageArea);
sb.append(", satelliteCode=").append(satelliteCode);
sb.append(", receivingTime=").append(receivingTime);
sb.append(", upperLeftLat=").append(upperLeftLat);
sb.append(", upperLeftLon=").append(upperLeftLon);
sb.append(", upperRightLat=").append(upperRightLat);
sb.append(", upperRightLon=").append(upperRightLon);
sb.append(", viewCenterLat=").append(viewCenterLat);
sb.append(", viewCenterLon=").append(viewCenterLon);
sb.append(", lowerRightLat=").append(lowerRightLat);
sb.append(", lowerRightLon=").append(lowerRightLon);
sb.append(", lowerLeftLat=").append(lowerLeftLat);
sb.append(", lowerLeftLon=").append(lowerLeftLon);
sb.append(", disasterId=").append(disasterId);
sb.append(", createTime=").append(createTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -123,98 +123,4 @@ public class RespondInfo implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
RespondInfo other = (RespondInfo) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getOrganization() == null ? other.getOrganization() == null : this.getOrganization().equals(other.getOrganization()))
&& (this.getRegion() == null ? other.getRegion() == null : this.getRegion().equals(other.getRegion()))
&& (this.getDisasterType() == null ? other.getDisasterType() == null : this.getDisasterType().equals(other.getDisasterType()))
&& (this.getDisasterKeyword() == null ? other.getDisasterKeyword() == null : this.getDisasterKeyword().equals(other.getDisasterKeyword()))
&& (this.getDisasterTime() == null ? other.getDisasterTime() == null : this.getDisasterTime().equals(other.getDisasterTime()))
&& (this.getRespondTime() == null ? other.getRespondTime() == null : this.getRespondTime().equals(other.getRespondTime()))
&& (this.getUserProfession() == null ? other.getUserProfession() == null : this.getUserProfession().equals(other.getUserProfession()))
&& (this.getUserResearchField() == null ? other.getUserResearchField() == null : this.getUserResearchField().equals(other.getUserResearchField()))
&& (this.getDisasterLon() == null ? other.getDisasterLon() == null : this.getDisasterLon().equals(other.getDisasterLon()))
&& (this.getDisasterLat() == null ? other.getDisasterLat() == null : this.getDisasterLat().equals(other.getDisasterLat()))
&& (this.getDisasterLevel() == null ? other.getDisasterLevel() == null : this.getDisasterLevel().equals(other.getDisasterLevel()))
&& (this.getDisasterCountry() == null ? other.getDisasterCountry() == null : this.getDisasterCountry().equals(other.getDisasterCountry()))
&& (this.getRespondStatus() == null ? other.getRespondStatus() == null : this.getRespondStatus().equals(other.getRespondStatus()))
&& (this.getSpidertype() == null ? other.getSpidertype() == null : this.getSpidertype().equals(other.getSpidertype()))
&& (this.getTempendtime() == null ? other.getTempendtime() == null : this.getTempendtime().equals(other.getTempendtime()))
&& (this.getTempregion() == null ? other.getTempregion() == null : this.getTempregion().equals(other.getTempregion()))
&& (this.getTempstarttime() == null ? other.getTempstarttime() == null : this.getTempstarttime().equals(other.getTempstarttime()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getOrganization() == null) ? 0 : getOrganization().hashCode());
result = prime * result + ((getRegion() == null) ? 0 : getRegion().hashCode());
result = prime * result + ((getDisasterType() == null) ? 0 : getDisasterType().hashCode());
result = prime * result + ((getDisasterKeyword() == null) ? 0 : getDisasterKeyword().hashCode());
result = prime * result + ((getDisasterTime() == null) ? 0 : getDisasterTime().hashCode());
result = prime * result + ((getRespondTime() == null) ? 0 : getRespondTime().hashCode());
result = prime * result + ((getUserProfession() == null) ? 0 : getUserProfession().hashCode());
result = prime * result + ((getUserResearchField() == null) ? 0 : getUserResearchField().hashCode());
result = prime * result + ((getDisasterLon() == null) ? 0 : getDisasterLon().hashCode());
result = prime * result + ((getDisasterLat() == null) ? 0 : getDisasterLat().hashCode());
result = prime * result + ((getDisasterLevel() == null) ? 0 : getDisasterLevel().hashCode());
result = prime * result + ((getDisasterCountry() == null) ? 0 : getDisasterCountry().hashCode());
result = prime * result + ((getRespondStatus() == null) ? 0 : getRespondStatus().hashCode());
result = prime * result + ((getSpidertype() == null) ? 0 : getSpidertype().hashCode());
result = prime * result + ((getTempendtime() == null) ? 0 : getTempendtime().hashCode());
result = prime * result + ((getTempregion() == null) ? 0 : getTempregion().hashCode());
result = prime * result + ((getTempstarttime() == null) ? 0 : getTempstarttime().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", userName=").append(userName);
sb.append(", email=").append(email);
sb.append(", organization=").append(organization);
sb.append(", region=").append(region);
sb.append(", disasterType=").append(disasterType);
sb.append(", disasterKeyword=").append(disasterKeyword);
sb.append(", disasterTime=").append(disasterTime);
sb.append(", respondTime=").append(respondTime);
sb.append(", userProfession=").append(userProfession);
sb.append(", userResearchField=").append(userResearchField);
sb.append(", disasterLon=").append(disasterLon);
sb.append(", disasterLat=").append(disasterLat);
sb.append(", disasterLevel=").append(disasterLevel);
sb.append(", disasterCountry=").append(disasterCountry);
sb.append(", respondStatus=").append(respondStatus);
sb.append(", spidertype=").append(spidertype);
sb.append(", tempendtime=").append(tempendtime);
sb.append(", tempregion=").append(tempregion);
sb.append(", tempstarttime=").append(tempstarttime);
sb.append(", createTime=").append(createTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -103,86 +103,4 @@ public class SocialMedia implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
SocialMedia other = (SocialMedia) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getFavoriteCount() == null ? other.getFavoriteCount() == null : this.getFavoriteCount().equals(other.getFavoriteCount()))
&& (this.getReplyCount() == null ? other.getReplyCount() == null : this.getReplyCount().equals(other.getReplyCount()))
&& (this.getRetweetCount() == null ? other.getRetweetCount() == null : this.getRetweetCount().equals(other.getRetweetCount()))
&& (this.getGeo() == null ? other.getGeo() == null : this.getGeo().equals(other.getGeo()))
&& (this.getCoordinates() == null ? other.getCoordinates() == null : this.getCoordinates().equals(other.getCoordinates()))
&& (this.getPlace() == null ? other.getPlace() == null : this.getPlace().equals(other.getPlace()))
&& (this.getContributors() == null ? other.getContributors() == null : this.getContributors().equals(other.getContributors()))
&& (this.getTopic() == null ? other.getTopic() == null : this.getTopic().equals(other.getTopic()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getFavoriteCount() == null) ? 0 : getFavoriteCount().hashCode());
result = prime * result + ((getReplyCount() == null) ? 0 : getReplyCount().hashCode());
result = prime * result + ((getRetweetCount() == null) ? 0 : getRetweetCount().hashCode());
result = prime * result + ((getGeo() == null) ? 0 : getGeo().hashCode());
result = prime * result + ((getCoordinates() == null) ? 0 : getCoordinates().hashCode());
result = prime * result + ((getPlace() == null) ? 0 : getPlace().hashCode());
result = prime * result + ((getContributors() == null) ? 0 : getContributors().hashCode());
result = prime * result + ((getTopic() == null) ? 0 : getTopic().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", link=").append(link);
sb.append(", time=").append(time);
sb.append(", content=").append(content);
sb.append(", userId=").append(userId);
sb.append(", favoriteCount=").append(favoriteCount);
sb.append(", replyCount=").append(replyCount);
sb.append(", retweetCount=").append(retweetCount);
sb.append(", geo=").append(geo);
sb.append(", coordinates=").append(coordinates);
sb.append(", place=").append(place);
sb.append(", contributors=").append(contributors);
sb.append(", topic=").append(topic);
sb.append(", createTime=").append(createTime);
sb.append(", disasterId=").append(disasterId);
sb.append(", type=").append(type);
sb.append(", status=").append(status);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -58,59 +58,4 @@ public class Tool implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Tool other = (Tool) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getToolName() == null ? other.getToolName() == null : this.getToolName().equals(other.getToolName()))
&& (this.getLabel() == null ? other.getLabel() == null : this.getLabel().equals(other.getLabel()))
&& (this.getIntroduction() == null ? other.getIntroduction() == null : this.getIntroduction().equals(other.getIntroduction()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getDetail() == null ? other.getDetail() == null : this.getDetail().equals(other.getDetail()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getToolName() == null) ? 0 : getToolName().hashCode());
result = prime * result + ((getLabel() == null) ? 0 : getLabel().hashCode());
result = prime * result + ((getIntroduction() == null) ? 0 : getIntroduction().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getDetail() == null) ? 0 : getDetail().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", toolName=").append(toolName);
sb.append(", label=").append(label);
sb.append(", introduction=").append(introduction);
sb.append(", link=").append(link);
sb.append(", email=").append(email);
sb.append(", detail=").append(detail);
sb.append(", createTime=").append(createTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -88,77 +88,4 @@ public class VoluntaryUploadingData implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
VoluntaryUploadingData other = (VoluntaryUploadingData) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
&& (this.getPlace() == null ? other.getPlace() == null : this.getPlace().equals(other.getPlace()))
&& (this.getProfession() == null ? other.getProfession() == null : this.getProfession().equals(other.getProfession()))
&& (this.getJobTitle() == null ? other.getJobTitle() == null : this.getJobTitle().equals(other.getJobTitle()))
&& (this.getField() == null ? other.getField() == null : this.getField().equals(other.getField()))
&& (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getSize() == null ? other.getSize() == null : this.getSize().equals(other.getSize()))
&& (this.getDetails() == null ? other.getDetails() == null : this.getDetails().equals(other.getDetails()))
&& (this.getUploadtime() == null ? other.getUploadtime() == null : this.getUploadtime().equals(other.getUploadtime()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
result = prime * result + ((getPlace() == null) ? 0 : getPlace().hashCode());
result = prime * result + ((getProfession() == null) ? 0 : getProfession().hashCode());
result = prime * result + ((getJobTitle() == null) ? 0 : getJobTitle().hashCode());
result = prime * result + ((getField() == null) ? 0 : getField().hashCode());
result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getSize() == null) ? 0 : getSize().hashCode());
result = prime * result + ((getDetails() == null) ? 0 : getDetails().hashCode());
result = prime * result + ((getUploadtime() == null) ? 0 : getUploadtime().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", realName=").append(realName);
sb.append(", place=").append(place);
sb.append(", profession=").append(profession);
sb.append(", jobTitle=").append(jobTitle);
sb.append(", field=").append(field);
sb.append(", email=").append(email);
sb.append(", type=").append(type);
sb.append(", size=").append(size);
sb.append(", details=").append(details);
sb.append(", uploadtime=").append(uploadtime);
sb.append(", disasterId=").append(disasterId);
sb.append(", link=").append(link);
sb.append(", createTime=").append(createTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -48,53 +48,4 @@ public class Websites implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Websites other = (Websites) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getProvider() == null ? other.getProvider() == null : this.getProvider().equals(other.getProvider()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getProvider() == null) ? 0 : getProvider().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", title=").append(title);
sb.append(", link=").append(link);
sb.append(", provider=").append(provider);
sb.append(", disasterId=").append(disasterId);
sb.append(", createTime=").append(createTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }

View File

@ -53,56 +53,4 @@ public class WordColuds implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
WordColuds other = (WordColuds) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime()))
&& (this.getFrequency() == null ? other.getFrequency() == null : this.getFrequency().equals(other.getFrequency()))
&& (this.getWord() == null ? other.getWord() == null : this.getWord().equals(other.getWord()))
&& (this.getDisasterId() == null ? other.getDisasterId() == null : this.getDisasterId().equals(other.getDisasterId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode());
result = prime * result + ((getFrequency() == null) ? 0 : getFrequency().hashCode());
result = prime * result + ((getWord() == null) ? 0 : getWord().hashCode());
result = prime * result + ((getDisasterId() == null) ? 0 : getDisasterId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", time=").append(time);
sb.append(", frequency=").append(frequency);
sb.append(", word=").append(word);
sb.append(", disasterId=").append(disasterId);
sb.append(", createTime=").append(createTime);
sb.append(", status=").append(status);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
} }