package com.backendsys.entity.Ai.Aizn;

import com.backendsys.entity.validator.RangeArray;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AiznIntelligentClipTaskDTO {

    @NotEmpty(message="图片不能为空")
    private String image_url;

    @NotNull(message="子类型不能为空")
    @RangeArray(message="子类型取值有误，范围应是(1:通用, 2:人像, 3:商品, 9:服饰, 12:头发)", value = { "1", "2", "3", "9", "12" })
    private Integer sub_type;

//    // 固定一张
//    @NotNull(message="输出张数不能为空")
//    private Integer output_num;

}
