package com.ai.da.model.vo;

import com.ai.da.mapper.primary.entity.Gradient;
import com.ai.da.model.dto.DesignSinglePrintDTO;
import com.ai.da.model.dto.PartialDesignDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("designItem detail clothes 响应")
public class DesignItemClothesDetailVO {

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

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

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

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

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

    @ApiModelProperty("对应的图片路径")
    private String path;

    @ApiModelProperty("对应图片minIO路径")
    private String minIOPath;

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

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

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

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

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

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

    @ApiModelProperty("衣服所在图层")
    private Integer priority;

    @ApiModelProperty("渐变色信息")
    private Gradient gradient;

    @ApiModelProperty("未分割的图层")
    private String undividedLayer;

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

    @ApiModelProperty("局部design")
    private PartialDesignDTO partialDesign;

    @ApiModelProperty("画布文件id")
    private Long canvasId;

    public DesignItemClothesDetailVO() {
    }

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