基本类型生成

This commit is contained in:
glj 2023-03-21 16:28:01 +08:00
parent e3e2c0566a
commit 56ba411486
60 changed files with 2643 additions and 0 deletions

View File

@ -0,0 +1,172 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 其他上传的实体数据
* @TableName entity_data
*/
@TableName(value ="entity_data")
@Data
public class EntityData implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 数据来源机构
*/
private String source;
/**
* 数据名称
*/
private String title;
/**
* 数据产品提供者
*/
private String provider;
/**
* 数据产品的大小
*/
private Integer size;
/**
* 数据类型制图产品减灾产品和其他数据
*/
private String type;
/**
* 数据下载链接网站上对象存储路径
*/
private String link;
/**
* 数据备注
*/
private String remark;
/**
* 提交时间
*/
private Date applyTime;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 可视化可视化标志0-不可可视化1-表示可以可视化
*/
private Integer visualFlag;
/**
* 可视化跳转中心经度
*/
private Double visualLon;
/**
* 可视化跳转中心纬度
*/
private Double visualLat;
/**
* 是否由志愿者上传0-不是1-
*/
private Integer voluntaryFlag;
/**
* 数据条目创建时间
*/
private Date createTime;
@TableField(exist = false)
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

@ -0,0 +1,108 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 热点区域数据
* @TableName hotspot
*/
@TableName(value ="hotspot")
@Data
public class Hotspot implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 区域_中文
*/
private String areaCn;
/**
* 区域_英文
*/
private String areaEn;
/**
* 出现频次
*/
private Integer frequency;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 数据条目创建时间
*/
private Date createTime;
/**
* 是否保留此条目0为未审核1为审核保留2为审核不保留
*/
private Integer status;
@TableField(exist = false)
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

@ -0,0 +1,92 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
/**
* 上传基础地理数据并发布到geoserver上记录geoserver的存储信息
* @TableName map_server
*/
@TableName(value ="map_server")
@Data
public class MapServer implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 展示在前端的名字
*/
private String name;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 缩放纬度
*/
private Double lat;
/**
* 缩放经度
*/
private Double lon;
@TableField(exist = false)
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

@ -0,0 +1,116 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 新闻咨询数据表
* @TableName news
*/
@TableName(value ="news")
@Data
public class News implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 新闻名称
*/
private String title;
/**
* 新闻内容
*/
private String content;
/**
* 新闻链接
*/
private String link;
/**
* 新闻类型baidu,bing0-baidu ,1-bing
*/
private Integer type;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 数据条目创建时间
*/
private Date createTime;
/**
* 是否保留此条目0为未审核1为审核保留2为审核不保留
*/
private Integer status;
@TableField(exist = false)
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

@ -0,0 +1,108 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
* @TableName picture_info
*/
@TableName(value ="picture_info")
@Data
public class PictureInfo implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 数据存储链接
*/
private String link;
/**
* 数据大小byte
*/
private Integer size;
/**
* 数据格式jpgpng
*/
private String type;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 创建时间
*/
private Date createTime;
/**
* 是否为主页显示0为不是1为是
*/
private Integer isMain;
@TableField(exist = false)
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

