package com.ai.da.model.vo;

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

import java.math.BigDecimal;

@Data
@ApiModel("generate result 响应")
@AllArgsConstructor
@NoArgsConstructor
public class MagicToolResultVO {

    private String taskId;

    private Long id;

    private String url;

    private String status;

    private String category;

    private String sourceUrl;

    private String resultType;

    private String elementType;

    private Long elementId;

    private Long parentId;

    private Double brightenValue;

    private BigDecimal imageStrength;

    private String direction;

    private String errorMessage;

    @ApiModelProperty("用户输入的提示词")
    private String prompt;

    public MagicToolResultVO(String taskId, String status) {
        this.taskId = taskId;
        this.status = status;
    }
    public MagicToolResultVO(String taskId, String status, String errorMessage) {
        this.errorMessage = errorMessage;
        this.taskId = taskId;
        this.status = status;
    }
}
