package com.ai.da.model.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class DesignSingleIncludeLayersDTO implements Serializable {

    @ApiModelProperty("designItemId")
    @NotNull(message = "designItemId.cannot.be.empty")
    private Long designItemId;

    @NotNull
    @ApiModelProperty("designSingleItemDTOList")
    private List<DesignSingleItemDTO> designSingleItemDTOList;

    @NotNull(message = "isPreview.cannot.be.empty")
    @ApiModelProperty("preview -> true  submit -> false")
    private Boolean isPreview;

    @NotNull(message = "processId.cannot.be.empty")
    @ApiModelProperty("进度")
    private String processId;

    @ApiModelProperty("性别")
    private String gender;

    @NotBlank(message = "timeZone.cannot.be.empty")
    @ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
    private String timeZone;

    @ApiModelProperty("模特id 每套衣服允许有一个单独的模特")
    private Long modelId;

    @ApiModelProperty("模特类型 System || Library")
    private String modelType;

    @ApiModelProperty("项目id")
    private Long projectId;

    @Override
    public String toString() {
        return "DesignSingleIncludeLayersDTO{" +
                "designItemId=" + designItemId +
                ", designSingleItemDTOList=" + designSingleItemDTOList +
                ", isPreview=" + isPreview +
                ", processId='" + processId + '\'' +
                ", timeZone='" + timeZone + '\'' +
                '}';
    }
}
