package com.ai.da.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import com.ai.da.mapper.primary.entity.Gradient;
import com.ai.da.model.dto.DesignSinglePrintDTO;
import com.ai.da.model.dto.PartialDesignDTO;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "designItem detail clothes 响应")
public class DesignItemClothesDetailVO {

    /**
     * designItemDetail对应的Id
     */
    @Schema(description = "对应的上游id")
    private Long id;

    @Schema(description = "该id末尾是否被加了随机数")
    private Boolean changed;

    @Schema(description = "该图片来源 Collection / Library")
    private String designType;

    @Schema(description = "对应的类型 有:Outwear,Dress,Blouse,Skirt,Trousers Shoes Hairstyle Earring Body")
    private String type;

    @Schema(description = "上传时候对应的类型,一级类型 Moodboard Printboard  Sketchboard MarketingSketch Colorboard")
    private String level1Type;

    @Schema(description = "对应的图片路径")
    private String path;

    @Schema(description = "对应图片minIO路径")
    private String minIOPath;

    @Schema(description = "图片所属：sys, user")
    private String scope;

    @Schema(description = " 颜色 存 RGB值 中间空格分隔 比如 58 58 169")
//    private String color;
    private PantoneVO color;

//    @Schema(description = "对应的print图片对象")
//    private DesignPythonItemPrint printObject;

    @Schema(description = "print详细")
    private DesignSinglePrintDTO printObject = new DesignSinglePrintDTO();

    @Schema(description = "design elements详细")
    private DesignSinglePrintDTO trims = new DesignSinglePrintDTO();

    @Schema(description = "对应图层信息")
    private List<DesignPythonOutfitVO> layersObject;

    @Schema(description = "衣服所在图层")
    private Integer priority;

    @Schema(description = "渐变色信息")
    private Gradient gradient;

    @Schema(description = "未分割的图层")
    private String undividedLayer;

    @Schema(description = "添加single印花的未分割的图层")
    private String undividedLayerWithSinglePrint;

    @Schema(description = "局部design")
    private PartialDesignDTO partialDesign;

    @Schema(description = "画布文件id")
    private Long canvasId;

    public DesignItemClothesDetailVO() {
    }

    public DesignItemClothesDetailVO(String type) {
        this.type = type;
    }
}
