From 0412a0125f484282c28d76905ca1f6397014b982 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期一, 30 十二月 2024 14:32:48 +0800 Subject: [PATCH] 1. 测试部分新增数据后期调整代码(一次性) 2. 优化走航路径自动归集路段功能 --- src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 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 e5a55f1..4272c58 100644 --- a/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java +++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/Mission.java @@ -20,6 +20,15 @@ @Column(name = "end_time") private Date endTime; + @Column(name = "district_name") + private String districtName; + + /** + * 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + */ + @Column(name = "data_pulled") + private Boolean dataPulled; + /** * @return mission_code */ @@ -89,4 +98,36 @@ public void setEndTime(Date endTime) { this.endTime = endTime; } + + /** + * @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 - 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + */ + public Boolean getDataPulled() { + return dataPulled; + } + + /** + * 璁剧疆鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + * + * @param dataPulled 鏁版嵁鏄惁宸茬粡鎷夊彇鍏ュ簱 + */ + public void setDataPulled(Boolean dataPulled) { + this.dataPulled = dataPulled; + } } \ No newline at end of file -- Gitblit v1.9.3