package com.backendsys.entity.Ai.Aizn.AiznGood.AiznGoodReplaceTask;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ExtendFieldsDTO {
    @NotNull(message="生成图变化程度不能为空")
    @Min(value = 0, message = "生成图变化程度不能小于 0")
    @Max(value = 1, message = "生成图变化程度不能大于 1")
    private Float denoise_strength;

    @NotEmpty(message="原图抠出来的商品图不能为空")
    private String source_image_url;

    @NotEmpty(message="替换的目标商品图不能为空")
    private String target_image_url;
}
