From 9a9a27f185bc0cf9dc0001cfc6839e6d13dbccd9 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 08 五月 2025 17:38:30 +0800
Subject: [PATCH] 1. 添加了动态污染溯源相关功能逻辑

---
 src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java |  153 +++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 136 insertions(+), 17 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 4272c58..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,14 +20,35 @@
     @Column(name = "end_time")
     private Date endTime;
 
-    @Column(name = "district_name")
-    private String districtName;
-
     /**
      * 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
      */
     @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
@@ -100,20 +121,6 @@
     }
 
     /**
-     * @return district_name
-     */
-    public String getDistrictName() {
-        return districtName;
-    }
-
-    /**
-     * @param districtName
-     */
-    public void setDistrictName(String districtName) {
-        this.districtName = districtName == null ? null : districtName.trim();
-    }
-
-    /**
      * 鑾峰彇鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
      *
      * @return data_pulled - 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
@@ -130,4 +137,116 @@
     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() {
+        return districtName;
+    }
+
+    /**
+     * @param districtName
+     */
+    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