From 2de612e9b260df2e76d4dd620ca739aa3b6e8c57 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 25 八月 2025 16:07:16 +0800
Subject: [PATCH] 2025.8.25 1. 添加走航季度报告相关统计功能(待完成)

---
 src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java |   81 ++++++++++++++++++++++++++++++++++++----
 1 files changed, 72 insertions(+), 9 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 d98aadf..68280ab 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java
+++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java
@@ -20,9 +20,6 @@
     @Column(name = "end_time")
     private Date endTime;
 
-    /**
-     * 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
-     */
     @Column(name = "data_pulled")
     private Boolean dataPulled;
 
@@ -49,6 +46,22 @@
 
     @Column(name = "town_name")
     private String townName;
+
+    /**
+     * 閲岀▼鏁帮紝鍏噷
+     */
+    private Float kilometres;
+
+    /**
+     * 鎵�灞炲尯鍩�
+     */
+    private String region;
+
+    /**
+     * 绌烘皵璐ㄩ噺绛夌骇
+     */
+    @Column(name = "pollution_degree")
+    private String pollutionDegree;
 
     /**
      * @return mission_code
@@ -121,18 +134,14 @@
     }
 
     /**
-     * 鑾峰彇鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
-     *
-     * @return data_pulled - 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
+     * @return data_pulled
      */
     public Boolean getDataPulled() {
         return dataPulled;
     }
 
     /**
-     * 璁剧疆鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
-     *
-     * @param dataPulled 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱
+     * @param dataPulled
      */
     public void setDataPulled(Boolean dataPulled) {
         this.dataPulled = dataPulled;
@@ -249,4 +258,58 @@
     public void setTownName(String townName) {
         this.townName = townName == null ? null : townName.trim();
     }
+
+    /**
+     * 鑾峰彇閲岀▼鏁帮紝鍏噷
+     *
+     * @return kilometres - 閲岀▼鏁帮紝鍏噷
+     */
+    public Float getKilometres() {
+        return kilometres;
+    }
+
+    /**
+     * 璁剧疆閲岀▼鏁帮紝鍏噷
+     *
+     * @param kilometres 閲岀▼鏁帮紝鍏噷
+     */
+    public void setKilometres(Float kilometres) {
+        this.kilometres = kilometres;
+    }
+
+    /**
+     * 鑾峰彇鎵�灞炲尯鍩�
+     *
+     * @return region - 鎵�灞炲尯鍩�
+     */
+    public String getRegion() {
+        return region;
+    }
+
+    /**
+     * 璁剧疆鎵�灞炲尯鍩�
+     *
+     * @param region 鎵�灞炲尯鍩�
+     */
+    public void setRegion(String region) {
+        this.region = region == null ? null : region.trim();
+    }
+
+    /**
+     * 鑾峰彇绌烘皵璐ㄩ噺绛夌骇
+     *
+     * @return pollution_degree - 绌烘皵璐ㄩ噺绛夌骇
+     */
+    public String getPollutionDegree() {
+        return pollutionDegree;
+    }
+
+    /**
+     * 璁剧疆绌烘皵璐ㄩ噺绛夌骇
+     *
+     * @param pollutionDegree 绌烘皵璐ㄩ噺绛夌骇
+     */
+    public void setPollutionDegree(String pollutionDegree) {
+        this.pollutionDegree = pollutionDegree == null ? null : pollutionDegree.trim();
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3