package com.ai.da.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
public class PartialDesignDTO implements Serializable {

    @Schema(description = "图片的minio地址")
    private String partialDesignMinioPath;

    @Schema(description = "图片网页访问地址")
    private String partialDesignPath;

    @Schema(description = "图片的base64格式")
    private String partialDesignBase64;

    @Schema(description = "图层信息")
    private List<String> layers;

    public PartialDesignDTO(String partialDesignMinioPath) {
        this.partialDesignMinioPath = partialDesignMinioPath;
    }

    public PartialDesignDTO(String partialDesignMinioPath, List<String> layers) {
        this.partialDesignMinioPath = partialDesignMinioPath;
        this.layers = layers;
    }

    public PartialDesignDTO(String partialDesignMinioPath, String partialDesignPath) {
        this.partialDesignMinioPath = partialDesignMinioPath;
        this.partialDesignPath = partialDesignPath;
    }
}
