删除无用数据表

This commit is contained in:
liuchengqian 2023-01-10 13:44:25 +08:00
parent a6d15c664b
commit cab6ff55e8
4 changed files with 0 additions and 608 deletions

View File

@ -1,288 +0,0 @@
package com.xkrs.model.entity;
import javax.persistence.*;
/**
* @author XinYi Song
*/
@Entity
@Table(name="fire")
public class FirePoint {
/**
* 指定主键建立自增序列主键值取自序列
*/
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "fire_seq_gen")
@SequenceGenerator(name = "fire_seq_gen", sequenceName = "fire_id_seq",allocationSize = 1)
private Integer id;
/**
* 火点编码
*/
@Column( length = 32,unique = true,columnDefinition = "varchar(32)")
private String fireCode;
/**
* 经度
*/
private double longitude;
/**
* 纬度
*/
private double latitude;
/**
* 省市区的编码
*/
@Column(length = 32, columnDefinition = "varchar(32)")
private String countyCode;
/**
* 省市区的名称
*/
@Column( columnDefinition = "varchar(64)")
private String countyName;
/**
* 卫星监测的时间
*/
private String satelliteTime;
/**
* 卫星的类型
*/
@Column( columnDefinition = "varchar(64)")
private String satelliteType;
/**
* 植被类型
*/
@Column( columnDefinition = "varchar(64)")
private String landType;
/**
* 添加的时间
*/
private String addTime;
/**
* 置信度
*/
@Column(length = 32, columnDefinition = "varchar(32)")
private String confidence;
/**
* 详细地址
*/
private String firePointAddress;
/**
* 火点状态 0 发现 1预警 2核查 -1,3结案
*/
@Column(length = 32, columnDefinition = "varchar(32)")
private String fireType;
/**
* 当前火点的图片
*/
private String fireImage;
/**
* 卫星影像图片
*/
private String satelliteImage;
/**
* 火点前的图片
*/
private String beforeFireImage;
/**
* 火点后的图片
*/
private String afterFireImage;
public FirePoint() {
}
public FirePoint(Integer id, String fireCode, double longitude, double latitude, String countyCode, String countyName, String satelliteTime, String satelliteType, String landType, String addTime, String confidence, String firePointAddress, String fireType, String fireImage, String satelliteImage, String beforeFireImage, String afterFireImage) {
this.id = id;
this.fireCode = fireCode;
this.longitude = longitude;
this.latitude = latitude;
this.countyCode = countyCode;
this.countyName = countyName;
this.satelliteTime = satelliteTime;
this.satelliteType = satelliteType;
this.landType = landType;
this.addTime = addTime;
this.confidence = confidence;
this.firePointAddress = firePointAddress;
this.fireType = fireType;
this.fireImage = fireImage;
this.satelliteImage = satelliteImage;
this.beforeFireImage = beforeFireImage;
this.afterFireImage = afterFireImage;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getFireCode() {
return fireCode;
}
public void setFireCode(String fireCode) {
this.fireCode = fireCode;
}
public double getLongitude() {
return longitude;
}
public void setLongitude(double longitude) {
this.longitude = longitude;
}
public double getLatitude() {
return latitude;
}
public void setLatitude(double latitude) {
this.latitude = latitude;
}
public String getCountyCode() {
return countyCode;
}
public void setCountyCode(String countyCode) {
this.countyCode = countyCode;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String countyName) {
this.countyName = countyName;
}
public String getSatelliteTime() {
return satelliteTime;
}
public void setSatelliteTime(String satelliteTime) {
this.satelliteTime = satelliteTime;
}
public String getSatelliteType() {
return satelliteType;
}
public void setSatelliteType(String satelliteType) {
this.satelliteType = satelliteType;
}
public String getLandType() {
return landType;
}
public void setLandType(String landType) {
this.landType = landType;
}
public String getAddTime() {
return addTime;
}
public void setAddTime(String addTime) {
this.addTime = addTime;
}
public String getConfidence() {
return confidence;
}
public void setConfidence(String confidence) {
this.confidence = confidence;
}
public String getFirePointAddress() {
return firePointAddress;
}
public void setFirePointAddress(String firePointAddress) {
this.firePointAddress = firePointAddress;
}
public String getFireType() {
return fireType;
}
public void setFireType(String fireType) {
this.fireType = fireType;
}
public String getFireImage() {
return fireImage;
}
public void setFireImage(String fireImage) {
this.fireImage = fireImage;
}
public String getSatelliteImage() {
return satelliteImage;
}
public void setSatelliteImage(String satelliteImage) {
this.satelliteImage = satelliteImage;
}
public String getBeforeFireImage() {
return beforeFireImage;
}
public void setBeforeFireImage(String beforeFireImage) {
this.beforeFireImage = beforeFireImage;
}
public String getAfterFireImage() {
return afterFireImage;
}
public void setAfterFireImage(String afterFireImage) {
this.afterFireImage = afterFireImage;
}
@Override
public String toString() {
return "FirePoint{" +
"id=" + id +
", fireCode='" + fireCode + '\'' +
", longitude=" + longitude +
", latitude=" + latitude +
", countyCode='" + countyCode + '\'' +
", countyName='" + countyName + '\'' +
", satelliteTime='" + satelliteTime + '\'' +
", satelliteType='" + satelliteType + '\'' +
", landType='" + landType + '\'' +
", addTime='" + addTime + '\'' +
", confidence='" + confidence + '\'' +
", firePointAddress='" + firePointAddress + '\'' +
", fireType='" + fireType + '\'' +
", fireImage='" + fireImage + '\'' +
", satelliteImage='" + satelliteImage + '\'' +
", beforeFireImage='" + beforeFireImage + '\'' +
", afterFireImage='" + afterFireImage + '\'' +
'}';
}
}

