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 | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yssh/entity/Location.java b/src/main/java/com/yssh/entity/Location.java new file mode 100644 index 0000000..224f782 --- /dev/null +++ b/src/main/java/com/yssh/entity/Location.java @@ -0,0 +1,64 @@ +package com.yssh.entity; + +import java.io.Serializable; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +@Data +@ApiModel(value = "鍘傚尯鐑偣鐐逛綅",description = "鍘傚尯鐑偣鐐逛綅") +public class Location implements Serializable { + private static final long serialVersionUID = -2728687771987124891L; + + @ApiModelProperty(value = "涓婚敭") + private int id; + @ApiModelProperty(value = "鐐逛綅鍚嶇О") + private String name; + @ApiModelProperty(value = "鐐逛綅绫诲瀷") + private String type; + @ApiModelProperty(value = "鐐逛綅缁忓害") + private double lon; + @ApiModelProperty(value = "鐐逛綅绾害") + 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