From c56e1e74426238939f229f0005828d05089715ff Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 03 七月 2025 17:30:58 +0800 Subject: [PATCH] 2025.7.3 1. 新增动态污染溯源新的判定逻辑 --- src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java | 143 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 143 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java b/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java index 1af716d..d98aadf 100644 --- a/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java +++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java @@ -20,8 +20,35 @@ @Column(name = "end_time") private Date endTime; + /** + * 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + */ + @Column(name = "data_pulled") + private Boolean dataPulled; + + @Column(name = "province_code") + private String provinceCode; + + @Column(name = "province_name") + private String provinceName; + + @Column(name = "city_code") + private String cityCode; + + @Column(name = "city_name") + private String cityName; + + @Column(name = "district_code") + private String districtCode; + @Column(name = "district_name") private String districtName; + + @Column(name = "town_code") + private String townCode; + + @Column(name = "town_name") + private String townName; /** * @return mission_code @@ -94,6 +121,94 @@ } /** + * 鑾峰彇鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + * + * @return data_pulled - 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + */ + public Boolean getDataPulled() { + return dataPulled; + } + + /** + * 璁剧疆鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + * + * @param dataPulled 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + */ + public void setDataPulled(Boolean dataPulled) { + this.dataPulled = dataPulled; + } + + /** + * @return province_code + */ + public String getProvinceCode() { + return provinceCode; + } + + /** + * @param provinceCode + */ + public void setProvinceCode(String provinceCode) { + this.provinceCode = provinceCode == null ? null : provinceCode.trim(); + } + + /** + * @return province_name + */ + public String getProvinceName() { + return provinceName; + } + + /** + * @param provinceName + */ + public void setProvinceName(String provinceName) { + this.provinceName = provinceName == null ? null : provinceName.trim(); + } + + /** + * @return city_code + */ + public String getCityCode() { + return cityCode; + } + + /** + * @param cityCode + */ + public void setCityCode(String cityCode) { + this.cityCode = cityCode == null ? null : cityCode.trim(); + } + + /** + * @return city_name + */ + public String getCityName() { + return cityName; + } + + /** + * @param cityName + */ + public void setCityName(String cityName) { + this.cityName = cityName == null ? null : cityName.trim(); + } + + /** + * @return district_code + */ + public String getDistrictCode() { + return districtCode; + } + + /** + * @param districtCode + */ + public void setDistrictCode(String districtCode) { + this.districtCode = districtCode == null ? null : districtCode.trim(); + } + + /** * @return district_name */ public String getDistrictName() { @@ -106,4 +221,32 @@ public void setDistrictName(String districtName) { this.districtName = districtName == null ? null : districtName.trim(); } + + /** + * @return town_code + */ + public String getTownCode() { + return townCode; + } + + /** + * @param townCode + */ + public void setTownCode(String townCode) { + this.townCode = townCode == null ? null : townCode.trim(); + } + + /** + * @return town_name + */ + public String getTownName() { + return townName; + } + + /** + * @param townName + */ + public void setTownName(String townName) { + this.townName = townName == null ? null : townName.trim(); + } } \ No newline at end of file -- Gitblit v1.9.3