From 3f39280a9b2b814f883a9b578939f421dd056fef Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期日, 03 九月 2023 15:06:24 +0800
Subject: [PATCH] 根据id查询元数据,设置nodata

---
 src/main/java/com/moon/server/entity/ctrl/PubEntity.java |  150 ++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 120 insertions(+), 30 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 e201046..82342ba 100644
--- a/src/main/java/com/moon/server/entity/ctrl/PubEntity.java
+++ b/src/main/java/com/moon/server/entity/ctrl/PubEntity.java
@@ -1,36 +1,102 @@
 package com.moon.server.entity.ctrl;
 
-import io.swagger.models.auth.In;
+import com.moon.server.entity.shujian.ColorTableEntity;
+import com.moon.server.entity.shujian.GradientColorTableEntity;
 
+import java.io.Serializable;
 import java.util.List;
 
 /**
  * 鍙戝竷瀹炰綋绫�
  * @author WWW
+ * @date 2023-09-02
  */
-public class PubEntity {
+public class PubEntity implements Serializable {
+    private static final long serialVersionUID = 1393159573706054735L;
+
     public PubEntity() {
+        min = 0;
+        max = 18;
+        epsgCode = 104903;
     }
 
+    /**
+     * 鍙戝竷ID
+     */
+    private Integer pubid;
+
+    /**
+     * 绫诲瀷锛欴OM锛孌EM锛孷ector锛孧odel
+     */
     private String type;
 
-    private String token;
-
+    /**
+     * 鏈嶅姟鍚嶇О
+     */
     private String name;
 
-    private Integer userId;
-
+    /**
+     * 鏈�灏忕骇鍒�
+     */
     private Integer min;
 
+    /**
+     * 鏈�澶х骇鍒�
+     */
     private Integer max;
 
-    private Integer noData;
+    /**
+     * EPSG缂栫爜
+     */
+    private Integer epsgCode;
 
+    /**
+     * 鐢ㄦ埛ID
+     */
+    private Integer userId;
+
+    /**
+     * 鐩綍缂栫爜
+     */
     private String dircode;
 
+    /**
+     * 鍗曚綅缂栫爜
+     */
     private String depcode;
 
-    private List<String> ids;
+    /**
+     * NoData
+     */
+    private Integer nodata;
+
+    /**
+     * 鎷変几鏂瑰紡 0锛氫笉鎷変几锛� 1 绾挎�ф媺浼革紝 2 鐩存柟鍥惧潎琛★紝 3 鏍囧噯宸媺浼革紝 4 浼介┈鎷変几
+     */
+    private Integer enhanceType;
+
+    /**
+     * 鍏冩暟鎹甀D闆嗗悎
+     */
+    private List<Integer> ids;
+
+    /**
+     * 棰滆壊琛�
+     */
+    private List<ColorTableEntity> colorTable;
+
+    /**
+     * 娓愬彉棰滆壊琛�
+     */
+    private List<GradientColorTableEntity> gradientColorTable;
+
+    public Integer getPubid() {
+        return pubid;
+    }
+
+    public void setPubid(Integer pubid) {
+        this.pubid = pubid;
+    }
 
     public String getType() {
         return type;
@@ -40,28 +106,12 @@
         this.type = type;
     }
 
-    public String getToken() {
-        return token;
-    }
-
-    public void setToken(String token) {
-        this.token = token;
-    }
-
     public String getName() {
         return name;
     }
 
     public void setName(String name) {
         this.name = name;
-    }
-
-    public Integer getUserId() {
-        return userId;
-    }
-
-    public void setUserId(Integer userId) {
-        this.userId = userId;
     }
 
     public Integer getMin() {
@@ -80,12 +130,20 @@
         this.max = max;
     }
 
-    public Integer getNoData() {
-        return noData;
+    public Integer getEpsgCode() {
+        return epsgCode;
     }
 
-    public void setNoData(Integer noData) {
-        this.noData = noData;
+    public void setEpsgCode(Integer epsgCode) {
+        this.epsgCode = epsgCode;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public void setUserId(Integer userId) {
+        this.userId = userId;
     }
 
     public String getDircode() {
@@ -104,11 +162,43 @@
         this.depcode = depcode;
     }
 
-    public List<String> getIds() {
+    public Integer getNodata() {
+        return nodata;
+    }
+
+    public void setNodata(Integer nodata) {
+        this.nodata = nodata;
+    }
+
+    public Integer getEnhanceType() {
+        return enhanceType;
+    }
+
+    public void setEnhanceType(Integer enhanceType) {
+        this.enhanceType = enhanceType;
+    }
+
+    public List<Integer> getIds() {
         return ids;
     }
 
-    public void setIds(List<String> ids) {
+    public void setIds(List<Integer> ids) {
         this.ids = ids;
     }
+
+    public List<ColorTableEntity> getColorTable() {
+        return colorTable;
+    }
+
+    public void setColorTable(List<ColorTableEntity> colorTable) {
+        this.colorTable = colorTable;
+    }
+
+    public List<GradientColorTableEntity> getGradientColorTable() {
+        return gradientColorTable;
+    }
+
+    public void setGradientColorTable(List<GradientColorTableEntity> gradientColorTable) {
+        this.gradientColorTable = gradientColorTable;
+    }
 }

--
Gitblit v1.9.3