From 1d1b21f7f9416dc6a350dc83506364bb822e9e1c Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期四, 27 四月 2023 13:50:08 +0800
Subject: [PATCH] 1

---
 src/main/java/com/yssh/entity/vo/WarningVo.java |   25 ++++++++++++++++++++++---
 1 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/yssh/entity/vo/WarningVo.java b/src/main/java/com/yssh/entity/vo/WarningVo.java
index 012aba5..7156eab 100644
--- a/src/main/java/com/yssh/entity/vo/WarningVo.java
+++ b/src/main/java/com/yssh/entity/vo/WarningVo.java
@@ -12,11 +12,19 @@
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.yssh.utils.CalculateUtils;
 
-@NoArgsConstructor
-@AllArgsConstructor
 @ToString
 @ApiModel(value="鎶ヨ/棰勮灞曠ず瀵硅薄", description="鎶ヨ/棰勮灞曠ず瀵硅薄")
 public class WarningVo implements Serializable{
+	public WarningVo() {
+	}
+
+	public WarningVo(String locationName, String suYuanId, double lon, double lat, double value) {
+		this.locationName = locationName;
+		this.suYuanId = suYuanId;
+		this.lon = lon;
+		this.lat = lat;
+		this.value = value;
+	}
 
 	private static final long serialVersionUID = 3440478664982471286L;
 	@ApiModelProperty(value = "鐐逛綅鍚嶇О")
@@ -52,5 +60,16 @@
 	public void setValue(double value) {
 		this.value = value;
 	}
-	
+
+	public String getSuYuanId() {
+		return suYuanId;
+	}
+
+	public void setLon(double lon) {
+		this.lon = lon;
+	}
+
+	public void setLat(double lat) {
+		this.lat = lat;
+	}
 }

--
Gitblit v1.9.3