package com.ai.da.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@NoArgsConstructor
public class PartialDesignDTO implements Serializable {

    @ApiModelProperty("图片的minio地址")
    private String partialDesignMinioPath;

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

    @ApiModelProperty("图片的base64格式")
    private String partialDesignBase64;

    @ApiModelProperty("图层信息")
    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;
    }
}
