管道基础大数据平台系统开发-【后端】-Server
13693261870
2025-07-02 ed8c7a5effd0d423ce1118b680ecdca6fe732609
src/main/java/com/lf/server/entity/ctrl/DownloadTileEntity.java
@@ -1,5 +1,6 @@
package com.lf.server.entity.ctrl;
import com.lf.server.entity.all.AbstractPwdEntity;
import com.lf.server.entity.all.StaticData;
import java.io.Serializable;
@@ -8,7 +9,7 @@
 * 下载瓦片实体类
 * @author WWW
 */
public class DownloadTileEntity implements Serializable {
public class DownloadTileEntity extends AbstractPwdEntity implements Serializable {
    private static final long serialVersionUID = -229710198271495902L;
    private Double xmin;
@@ -19,11 +20,9 @@
    private Double ymax;
    private Integer pubid;
    private String title;
    private String url;
    private String pwd;
    public DownloadTileEntity() {
    }
@@ -40,6 +39,17 @@
        }
        if (ymin < StaticData.I90_NEG || ymin > StaticData.I90 || ymax < StaticData.I90_NEG || ymax > StaticData.I90) {
            return "Y坐标值不正确";
        }
        if (xmin > xmax) {
            double x = xmax;
            xmin = xmax;
            xmax = x;
        }
        if (ymin > ymax) {
            double y = ymax;
            ymin = ymax;
            ymax = y;
        }
        return null;
@@ -77,27 +87,19 @@
        this.ymax = ymax;
    }
    public Integer getPubid() {
        return pubid;
    }
    public void setPubid(Integer pubid) {
        this.pubid = pubid;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getPwd() {
        return pwd;
    }
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}