优化
This commit is contained in:
parent
9aa39ddc1c
commit
06acc1588a
@ -21,21 +21,9 @@ public class FirePointOrdinaryEntity implements Serializable {
|
||||
/**
|
||||
* 火点编码
|
||||
*/
|
||||
@Column(length = 32, unique = true, columnDefinition = "varchar(32)")
|
||||
@Column(length = 64, unique = true, columnDefinition = "varchar(64)")
|
||||
private String fireCode;
|
||||
|
||||
/**
|
||||
* 省市区的编码
|
||||
*/
|
||||
@Column(length = 32, columnDefinition = "varchar(32)")
|
||||
private String countyCode;
|
||||
|
||||
/**
|
||||
* 省市区的名称
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String countyName;
|
||||
|
||||
/**
|
||||
* 卫星监测的时间
|
||||
*/
|
||||
@ -82,18 +70,6 @@ public class FirePointOrdinaryEntity implements Serializable {
|
||||
@Column(length = 512, columnDefinition = "varchar(512)")
|
||||
private String satelliteImage;
|
||||
|
||||
/**
|
||||
* 乡镇街道的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String townCode;
|
||||
|
||||
/**
|
||||
* 乡镇街道的名字
|
||||
*/
|
||||
@Column(length = 85, columnDefinition = "varchar(85)")
|
||||
private String townName;
|
||||
|
||||
/**
|
||||
* 添加的时间
|
||||
*/
|
||||
@ -112,6 +88,54 @@ public class FirePointOrdinaryEntity implements Serializable {
|
||||
@Column(length = 1024, columnDefinition = "varchar(1024)")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 省的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String proCode;
|
||||
|
||||
/**
|
||||
* 省的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String proName;
|
||||
|
||||
/**
|
||||
* 市的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String cityCode;
|
||||
|
||||
/**
|
||||
* 市的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String cityName;
|
||||
|
||||
/**
|
||||
* 区县的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String countyCode;
|
||||
|
||||
/**
|
||||
* 区县的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String countyName;
|
||||
|
||||
/**
|
||||
* 乡镇街道的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String townCode;
|
||||
|
||||
/**
|
||||
* 乡镇街道的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String townName;
|
||||
|
||||
public FirePointOrdinaryEntity() {
|
||||
}
|
||||
|
||||
@ -131,22 +155,6 @@ public class FirePointOrdinaryEntity implements Serializable {
|
||||
this.fireCode = fireCode;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@ -211,22 +219,6 @@ public class FirePointOrdinaryEntity implements Serializable {
|
||||
this.satelliteImage = satelliteImage;
|
||||
}
|
||||
|
||||
public String getTownCode() {
|
||||
return townCode;
|
||||
}
|
||||
|
||||
public void setTownCode(String townCode) {
|
||||
this.townCode = townCode;
|
||||
}
|
||||
|
||||
public String getTownName() {
|
||||
return townName;
|
||||
}
|
||||
|
||||
public void setTownName(String townName) {
|
||||
this.townName = townName;
|
||||
}
|
||||
|
||||
public String getAddTime() {
|
||||
return addTime;
|
||||
}
|
||||
@ -251,13 +243,75 @@ public class FirePointOrdinaryEntity implements Serializable {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getProCode() {
|
||||
return proCode;
|
||||
}
|
||||
|
||||
public void setProCode(String proCode) {
|
||||
this.proCode = proCode;
|
||||
}
|
||||
|
||||
public String getProName() {
|
||||
return proName;
|
||||
}
|
||||
|
||||
public void setProName(String proName) {
|
||||
this.proName = proName;
|
||||
}
|
||||
|
||||
public String getCityCode() {
|
||||
return cityCode;
|
||||
}
|
||||
|
||||
public void setCityCode(String cityCode) {
|
||||
this.cityCode = cityCode;
|
||||
}
|
||||
|
||||
public String getCityName() {
|
||||
return cityName;
|
||||
}
|
||||
|
||||
public void setCityName(String cityName) {
|
||||
this.cityName = cityName;
|
||||
}
|
||||
|
||||
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 getTownCode() {
|
||||
return townCode;
|
||||
}
|
||||
|
||||
public void setTownCode(String townCode) {
|
||||
this.townCode = townCode;
|
||||
}
|
||||
|
||||
public String getTownName() {
|
||||
return townName;
|
||||
}
|
||||
|
||||
public void setTownName(String townName) {
|
||||
this.townName = townName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "FirePointOrdinaryEntity{" +
|
||||
"id=" + id +
|
||||
", fireCode='" + fireCode + '\'' +
|
||||
", countyCode='" + countyCode + '\'' +
|
||||
", countyName='" + countyName + '\'' +
|
||||
", satelliteTime='" + satelliteTime + '\'' +
|
||||
", longitude=" + longitude +
|
||||
", latitude=" + latitude +
|
||||
@ -266,11 +320,17 @@ public class FirePointOrdinaryEntity implements Serializable {
|
||||
", confidence='" + confidence + '\'' +
|
||||
", fireImage='" + fireImage + '\'' +
|
||||
", satelliteImage='" + satelliteImage + '\'' +
|
||||
", townCode='" + townCode + '\'' +
|
||||
", townName='" + townName + '\'' +
|
||||
", addTime='" + addTime + '\'' +
|
||||
", firePointAddress='" + firePointAddress + '\'' +
|
||||
", remark='" + remark + '\'' +
|
||||
", proCode='" + proCode + '\'' +
|
||||
", proName='" + proName + '\'' +
|
||||
", cityCode='" + cityCode + '\'' +
|
||||
", cityName='" + cityName + '\'' +
|
||||
", countyCode='" + countyCode + '\'' +
|
||||
", countyName='" + countyName + '\'' +
|
||||
", townCode='" + townCode + '\'' +
|
||||
", townName='" + townName + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
@ -21,21 +21,9 @@ public class FirePointPreciseEntity implements Serializable {
|
||||
/**
|
||||
* 火点编码
|
||||
*/
|
||||
@Column(length = 32, unique = true, columnDefinition = "varchar(32)")
|
||||
@Column(length = 64, unique = true, columnDefinition = "varchar(64)")
|
||||
private String fireCode;
|
||||
|
||||
/**
|
||||
* 省市区的编码
|
||||
*/
|
||||
@Column(length = 32, columnDefinition = "varchar(32)")
|
||||
private String countyCode;
|
||||
|
||||
/**
|
||||
* 省市区的名称
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String countyName;
|
||||
|
||||
/**
|
||||
* 卫星监测的时间
|
||||
*/
|
||||
@ -82,18 +70,6 @@ public class FirePointPreciseEntity implements Serializable {
|
||||
@Column(length = 512, columnDefinition = "varchar(512)")
|
||||
private String satelliteImage;
|
||||
|
||||
/**
|
||||
* 乡镇街道的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String townCode;
|
||||
|
||||
/**
|
||||
* 乡镇街道的名字
|
||||
*/
|
||||
@Column(length = 85, columnDefinition = "varchar(85)")
|
||||
private String townName;
|
||||
|
||||
/**
|
||||
* 添加的时间
|
||||
*/
|
||||
@ -112,6 +88,54 @@ public class FirePointPreciseEntity implements Serializable {
|
||||
@Column(length = 1024, columnDefinition = "varchar(1024)")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 省的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String proCode;
|
||||
|
||||
/**
|
||||
* 省的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String proName;
|
||||
|
||||
/**
|
||||
* 市的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String cityCode;
|
||||
|
||||
/**
|
||||
* 市的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String cityName;
|
||||
|
||||
/**
|
||||
* 区县的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String countyCode;
|
||||
|
||||
/**
|
||||
* 区县的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String countyName;
|
||||
|
||||
/**
|
||||
* 乡镇街道的编码
|
||||
*/
|
||||
@Column(length = 64, columnDefinition = "varchar(64)")
|
||||
private String townCode;
|
||||
|
||||
/**
|
||||
* 乡镇街道的名称
|
||||
*/
|
||||
@Column(length = 128, columnDefinition = "varchar(128)")
|
||||
private String townName;
|
||||
|
||||
public FirePointPreciseEntity() {
|
||||
}
|
||||
|
||||
@ -131,22 +155,6 @@ public class FirePointPreciseEntity implements Serializable {
|
||||
this.fireCode = fireCode;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
@ -211,22 +219,6 @@ public class FirePointPreciseEntity implements Serializable {
|
||||
this.satelliteImage = satelliteImage;
|
||||
}
|
||||
|
||||
public String getTownCode() {
|
||||
return townCode;
|
||||
}
|
||||
|
||||
public void setTownCode(String townCode) {
|
||||
this.townCode = townCode;
|
||||
}
|
||||
|
||||
public String getTownName() {
|
||||
return townName;
|
||||
}
|
||||
|
||||
public void setTownName(String townName) {
|
||||
this.townName = townName;
|
||||
}
|
||||
|
||||
public String getAddTime() {
|
||||
return addTime;
|
||||
}
|
||||
@ -251,13 +243,75 @@ public class FirePointPreciseEntity implements Serializable {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getProCode() {
|
||||
return proCode;
|
||||
}
|
||||
|
||||
public void setProCode(String proCode) {
|
||||
this.proCode = proCode;
|
||||
}
|
||||
|
||||
public String getProName() {
|
||||
return proName;
|
||||
}
|
||||
|
||||
public void setProName(String proName) {
|
||||
this.proName = proName;
|
||||
}
|
||||
|
||||
public String getCityCode() {
|
||||
return cityCode;
|
||||
}
|
||||
|
||||
public void setCityCode(String cityCode) {
|
||||
this.cityCode = cityCode;
|
||||
}
|
||||
|
||||
public String getCityName() {
|
||||
return cityName;
|
||||
}
|
||||
|
||||
public void setCityName(String cityName) {
|
||||
this.cityName = cityName;
|
||||
}
|
||||
|
||||
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 getTownCode() {
|
||||
return townCode;
|
||||
}
|
||||
|
||||
public void setTownCode(String townCode) {
|
||||
this.townCode = townCode;
|
||||
}
|
||||
|
||||
public String getTownName() {
|
||||
return townName;
|
||||
}
|
||||
|
||||
public void setTownName(String townName) {
|
||||
this.townName = townName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "FirePointPreciseEntity{" +
|
||||
"id=" + id +
|
||||
", fireCode='" + fireCode + '\'' +
|
||||
", countyCode='" + countyCode + '\'' +
|
||||
", countyName='" + countyName + '\'' +
|
||||
", satelliteTime='" + satelliteTime + '\'' +
|
||||
", longitude=" + longitude +
|
||||
", latitude=" + latitude +
|
||||
@ -266,11 +320,17 @@ public class FirePointPreciseEntity implements Serializable {
|
||||
", confidence='" + confidence + '\'' +
|
||||
", fireImage='" + fireImage + '\'' +
|
||||
", satelliteImage='" + satelliteImage + '\'' +
|
||||
", townCode='" + townCode + '\'' +
|
||||
", townName='" + townName + '\'' +
|
||||
", addTime='" + addTime + '\'' +
|
||||
", firePointAddress='" + firePointAddress + '\'' +
|
||||
", remark='" + remark + '\'' +
|
||||
", proCode='" + proCode + '\'' +
|
||||
", proName='" + proName + '\'' +
|
||||
", cityCode='" + cityCode + '\'' +
|
||||
", cityName='" + cityName + '\'' +
|
||||
", countyCode='" + countyCode + '\'' +
|
||||
", countyName='" + countyName + '\'' +
|
||||
", townCode='" + townCode + '\'' +
|
||||
", townName='" + townName + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user