package com.backendsys.entity.Ali;

import jakarta.validation.Valid;
import jakarta.validation.constraints.*;
import lombok.Data;

@Data
public class AliDashscopeBackgroundDTO {

    // 官方文档：
    // https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-wanxiang-api-for-generating-backgrounds?spm=a2c4g.11186623.0.0.20a12a9do4qkxb&accounttraceid=5a4375bfda14467b8f20f985387764b7pkjp#08675ef11bhvi

    // 指明需要调用的模型，固定值 (wanx-background-generation-v2)
    private String model;

    @Valid
    @NotNull(message = "input 不能为空")
    private AliDashscopeBackgroundInputDTO input;

    @Valid
    private AliDashscopeBackgroundParametersDTO parameters;

}
