From 2f55cebbad3dea187a5f91d16ec80a9677dab699 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 13 十一月 2024 11:16:53 +0800
Subject: [PATCH] 1

---
 src/main/java/com/yssh/entity/Location.java |   62 +++++++++++++++++++++++-------
 1 files changed, 47 insertions(+), 15 deletions(-)

diff --git a/src/main/java/com/yssh/entity/Location.java b/src/main/java/com/yssh/entity/Location.java
index 75771da..224f782 100644
--- a/src/main/java/com/yssh/entity/Location.java
+++ b/src/main/java/com/yssh/entity/Location.java
@@ -6,27 +6,59 @@
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
-/**
- * @author wMeng
- * @ClassName YsshLocation
- * @Description 鍘傚尯鐑偣鐐逛綅
- * @date 2022/10/30 13:16
- * @Version 1.0
- */
 @Data
 @ApiModel(value = "鍘傚尯鐑偣鐐逛綅",description = "鍘傚尯鐑偣鐐逛綅")
-public class Location implements Serializable{
-	
+public class Location implements Serializable {
 	private static final long serialVersionUID = -2728687771987124891L;
-	
+
 	@ApiModelProperty(value = "涓婚敭")
-    private int id;
+	private int id;
 	@ApiModelProperty(value = "鐐逛綅鍚嶇О")
-    private String name;
+	private String name;
 	@ApiModelProperty(value = "鐐逛綅绫诲瀷")
-    private String type;
+	private String type;
 	@ApiModelProperty(value = "鐐逛綅缁忓害")
-    private float lon;
+	private double lon;
 	@ApiModelProperty(value = "鐐逛綅绾害")
-    private float lat;
+	private double lat;
+
+	public int getId() {
+		return id;
+	}
+
+	public void setId(int id) {
+		this.id = id;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public String getType() {
+		return type;
+	}
+
+	public void setType(String type) {
+		this.type = type;
+	}
+
+	public double getLon() {
+		return lon;
+	}
+
+	public void setLon(double lon) {
+		this.lon = lon;
+	}
+
+	public double getLat() {
+		return lat;
+	}
+
+	public void setLat(double lat) {
+		this.lat = lat;
+	}
 }

--
Gitblit v1.9.3