dcb
2025-06-06 a2ee6e0dcdcfd9d1b8011a3cecb4e0fc4f6eeea3
src/main/java/com/se/nsl/domain/dto/LayerDto.java
@@ -6,6 +6,8 @@
public class LayerDto {
    private String version;
    private String name; //生成json的名字,默认位layer.json
    private DurationDto duration;
    private ExtensionDto extension;
@@ -14,10 +16,16 @@
    private WaterDto waters;
    private String waterUrl;
    private String flowUrl;
    public LayerDto() {
        this.name = "layer.json";
    }
    public LayerDto(String ver, int epsg, List<Integer> sizes) {
        this();
        this.version = ver;
        this.waters = new WaterDto();
        this.duration = new DurationDto();
@@ -31,6 +39,14 @@
    public void setVersion(String version) {
        this.version = version;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public DurationDto getDuration() {
@@ -64,4 +80,20 @@
    public void setWaters(WaterDto waters) {
        this.waters = waters;
    }
    public String getWaterUrl() {
        return waterUrl;
    }
    public void setWaterUrl(String waterUrl) {
        this.waterUrl = waterUrl;
    }
    public String getFlowUrl() {
        return flowUrl;
    }
    public void setFlowUrl(String flowUrl) {
        this.flowUrl = flowUrl;
    }
}