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

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

import java.util.List;

@Data
@Schema(description = "数据拆分结果项")
public class SplitResultItemVo {

    @Schema(description = "结果记录ID")
    private Long resultId;

    @Schema(description = "源文件名")
    private String sourceFilename;

    @Schema(description = "结果文件名")
    private String outputFilename;

    @Schema(description = "是否成功")
    private boolean success;

    @Schema(description = "错误信息")
    private String error;

    @Schema(description = "结果总行数")
    private Integer rowCount;

    @Schema(description = "下载地址")
    private String downloadUrl;

    @Schema(description = "压缩包内文件数量")
    private Integer entryCount;

    @Schema(description = "压缩包内文件列表")
    private List<SplitArchiveEntryVo> entries;
}
