package com.ai.da.model.dto;

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

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

@Data
public class DesignSingleDTO {

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

    @Schema(description = "priority 数组,列表中包含服饰的顺序，越右边的表示越外层的衣服 例如[\"Outwear\", \"Dress\"]表示outwear在dress里面")
    @NotEmpty(message = "priority.cannot.be.empty")
    private List<String> priority;

    @NotEmpty(message = "clothes.cannot.be.empty")
    @Schema(description = "clothes 元素")
    private List<DesignSingleItemDTO> clothes;

    @Schema(description = "others 元素")
    private List<DesignSingleItemDTO> others;

    private DesignSingleItemDTO designSingleItem;

    @Schema(description = "preview -> true  submit -> false")
    private Boolean isPreview;

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

}
