From db447bb757b51f8d03e62d6ae4f183b4608723ef Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 07 三月 2025 17:10:43 +0800 Subject: [PATCH] 卫星遥测系统相关接口新增及调整 --- src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java b/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java index b55bf51..4ed0692 100644 --- a/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java +++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/GridCell.java @@ -6,13 +6,26 @@ @Table(name = "grid_cell") public class GridCell { @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; + + /** + * 缃戞牸绱㈠紩 + */ + @Column(name = "cell_index") + private Integer cellIndex; /** * 鎵�灞炵綉鏍煎垎缁刬d */ @Column(name = "group_id") private Integer groupId; + + /** + * 鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null + */ + @Column(name = "father_cell_index") + private Integer fatherCellIndex; /** * 缁忓害 @@ -87,6 +100,24 @@ } /** + * 鑾峰彇缃戞牸绱㈠紩 + * + * @return cell_index - 缃戞牸绱㈠紩 + */ + public Integer getCellIndex() { + return cellIndex; + } + + /** + * 璁剧疆缃戞牸绱㈠紩 + * + * @param cellIndex 缃戞牸绱㈠紩 + */ + public void setCellIndex(Integer cellIndex) { + this.cellIndex = cellIndex; + } + + /** * 鑾峰彇鎵�灞炵綉鏍煎垎缁刬d * * @return group_id - 鎵�灞炵綉鏍煎垎缁刬d @@ -105,6 +136,24 @@ } /** + * 鑾峰彇鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null + * + * @return father_cell_index - 鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null + */ + public Integer getFatherCellIndex() { + return fatherCellIndex; + } + + /** + * 璁剧疆鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null + * + * @param fatherCellIndex 鎵�灞炰笂绾х綉鏍肩殑绱㈠紩id,濡傛灉娌℃湁鍒欎负null + */ + public void setFatherCellIndex(Integer fatherCellIndex) { + this.fatherCellIndex = fatherCellIndex; + } + + /** * 鑾峰彇缁忓害 * * @return longitude - 缁忓害 -- Gitblit v1.9.3