@ -0,0 +1,260 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 遥感影像源数据
* @TableName remote_sensing_source_data
*/
@TableName(value ="remote_sensing_source_data")
@Data
public class RemoteSensingSourceData implements Serializable {
/**
* 主键
*/
@TableId
private Long id;
/**
* 影像缩略图地址
*/
private String thumbnailLink;
/**
* 产品级别
*/
private String productLevel;
/**
* 产品序列号
*/
private String productSerialNum;
/**
* 生产时间
*/
private Date productTime;
/**
* 产品波段树
*/
private Integer productBandsNum;
/**
* 产品分辨率
*/
private Double productResolution;
/**
* 原始数据条带号
*/
private Integer rawDataStripeNum;
/**
* 云层覆盖量
*/
private Integer cloudCover;
/**
* 产品大小(MB为单位)
*/
private Integer productSize;
/**
* 投影带号
*/
private Integer projectBandNum;
/**
* 覆盖区域
*/
private String coverageArea;
/**
* 卫星代号
*/
private String satelliteCode;
/**
* 接收时间
*/
private Date receivingTime;
/**
* 左上纬度
*/
private Double upperLeftLat;
/**
* 左上经度
*/
private Double upperLeftLon;
/**
* 右上纬度
*/
private Double upperRightLat;
/**
* 右上经度
*/
private Double upperRightLon;
/**
* 景中心纬度
*/
private Double viewCenterLat;
/**
* 景中心经度
*/
private Double viewCenterLon;
/**
* 右下纬度
*/
private Double lowerRightLat;
/**
* 右下经度
*/
private Double lowerRightLon;
/**
* 左下纬度
*/
private Double lowerLeftLat;
/**
* 左下经度
*/
private Double lowerLeftLon;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 数据条目创建时间
*/
private Date createTime;
@TableField(exist = false)
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

@ -0,0 +1,220 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 存放具体灾害的数据库其id用于作为灾害id用于检索每个具体灾害的信息
* @TableName respond_info
*/
@TableName(value ="respond_info")
@Data
public class RespondInfo implements Serializable {
/**
* 唯一值
*/
@TableId
private Long id;
/**
* 用户姓名
*/
private String userName;
/**
* 邮箱
*/
private String email;
/**
* 组织机构
*/
private String organization;
/**
* 地区
*/
private String region;
/**
* 灾害类型
*/
private String disasterType;
/**
* 灾害关键词
*/
private String disasterKeyword;
/**
* 灾害发生时间
*/
private Date disasterTime;
/**
* 灾害响应时间
*/
private Date respondTime;
/**
* 用户职业
*/
private String userProfession;
/**
* 用户研究领域
*/
private String userResearchField;
/**
* 灾害发生地经度
*/
private Double disasterLon;
/**
* 灾害发生地纬度
*/
private Double disasterLat;
/**
* 灾害强度或震级
*/
private String disasterLevel;
/**
* 受灾国家
*/
private String disasterCountry;
/**
* 响应状态0未响应1响应中2响应已完成
*/
private Integer respondStatus;
/**
* 爬虫类型
*/
private Integer spidertype;
/**
* 爬虫起始时间
*/
private Date tempendtime;
/**
* 爬虫区域范围
*/
private String tempregion;
/**
* 爬虫终止时间
*/
private Date tempstarttime;
/**
* 数据条目创建时间
*/
private Date createTime;
@TableField(exist = false)
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

@ -0,0 +1,188 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 社交媒体数据表主要指twitterfacebook,微博等数据来源重要字段 time-content
* @TableName social_media
*/
@TableName(value ="social_media")
@Data
public class SocialMedia implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 推文标签链接
*/
private String link;
/**
* 推文发表时间
*/
private Date time;
/**
* 推文内容
*/
private String content;
/**
* 用户id
*/
private Integer userId;
/**
* 点赞数量
*/
private Integer favoriteCount;
/**
* 回复数
*/
private Integer replyCount;
/**
* 转发次数
*/
private Integer retweetCount;
/**
* 地理字段
*/
private String geo;
/**
* 坐标
*/
private String coordinates;
/**
* 发文地
*/
private String place;
/**
* 贡献者
*/
private String contributors;
/**
* 推文主题
*/
private String topic;
/**
* 数据条目创建时间
*/
private Date createTime;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 数据类型0-twitter ,1-weibo
*/
private Integer type;
/**
* 审核状态0为未审核1为审核保留2为审核不保留
*/
private Integer status;
@TableField(exist = false)
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

@ -0,0 +1,116 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 模型工具表
* @TableName tool
*/
@TableName(value ="tool")
@Data
public class Tool implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 工具名称
*/
private String toolName;
/**
* 数据标签
*/
private String label;
/**
* 导论
*/
private String introduction;
/**
* 工具链接
*/
private String link;
/**
* 联系方式
*/
private String email;
/**
* 对模型的进一步描述
*/
private String detail;
/**
* 数据条目创建时间
*/
private Date createTime;
@TableField(exist = false)
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

@ -0,0 +1,164 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 自愿者上传数据
* @TableName voluntary_uploading_data
*/
@TableName(value ="voluntary_uploading_data")
@Data
public class VoluntaryUploadingData implements Serializable {
/**
*
*/
@TableId
private Long id;
/**
* 真实姓名
*/
private String realName;
/**
* 所在单位
*/
private String place;
/**
* 职业
*/
private String profession;
/**
* 职称
*/
private String jobTitle;
/**
* 领域
*/
private String field;
/**
* 邮箱
*/
private String email;
/**
* 数据格式
*/
private String type;
/**
* 数据大小(MB存储)
*/
private Integer size;
/**
* 数据说明
*/
private String details;
/**
* 上传时间
*/
private Date uploadtime;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 数据存储地址
*/
private String link;
/**
* 数据条目创建时间
*/
private Date createTime;
@TableField(exist = false)
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

@ -0,0 +1,100 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 减灾网址
* @TableName websites
*/
@TableName(value ="websites")
@Data
public class Websites implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 减灾网站名称
*/
private String title;
/**
* 减灾网站链接
*/
private String link;
/**
* 提供者
*/
private String provider;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 数据条目创建时间
*/
private Date createTime;
@TableField(exist = false)
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

@ -0,0 +1,108 @@
package com.kening.vordm.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 词云数据
* @TableName word_coluds
*/
@TableName(value ="word_coluds")
@Data
public class WordColuds implements Serializable {
/**
* 数据自增列
*/
@TableId
private Long id;
/**
* 该词组归属的时间
*/
private Date time;
/**
* 改词组的频次
*/
private Integer frequency;
/**
* 该词组
*/
private String word;
/**
* 灾害id
*/
private Integer disasterId;
/**
* 数据条目创建时间
*/
private Date createTime;
/**
* 审核状态0为未审核1为审核保留2为审核不保留
*/
private Integer status;
@TableField(exist = false)
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();
}
}

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.EntityData;
/**
* @author G1393
* @description 针对表entity_data(其他上传的实体数据)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.EntityData
*/
public interface EntityDataMapper extends BaseMapper<EntityData> {
}

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.EntityDataMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.EntityData">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="source" column="source" jdbcType="VARCHAR"/>
<result property="title" column="title" jdbcType="VARCHAR"/>
<result property="provider" column="provider" jdbcType="VARCHAR"/>
<result property="size" column="size" jdbcType="INTEGER"/>
<result property="type" column="type" jdbcType="VARCHAR"/>
<result property="link" column="link" jdbcType="VARCHAR"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
<result property="applyTime" column="apply_time" jdbcType="TIMESTAMP"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="visualFlag" column="visual_flag" jdbcType="INTEGER"/>
<result property="visualLon" column="visual_lon" jdbcType="DOUBLE"/>
<result property="visualLat" column="visual_lat" jdbcType="DOUBLE"/>
<result property="voluntaryFlag" column="voluntary_flag" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,source,title,
provider,size,type,
link,remark,apply_time,
disaster_id,visual_flag,visual_lon,
visual_lat,voluntary_flag,create_time
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.Hotspot;
/**
* @author G1393
* @description 针对表hotspot(热点区域数据)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.Hotspot
*/
public interface HotspotMapper extends BaseMapper<Hotspot> {
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.HotspotMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.Hotspot">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="areaCn" column="area_cn" jdbcType="VARCHAR"/>
<result property="areaEn" column="area_en" jdbcType="VARCHAR"/>
<result property="frequency" column="frequency" jdbcType="INTEGER"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="status" column="status" jdbcType="SMALLINT"/>
</resultMap>
<sql id="Base_Column_List">
id,area_cn,area_en,
frequency,disaster_id,create_time,
status
</sql>
</mapper>

View File

@ -0,0 +1,16 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.MapServer;
/**
* @author G1393
* @description 针对表map_server(上传基础地理数据并发布到geoserver上记录geoserver的存储信息
)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.MapServer
*/
public interface MapServerMapper extends BaseMapper<MapServer> {
}

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.MapServerMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.MapServer">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="lat" column="lat" jdbcType="DOUBLE"/>
<result property="lon" column="lon" jdbcType="DOUBLE"/>
</resultMap>
<sql id="Base_Column_List">
id,name,disaster_id,
lat,lon
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.News;
/**
* @author G1393
* @description 针对表news(新闻咨询数据表)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.News
*/
public interface NewsMapper extends BaseMapper<News> {
}

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.NewsMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.News">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="title" column="title" jdbcType="VARCHAR"/>
<result property="content" column="content" jdbcType="VARCHAR"/>
<result property="link" column="link" jdbcType="VARCHAR"/>
<result property="type" column="type" jdbcType="INTEGER"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="status" column="status" jdbcType="SMALLINT"/>
</resultMap>
<sql id="Base_Column_List">
id,title,content,
link,type,disaster_id,
create_time,status
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.PictureInfo;
/**
* @author G1393
* @description 针对表picture_info的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.PictureInfo
*/
public interface PictureInfoMapper extends BaseMapper<PictureInfo> {
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.PictureInfoMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.PictureInfo">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="link" column="link" jdbcType="VARCHAR"/>
<result property="size" column="size" jdbcType="INTEGER"/>
<result property="type" column="type" jdbcType="VARCHAR"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="isMain" column="is_main" jdbcType="SMALLINT"/>
</resultMap>
<sql id="Base_Column_List">
id,link,size,
type,disaster_id,create_time,
is_main
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.RemoteSensingSourceData;
/**
* @author G1393
* @description 针对表remote_sensing_source_data(遥感影像源数据)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.RemoteSensingSourceData
*/
public interface RemoteSensingSourceDataMapper extends BaseMapper<RemoteSensingSourceData> {
}

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.RemoteSensingSourceDataMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.RemoteSensingSourceData">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="thumbnailLink" column="thumbnail_link" jdbcType="VARCHAR"/>
<result property="productLevel" column="product_level" jdbcType="VARCHAR"/>
<result property="productSerialNum" column="product_serial_num" jdbcType="VARCHAR"/>
<result property="productTime" column="product_time" jdbcType="TIMESTAMP"/>
<result property="productBandsNum" column="product_bands_num" jdbcType="INTEGER"/>
<result property="productResolution" column="product_resolution" jdbcType="DOUBLE"/>
<result property="rawDataStripeNum" column="raw_data_stripe_num" jdbcType="INTEGER"/>
<result property="cloudCover" column="cloud_cover" jdbcType="INTEGER"/>
<result property="productSize" column="product_size" jdbcType="INTEGER"/>
<result property="projectBandNum" column="project_band_num" jdbcType="INTEGER"/>
<result property="coverageArea" column="coverage_area" jdbcType="VARCHAR"/>
<result property="satelliteCode" column="satellite_code" jdbcType="VARCHAR"/>
<result property="receivingTime" column="receiving_time" jdbcType="TIMESTAMP"/>
<result property="upperLeftLat" column="upper_left_lat" jdbcType="DOUBLE"/>
<result property="upperLeftLon" column="upper_left_lon" jdbcType="DOUBLE"/>
<result property="upperRightLat" column="upper_right_lat" jdbcType="DOUBLE"/>
<result property="upperRightLon" column="upper_right_lon" jdbcType="DOUBLE"/>
<result property="viewCenterLat" column="view_center_lat" jdbcType="DOUBLE"/>
<result property="viewCenterLon" column="view_center_lon" jdbcType="DOUBLE"/>
<result property="lowerRightLat" column="lower_right_lat" jdbcType="DOUBLE"/>
<result property="lowerRightLon" column="lower_right_lon" jdbcType="DOUBLE"/>
<result property="lowerLeftLat" column="lower_left_lat" jdbcType="DOUBLE"/>
<result property="lowerLeftLon" column="lower_left_lon" jdbcType="DOUBLE"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,thumbnail_link,product_level,
product_serial_num,product_time,product_bands_num,
product_resolution,raw_data_stripe_num,cloud_cover,
product_size,project_band_num,coverage_area,
satellite_code,receiving_time,upper_left_lat,
upper_left_lon,upper_right_lat,upper_right_lon,
view_center_lat,view_center_lon,lower_right_lat,
lower_right_lon,lower_left_lat,lower_left_lon,
disaster_id,create_time
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.RespondInfo;
/**
* @author G1393
* @description 针对表respond_info(存放具体灾害的数据库其id用于作为灾害id用于检索每个具体灾害的信息)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.RespondInfo
*/
public interface RespondInfoMapper extends BaseMapper<RespondInfo> {
}

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.RespondInfoMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.RespondInfo">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
<result property="email" column="email" jdbcType="VARCHAR"/>
<result property="organization" column="organization" jdbcType="VARCHAR"/>
<result property="region" column="region" jdbcType="VARCHAR"/>
<result property="disasterType" column="disaster_type" jdbcType="VARCHAR"/>
<result property="disasterKeyword" column="disaster_keyword" jdbcType="VARCHAR"/>
<result property="disasterTime" column="disaster_time" jdbcType="TIMESTAMP"/>
<result property="respondTime" column="respond_time" jdbcType="TIMESTAMP"/>
<result property="userProfession" column="user_profession" jdbcType="VARCHAR"/>
<result property="userResearchField" column="user_research_field" jdbcType="VARCHAR"/>
<result property="disasterLon" column="disaster_lon" jdbcType="DOUBLE"/>
<result property="disasterLat" column="disaster_lat" jdbcType="DOUBLE"/>
<result property="disasterLevel" column="disaster_level" jdbcType="VARCHAR"/>
<result property="disasterCountry" column="disaster_country" jdbcType="VARCHAR"/>
<result property="respondStatus" column="respond_status" jdbcType="SMALLINT"/>
<result property="spidertype" column="spidertype" jdbcType="INTEGER"/>
<result property="tempendtime" column="tempendtime" jdbcType="TIMESTAMP"/>
<result property="tempregion" column="tempregion" jdbcType="VARCHAR"/>
<result property="tempstarttime" column="tempstarttime" jdbcType="TIMESTAMP"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,user_name,email,
organization,region,disaster_type,
disaster_keyword,disaster_time,respond_time,
user_profession,user_research_field,disaster_lon,
disaster_lat,disaster_level,disaster_country,
respond_status,spidertype,tempendtime,
tempregion,tempstarttime,create_time
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.SocialMedia;
/**
* @author G1393
* @description 针对表social_media(社交媒体数据表主要指twitterfacebook,微博等数据来源重要字段 time-content)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.SocialMedia
*/
public interface SocialMediaMapper extends BaseMapper<SocialMedia> {
}

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.SocialMediaMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.SocialMedia">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="link" column="link" jdbcType="VARCHAR"/>
<result property="time" column="time" jdbcType="TIMESTAMP"/>
<result property="content" column="content" jdbcType="VARCHAR"/>
<result property="userId" column="user_id" jdbcType="INTEGER"/>
<result property="favoriteCount" column="favorite_count" jdbcType="INTEGER"/>
<result property="replyCount" column="reply_count" jdbcType="INTEGER"/>
<result property="retweetCount" column="retweet_count" jdbcType="INTEGER"/>
<result property="geo" column="geo" jdbcType="VARCHAR"/>
<result property="coordinates" column="coordinates" jdbcType="VARCHAR"/>
<result property="place" column="place" jdbcType="VARCHAR"/>
<result property="contributors" column="contributors" jdbcType="VARCHAR"/>
<result property="topic" column="topic" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="type" column="type" jdbcType="SMALLINT"/>
<result property="status" column="status" jdbcType="SMALLINT"/>
</resultMap>
<sql id="Base_Column_List">
id,link,time,
content,user_id,favorite_count,
reply_count,retweet_count,geo,
coordinates,place,contributors,
topic,create_time,disaster_id,
type,status
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.Tool;
/**
* @author G1393
* @description 针对表tool(模型工具表)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.Tool
*/
public interface ToolMapper extends BaseMapper<Tool> {
}

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.ToolMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.Tool">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="toolName" column="tool_name" jdbcType="VARCHAR"/>
<result property="label" column="label" jdbcType="VARCHAR"/>
<result property="introduction" column="Introduction" jdbcType="VARCHAR"/>
<result property="link" column="link" jdbcType="VARCHAR"/>
<result property="email" column="email" jdbcType="VARCHAR"/>
<result property="detail" column="detail" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,tool_name,label,
Introduction,link,email,
detail,create_time
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.VoluntaryUploadingData;
/**
* @author G1393
* @description 针对表voluntary_uploading_data(自愿者上传数据)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.VoluntaryUploadingData
*/
public interface VoluntaryUploadingDataMapper extends BaseMapper<VoluntaryUploadingData> {
}

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.VoluntaryUploadingDataMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.VoluntaryUploadingData">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="realName" column="real_name" jdbcType="VARCHAR"/>
<result property="place" column="place" jdbcType="VARCHAR"/>
<result property="profession" column="profession" jdbcType="VARCHAR"/>
<result property="jobTitle" column="job_title" jdbcType="VARCHAR"/>
<result property="field" column="field" jdbcType="VARCHAR"/>
<result property="email" column="email" jdbcType="VARCHAR"/>
<result property="type" column="type" jdbcType="VARCHAR"/>
<result property="size" column="size" jdbcType="INTEGER"/>
<result property="details" column="details" jdbcType="VARCHAR"/>
<result property="uploadtime" column="uploadtime" jdbcType="TIMESTAMP"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="link" column="link" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,real_name,place,
profession,job_title,field,
email,type,size,
details,uploadtime,disaster_id,
link,create_time
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.Websites;
/**
* @author G1393
* @description 针对表websites(减灾网址)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.Websites
*/
public interface WebsitesMapper extends BaseMapper<Websites> {
}

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.WebsitesMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.Websites">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="title" column="title" jdbcType="VARCHAR"/>
<result property="link" column="link" jdbcType="VARCHAR"/>
<result property="provider" column="provider" jdbcType="VARCHAR"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,title,link,
provider,disaster_id,create_time
</sql>
</mapper>

View File

@ -0,0 +1,15 @@
package com.kening.vordm.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kening.vordm.entity.WordColuds;
/**
* @author G1393
* @description 针对表word_coluds(词云数据)的数据库操作Mapper
* @createDate 2023-03-21 16:05:17
* @Entity vordm.domain.WordColuds
*/
public interface WordColudsMapper extends BaseMapper<WordColuds> {
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.kening.vordm.mapper.WordColudsMapper">
<resultMap id="BaseResultMap" type="com.kening.vordm.entity.WordColuds">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="time" column="time" jdbcType="TIMESTAMP"/>
<result property="frequency" column="frequency" jdbcType="INTEGER"/>
<result property="word" column="word" jdbcType="VARCHAR"/>
<result property="disasterId" column="disaster_id" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="status" column="status" jdbcType="SMALLINT"/>
</resultMap>
<sql id="Base_Column_List">
id,time,frequency,
word,disaster_id,create_time,
status
</sql>
</mapper>

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.EntityData;
/**
* @author G1393
* @description 针对表entity_data(其他上传的实体数据)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface EntityDataService extends IService<EntityData> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.Hotspot;
/**
* @author G1393
* @description 针对表hotspot(热点区域数据)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface HotspotService extends IService<Hotspot> {
}

View File

@ -0,0 +1,14 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.MapServer;
/**
* @author G1393
* @description 针对表map_server(上传基础地理数据并发布到geoserver上记录geoserver的存储信息
)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface MapServerService extends IService<MapServer> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.News;
/**
* @author G1393
* @description 针对表news(新闻咨询数据表)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface NewsService extends IService<News> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.PictureInfo;
/**
* @author G1393
* @description 针对表picture_info的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface PictureInfoService extends IService<PictureInfo> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.RemoteSensingSourceData;
/**
* @author G1393
* @description 针对表remote_sensing_source_data(遥感影像源数据)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface RemoteSensingSourceDataService extends IService<RemoteSensingSourceData> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.RespondInfo;
/**
* @author G1393
* @description 针对表respond_info(存放具体灾害的数据库其id用于作为灾害id用于检索每个具体灾害的信息)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface RespondInfoService extends IService<RespondInfo> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.SocialMedia;
/**
* @author G1393
* @description 针对表social_media(社交媒体数据表主要指twitterfacebook,微博等数据来源重要字段 time-content)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface SocialMediaService extends IService<SocialMedia> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.Tool;
/**
* @author G1393
* @description 针对表tool(模型工具表)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface ToolService extends IService<Tool> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.VoluntaryUploadingData;
/**
* @author G1393
* @description 针对表voluntary_uploading_data(自愿者上传数据)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface VoluntaryUploadingDataService extends IService<VoluntaryUploadingData> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.Websites;
/**
* @author G1393
* @description 针对表websites(减灾网址)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface WebsitesService extends IService<Websites> {
}

View File

@ -0,0 +1,13 @@
package com.kening.vordm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kening.vordm.entity.WordColuds;
/**
* @author G1393
* @description 针对表word_coluds(词云数据)的数据库操作Service
* @createDate 2023-03-21 16:05:17
*/
public interface WordColudsService extends IService<WordColuds> {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.EntityData;
import com.kening.vordm.mapper.EntityDataMapper;
import com.kening.vordm.service.EntityDataService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表entity_data(其他上传的实体数据)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class EntityDataServiceImpl extends ServiceImpl<EntityDataMapper, EntityData>
implements EntityDataService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.Hotspot;
import com.kening.vordm.mapper.HotspotMapper;
import com.kening.vordm.service.HotspotService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表hotspot(热点区域数据)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class HotspotServiceImpl extends ServiceImpl<HotspotMapper, Hotspot>
implements HotspotService {
}

View File

@ -0,0 +1,19 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.MapServer;
import com.kening.vordm.mapper.MapServerMapper;
import com.kening.vordm.service.MapServerService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表map_server(上传基础地理数据并发布到geoserver上记录geoserver的存储信息
)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class MapServerServiceImpl extends ServiceImpl<MapServerMapper, MapServer>
implements MapServerService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.News;
import com.kening.vordm.mapper.NewsMapper;
import com.kening.vordm.service.NewsService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表news(新闻咨询数据表)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class NewsServiceImpl extends ServiceImpl<NewsMapper, News>
implements NewsService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.PictureInfo;
import com.kening.vordm.mapper.PictureInfoMapper;
import com.kening.vordm.service.PictureInfoService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表picture_info的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class PictureInfoServiceImpl extends ServiceImpl<PictureInfoMapper, PictureInfo>
implements PictureInfoService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.RemoteSensingSourceData;
import com.kening.vordm.mapper.RemoteSensingSourceDataMapper;
import com.kening.vordm.service.RemoteSensingSourceDataService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表remote_sensing_source_data(遥感影像源数据)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class RemoteSensingSourceDataServiceImpl extends ServiceImpl<RemoteSensingSourceDataMapper, RemoteSensingSourceData>
implements RemoteSensingSourceDataService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.RespondInfo;
import com.kening.vordm.mapper.RespondInfoMapper;
import com.kening.vordm.service.RespondInfoService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表respond_info(存放具体灾害的数据库其id用于作为灾害id用于检索每个具体灾害的信息)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class RespondInfoServiceImpl extends ServiceImpl<RespondInfoMapper, RespondInfo>
implements RespondInfoService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.SocialMedia;
import com.kening.vordm.mapper.SocialMediaMapper;
import com.kening.vordm.service.SocialMediaService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表social_media(社交媒体数据表主要指twitterfacebook,微博等数据来源重要字段 time-content)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class SocialMediaServiceImpl extends ServiceImpl<SocialMediaMapper, SocialMedia>
implements SocialMediaService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.Tool;
import com.kening.vordm.mapper.ToolMapper;
import com.kening.vordm.service.ToolService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表tool(模型工具表)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class ToolServiceImpl extends ServiceImpl<ToolMapper, Tool>
implements ToolService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.VoluntaryUploadingData;
import com.kening.vordm.mapper.VoluntaryUploadingDataMapper;
import com.kening.vordm.service.VoluntaryUploadingDataService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表voluntary_uploading_data(自愿者上传数据)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class VoluntaryUploadingDataServiceImpl extends ServiceImpl<VoluntaryUploadingDataMapper, VoluntaryUploadingData>
implements VoluntaryUploadingDataService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.Websites;
import com.kening.vordm.mapper.WebsitesMapper;
import com.kening.vordm.service.WebsitesService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表websites(减灾网址)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class WebsitesServiceImpl extends ServiceImpl<WebsitesMapper, Websites>
implements WebsitesService {
}

View File

@ -0,0 +1,18 @@
package com.kening.vordm.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kening.vordm.entity.WordColuds;
import com.kening.vordm.mapper.WordColudsMapper;
import com.kening.vordm.service.WordColudsService;
import org.springframework.stereotype.Service;
/**
* @author G1393
* @description 针对表word_coluds(词云数据)的数据库操作Service实现
* @createDate 2023-03-21 16:05:17
*/
@Service
public class WordColudsServiceImpl extends ServiceImpl<WordColudsMapper, WordColuds>
implements WordColudsService {
}