package com.nanri.aiimage.modules.brand.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "品牌任务基础信息")
public class LegacyBrandTaskItemVo {

    @Schema(description = "任务 ID")
    private Long id;

    @Schema(description = "任务绑定的源文件信息")
    private List<Object> file_paths;

    @Schema(description = "任务描述")
    private String desc;

    @Schema(description = "品牌匹配策略")
    private String strategy;

    @Schema(description = "任务状态：pending/running/success/failed/cancelled")
    private String status;

    @Schema(description = "结果文件地址信息。单文件场景通常包含 urls，多文件场景通常同时包含 urls 和 zip_url")
    private Object result_paths;

    @Schema(description = "失败原因")
    private String error_message;

    @Schema(description = "文件级摘要进度：已完成文件数")
    private Integer progress_current;

    @Schema(description = "文件级摘要进度：总文件数")
    private Integer progress_total;

    @Schema(description = "创建时间")
    private String created_at;

    @Schema(description = "更新时间")
    private String updated_at;
}
