From 698f8f0f22af4c66581ce284407e986ca036aec6 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 23 一月 2025 17:10:26 +0800
Subject: [PATCH] 1. 网格细分逻辑(编写中)

---
 src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 47 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java b/src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java
index 8d3bd89..9772b6e 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java
+++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java
@@ -41,6 +41,16 @@
     private Date createTime;
 
     /**
+     * 缃戞牸杈归暱锛堝崟浣嶏細绫筹級
+     */
+    private Double length;
+
+    /**
+     * 缃戞牸绫诲瀷锛宱rigin锛氬師濮嬬綉鏍硷紱sub锛氬瓙缃戞牸锛堢粏鍒嗙綉鏍硷級
+     */
+    private String type;
+
+    /**
      * @return id
      */
     public Integer getId() {
@@ -171,7 +181,7 @@
     }
 
     /**
-     * @return towm_name
+     * @return town_name
      */
     public String getTownName() {
         return townName;
@@ -197,4 +207,40 @@
     public void setCreateTime(Date createTime) {
         this.createTime = createTime;
     }
+
+    /**
+     * 鑾峰彇缃戞牸杈归暱锛堝崟浣嶏細绫筹級
+     *
+     * @return length - 缃戞牸杈归暱锛堝崟浣嶏細绫筹級
+     */
+    public Double getLength() {
+        return length;
+    }
+
+    /**
+     * 璁剧疆缃戞牸杈归暱锛堝崟浣嶏細绫筹級
+     *
+     * @param length 缃戞牸杈归暱锛堝崟浣嶏細绫筹級
+     */
+    public void setLength(Double length) {
+        this.length = length;
+    }
+
+    /**
+     * 鑾峰彇缃戞牸绫诲瀷锛宱rigin锛氬師濮嬬綉鏍硷紱sub锛氬瓙缃戞牸锛堢粏鍒嗙綉鏍硷級
+     *
+     * @return type - 缃戞牸绫诲瀷锛宱rigin锛氬師濮嬬綉鏍硷紱sub锛氬瓙缃戞牸锛堢粏鍒嗙綉鏍硷級
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * 璁剧疆缃戞牸绫诲瀷锛宱rigin锛氬師濮嬬綉鏍硷紱sub锛氬瓙缃戞牸锛堢粏鍒嗙綉鏍硷級
+     *
+     * @param type 缃戞牸绫诲瀷锛宱rigin锛氬師濮嬬綉鏍硷紱sub锛氬瓙缃戞牸锛堢粏鍒嗙綉鏍硷級
+     */
+    public void setType(String type) {
+        this.type = type == null ? null : type.trim();
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3