package com.ai.da.model.vo;

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

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

    private String taskId;

    private Long id;

    private String url;

    // Success || Executing || Invalid || Fail
    private String status;

    private String category;

    public GenerateResultVO(String taskId, Long id, String url, String status) {
        this.taskId = taskId;
        this.id = id;
        this.url = url;
        this.status = status;
    }

    public GenerateResultVO(Long id, String url, String status, String category) {
        this.id = id;
        this.url = url;
        this.status = status;
        this.category = category;
    }

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