| | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 发布实体类 |
| | | * @author WWW |
| | | * @date 2023-09-02 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | @SuppressWarnings("ALL") |
| | | public class PubEntity implements Serializable { |
| | | private static final long serialVersionUID = 1393159573706054735L; |
| | | |
| | |
| | | time = StringHelper.YMDHMS2_FORMAT.format(new Date()); |
| | | } |
| | | |
| | | /** |
| | | * 设置默认值 |
| | | */ |
| | | public void setDefault() { |
| | | if (null == min) { |
| | | min = 0; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 发布ID |
| | | */ |
| | | private Integer pubid; |
| | | |
| | | /** |
| | | * 图层ID |
| | | */ |
| | | private Integer layerId; |
| | | |
| | | /** |
| | | * 唯一键 |
| | | */ |
| | | private String uuid; |
| | | |
| | | /** |
| | | * 类型:DOM,DEM,Vector,Model |
| | | * DOM,DEM,Vector,Model |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * 服务名称 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 最小级别 |
| | | */ |
| | | private Integer min; |
| | | |
| | | /** |
| | | * 最大级别 |
| | | */ |
| | | private Integer max; |
| | | |
| | | /** |
| | | * EPSG编码 |
| | | */ |
| | | private Integer epsg; |
| | | |
| | | /** |
| | | * 用户ID |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 目录编码 |
| | | */ |
| | | private String dircode; |
| | | |
| | | /** |
| | | * 单位编码 |
| | | */ |
| | | private String depcode; |
| | | |
| | | /** |
| | | * NoData |
| | | */ |
| | | private Integer nodata; |
| | | |
| | | /** |
| | | * 拉伸方式 0:不拉伸,1 线性拉伸,2 直方图均衡,3 标准差拉伸,4 伽马拉伸 |
| | | * 0:不拉伸,1 线性拉伸,2 直方图均衡,3 标准差拉伸,4 伽马拉伸 |
| | | */ |
| | | private Integer enhanceType; |
| | | |
| | | /** |
| | | * 拉伸因子,配合 enhance_factor使用 |
| | | */ |
| | | private Double enhanceFactor; |
| | | |
| | | /** |
| | | * 元数据ID集合 |
| | | * 默认:"1,2,3",或为"3,2,1" |
| | | */ |
| | | private String tile_rgb; |
| | | |
| | | private List<Integer> ids; |
| | | |
| | | /** |
| | | * 颜色表ID |
| | | */ |
| | | private int colorTableId; |
| | | |
| | | /** |
| | | * 颜色表 |
| | | */ |
| | | private List<ColorTableEntity> colorTable; |
| | | |
| | | /** |
| | | * 渐变颜色表 |
| | | */ |
| | | private List<GradientColorTableEntity> gradientColorTable; |
| | | |
| | | /** |
| | | * 时间戳 |
| | | */ |
| | | private String time; |
| | | |
| | | public Integer getPubid() { |
| | |
| | | this.enhanceFactor = enhanceFactor; |
| | | } |
| | | |
| | | public String getTile_rgb() { |
| | | return tile_rgb; |
| | | } |
| | | |
| | | public void setTile_rgb(String tile_rgb) { |
| | | this.tile_rgb = tile_rgb; |
| | | } |
| | | |
| | | public List<Integer> getIds() { |
| | | return ids; |
| | | } |