From 718aabb1db80e7efbb2e866ca3ae74bcd264e20a Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期一, 02 六月 2025 08:30:19 +0800 Subject: [PATCH] 1. 新增动态污染溯源新的判定逻辑(待完成) --- src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java | 73 ++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 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 9772b6e..0736389 100644 --- a/src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java +++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/GridGroup.java @@ -6,6 +6,7 @@ @Table(name = "grid_group") public class GridGroup { @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; /** @@ -49,6 +50,24 @@ * 缃戞牸绫诲瀷锛宱rigin锛氬師濮嬬綉鏍硷紱sub锛氬瓙缃戞牸锛堢粏鍒嗙綉鏍硷級 */ private String type; + + /** + * 褰撶綉鏍肩被鍨嬫槸Sub锛堝瓙缃戞牸锛夋椂锛屾墍灞炵埗缃戞牸缁勭殑id + */ + @Column(name = "father_group_id") + private Integer fatherGroupId; + + /** + * 鏈�澶фí鍧愭爣 + */ + @Column(name = "max_xaxis") + private Integer maxXaxis; + + /** + * 鏈�澶х旱鍧愭爣 + */ + @Column(name = "max_yaxis") + private Integer maxYaxis; /** * @return id @@ -243,4 +262,58 @@ public void setType(String type) { this.type = type == null ? null : type.trim(); } + + /** + * 鑾峰彇褰撶綉鏍肩被鍨嬫槸Sub锛堝瓙缃戞牸锛夋椂锛屾墍灞炵埗缃戞牸缁勭殑id + * + * @return father_group_id - 褰撶綉鏍肩被鍨嬫槸Sub锛堝瓙缃戞牸锛夋椂锛屾墍灞炵埗缃戞牸缁勭殑id + */ + public Integer getFatherGroupId() { + return fatherGroupId; + } + + /** + * 璁剧疆褰撶綉鏍肩被鍨嬫槸Sub锛堝瓙缃戞牸锛夋椂锛屾墍灞炵埗缃戞牸缁勭殑id + * + * @param fatherGroupId 褰撶綉鏍肩被鍨嬫槸Sub锛堝瓙缃戞牸锛夋椂锛屾墍灞炵埗缃戞牸缁勭殑id + */ + public void setFatherGroupId(Integer fatherGroupId) { + this.fatherGroupId = fatherGroupId; + } + + /** + * 鑾峰彇鏈�澶фí鍧愭爣 + * + * @return max_xaxis - 鏈�澶фí鍧愭爣 + */ + public Integer getMaxXaxis() { + return maxXaxis; + } + + /** + * 璁剧疆鏈�澶фí鍧愭爣 + * + * @param maxXaxis 鏈�澶фí鍧愭爣 + */ + public void setMaxXaxis(Integer maxXaxis) { + this.maxXaxis = maxXaxis; + } + + /** + * 鑾峰彇鏈�澶х旱鍧愭爣 + * + * @return max_yaxis - 鏈�澶х旱鍧愭爣 + */ + public Integer getMaxYaxis() { + return maxYaxis; + } + + /** + * 璁剧疆鏈�澶х旱鍧愭爣 + * + * @param maxYaxis 鏈�澶х旱鍧愭爣 + */ + public void setMaxYaxis(Integer maxYaxis) { + this.maxYaxis = maxYaxis; + } } \ No newline at end of file -- Gitblit v1.9.3