From 738ac9519a80da21556ad7605acedba54423ab1d Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 02 九月 2023 14:33:03 +0800 Subject: [PATCH] 添加数简服务发布实体类及参数 --- src/main/java/com/moon/server/entity/ctrl/PubEntity.java | 115 ++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 68 insertions(+), 47 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 21652ab..93464d5 100644 --- a/src/main/java/com/moon/server/entity/ctrl/PubEntity.java +++ b/src/main/java/com/moon/server/entity/ctrl/PubEntity.java @@ -1,42 +1,79 @@ 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; } + /** + * 绫诲瀷锛欴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; + /** + * 鍏冩暟鎹甀D闆嗗悎 + */ private List<Integer> ids; - private List<Integer> models; + /** + * 棰滆壊琛� + */ + private List<ColorTableEntity> colorTable; - private List<Integer> srids; - - private List<Double> zs; + /** + * 娓愬彉棰滆壊琛� + */ + private List<GradientColorTableEntity> gradientColorTable; public String getType() { return type; @@ -46,28 +83,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() { @@ -86,12 +107,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() { @@ -118,27 +147,19 @@ this.ids = ids; } - public List<Integer> getModels() { - return models; + public List<ColorTableEntity> getColorTable() { + return colorTable; } - public void setModels(List<Integer> models) { - this.models = models; + public void setColorTable(List<ColorTableEntity> colorTable) { + this.colorTable = colorTable; } - public List<Integer> getSrids() { - return srids; + public List<GradientColorTableEntity> getGradientColorTable() { + return gradientColorTable; } - public void setSrids(List<Integer> srids) { - this.srids = srids; - } - - public List<Double> getZs() { - return zs; - } - - public void setZs(List<Double> zs) { - this.zs = zs; + public void setGradientColorTable(List<GradientColorTableEntity> gradientColorTable) { + this.gradientColorTable = gradientColorTable; } } -- Gitblit v1.9.3