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

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

import java.util.ArrayList;
import java.util.List;

@Data
@Schema(description = "创建任务响应：含任务 id 与各店初始快照（含 resultId），用于推队列与前端展示")
public class ProductRiskCreateTaskVo {

    @Schema(description = "新建任务主键 biz_file_task.id，须写入队列消息 data.taskId", example = "200")
    private Long taskId;

    @Schema(description = "各店一条结果快照，含 resultId、taskId、店名及初始 taskStatus=RUNNING 等")
    private List<ProductRiskResultItemVo> items = new ArrayList<>();
}
