From 61b0eefa5a1b6ff7d8b24b458b0c01e79fd21113 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 05 九月 2023 14:06:16 +0800 Subject: [PATCH] 添加服务地址设置等 --- src/main/java/com/moon/server/entity/ctrl/PubEntity.java | 27 +++++++++++++++++++++------ 1 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/moon/server/entity/ctrl/PubEntity.java b/src/main/java/com/moon/server/entity/ctrl/PubEntity.java index 82342ba..a58bf20 100644 --- a/src/main/java/com/moon/server/entity/ctrl/PubEntity.java +++ b/src/main/java/com/moon/server/entity/ctrl/PubEntity.java @@ -2,6 +2,7 @@ import com.moon.server.entity.shujian.ColorTableEntity; import com.moon.server.entity.shujian.GradientColorTableEntity; +import com.moon.server.helper.StringHelper; import java.io.Serializable; import java.util.List; @@ -17,13 +18,19 @@ public PubEntity() { min = 0; max = 18; - epsgCode = 104903; + epsg = 104903; + uuid = StringHelper.getGuid(); } /** * 鍙戝竷ID */ private Integer pubid; + + /** + * 鍞竴閿� + */ + private String uuid; /** * 绫诲瀷锛欴OM锛孌EM锛孷ector锛孧odel @@ -48,7 +55,7 @@ /** * EPSG缂栫爜 */ - private Integer epsgCode; + private Integer epsg; /** * 鐢ㄦ埛ID @@ -98,6 +105,14 @@ this.pubid = pubid; } + public String getUuid() { + return uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + public String getType() { return type; } @@ -130,12 +145,12 @@ this.max = max; } - public Integer getEpsgCode() { - return epsgCode; + public Integer getEpsg() { + return epsg; } - public void setEpsgCode(Integer epsgCode) { - this.epsgCode = epsgCode; + public void setEpsg(Integer epsg) { + this.epsg = epsg; } public Integer getUserId() { -- Gitblit v1.9.3