package com.ai.da.model.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("GenerateThroughImageTextDTO")
public class GenerateThroughImageTextDTO {
    @NotNull(message = "userId cannot be empty")
    @ApiModelProperty("用户id")
    Long userId;

    @ApiModelProperty("caption")
    String text;

    @ApiModelProperty("图片在t_collection_element表中的id")
    Long collectionElementId;

    @NotBlank(message = "you have to choose the generate type")
    @ApiModelProperty("text  image  text-image")
    String generateType;

    /** 暂时没有用上 */
    @ApiModelProperty("图片是update，还是从library中选择")
    String designType;

    @NotBlank(message = "level1Type cannot be empty!")
    @ApiModelProperty("Moodboard Printboard Sketchboard MarketingSketch")
    String level1Type;

    @ApiModelProperty("Outwear Dress Blouse Skirt Trousers")
    String level2Type;

    @ApiModelProperty("性别")
    String gender;

    @ApiModelProperty("选择的模型名")
    String version;

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

    @ApiModelProperty("唯一id，用于保持消息唯一性")
    String uniqueId;

    @ApiModelProperty("是否是测试用户")
    Boolean isTestUser;
}
