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.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

@Data
@ApiModel("印花保存")
public class CollectionSavePrintDTO {

    @ApiModelProperty("生成的印花绝对路径")
    @Size(max = 15, message = "Save up to 15 prints at a time!")
    @NotEmpty(message = "printId.cannot.be.empty")
    private List<String> printId;

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

}