View File

@ -1,91 +0,0 @@
package com.xkrs.model.entity;
import javax.persistence.*;
import java.io.Serializable;
/**
* @author xkrs
* 任务表
*/
@Entity
@Table(name = "fire_task")
public class FireTask implements Serializable {
/**
* id 主键
*/
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "fire_task_seq_gen")
@SequenceGenerator(name = "fire_task_seq_gen", sequenceName = "fire_task_id_seq",allocationSize = 1)
private Integer id;
/**
* 火点编码
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String taskFireCode;
/**
* 任务描述
*/
@Column(length = 2000, columnDefinition = "varchar(2000)")
private String taskInformation;
/**
* 提交任务的时间
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String taskTime;
public FireTask() {
}
public FireTask(Integer id, String taskFireCode, String taskInformation, String taskTime) {
this.id = id;
this.taskFireCode = taskFireCode;
this.taskInformation = taskInformation;
this.taskTime = taskTime;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getTaskFireCode() {
return taskFireCode;
}
public void setTaskFireCode(String taskFireCode) {
this.taskFireCode = taskFireCode;
}
public String getTaskInformation() {
return taskInformation;
}
public void setTaskInformation(String taskInformation) {
this.taskInformation = taskInformation;
}
public String getTaskTime() {
return taskTime;
}
public void setTaskTime(String taskTime) {
this.taskTime = taskTime;
}
@Override
public String toString() {
return "FireTask{" +
"id=" + id +
", taskFireCode='" + taskFireCode + '\'' +
", taskInformation='" + taskInformation + '\'' +
", taskTime='" + taskTime + '\'' +
'}';
}
}

View File

@ -1,74 +0,0 @@
package com.xkrs.model.entity;
import javax.persistence.*;
import java.io.Serializable;
/**
* @author xkrs
* 任务和图片中间表
*/
@Entity
@Table(name = "fire_task_photo")
public class FireTaskPhoto implements Serializable {
/**
* id 主键
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "fire_task_photo_seq_gen")
@SequenceGenerator(name = "fire_task_photo_seq_gen", sequenceName = "fire_task_photo_id_seq",allocationSize = 1)
private Integer id;
/**
* 火点编码
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String photoFireCode;
/**
* 任务图片链接
*/
@Column(length = 85, columnDefinition = "varchar(85)")
private String taskPhoto;
public FireTaskPhoto() {
}
public FireTaskPhoto(Integer id, String photoFireCode, String taskPhoto) {
this.id = id;
this.photoFireCode = photoFireCode;
this.taskPhoto = taskPhoto;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getPhotoFireCode() {
return photoFireCode;
}
public void setPhotoFireCode(String photoFireCode) {
this.photoFireCode = photoFireCode;
}
public String getTaskPhoto() {
return taskPhoto;
}
public void setTaskPhoto(String taskPhoto) {
this.taskPhoto = taskPhoto;
}
@Override
public String toString() {
return "FireTaskPhoto{" +
"id=" + id +
", photoFireCode='" + photoFireCode + '\'' +
", taskPhoto='" + taskPhoto + '\'' +
'}';
}
}

View File

@ -1,155 +0,0 @@
package com.xkrs.model.entity;
import javax.persistence.*;
import java.io.Serializable;
/**
* @author xkrs
* 护林员信息
*/
@Entity
@Table(name = "forest_ranger")
public class ForestRanger implements Serializable {
/**
* 主键
*/
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "forest_ranger_seq_gen")
@SequenceGenerator(name = "forest_ranger_seq_gen", sequenceName = "forest_ranger_id_seq",allocationSize = 1)
private Integer id;
/**
* 护林员的姓名
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String rangerName;
/**
* 护林员的电话
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String rangerPhone;
/**
* 纬度
*/
@Column(length = 85, columnDefinition = "varchar(85)")
private String rangerLatitude;
/**
* 经度
*/
@Column(length = 85, columnDefinition = "varchar(85)")
private String rangerLongitude;
/**
* 护林员所在市区县
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String rangerCountyName;
/**
* 市区县的编码
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String rangerCountyCode;
/**
* 护林员的状态0空闲 1正在执行任务
*/
@Column(length = 65, columnDefinition = "varchar(65)")
private String rangerType;
public ForestRanger() {
}
public ForestRanger(Integer id, String rangerName, String rangerPhone, String rangerLatitude, String rangerLongitude, String rangerCountyName, String rangerCountyCode, String rangerType) {
this.id = id;
this.rangerName = rangerName;
this.rangerPhone = rangerPhone;
this.rangerLatitude = rangerLatitude;
this.rangerLongitude = rangerLongitude;
this.rangerCountyName = rangerCountyName;
this.rangerCountyCode = rangerCountyCode;
this.rangerType = rangerType;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRangerName() {
return rangerName;
}
public void setRangerName(String rangerName) {
this.rangerName = rangerName;
}
public String getRangerPhone() {
return rangerPhone;
}
public void setRangerPhone(String rangerPhone) {
this.rangerPhone = rangerPhone;
}
public String getRangerLatitude() {
return rangerLatitude;
}
public void setRangerLatitude(String rangerLatitude) {
this.rangerLatitude = rangerLatitude;
}
public String getRangerLongitude() {
return rangerLongitude;
}
public void setRangerLongitude(String rangerLongitude) {
this.rangerLongitude = rangerLongitude;
}
public String getRangerCountyName() {
return rangerCountyName;
}
public void setRangerCountyName(String rangerCountyName) {
this.rangerCountyName = rangerCountyName;
}
public String getRangerCountyCode() {
return rangerCountyCode;
}
public void setRangerCountyCode(String rangerCountyCode) {
this.rangerCountyCode = rangerCountyCode;
}
public String getRangerType() {
return rangerType;
}
public void setRangerType(String rangerType) {
this.rangerType = rangerType;
}
@Override
public String toString() {
return "XkRsForestRanger{" +
"id=" + id +
", rangerName='" + rangerName + '\'' +
", rangerPhone='" + rangerPhone + '\'' +
", rangerLatitude='" + rangerLatitude + '\'' +
", rangerLongitude='" + rangerLongitude + '\'' +
", rangerCountyName='" + rangerCountyName + '\'' +
", rangerCountyCode='" + rangerCountyCode + '\'' +
", rangerType='" + rangerType + '\'' +
'}';
}
}