package com.lingyue.parse.vo;

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

import java.util.Date;

/**
 * 解析任务阶段信息
 */
@Data
@Schema(description = "解析任务阶段信息")
public class ParseTaskStageVO {

    @Schema(description = "阶段名称，例如: upload, ocr, text_save, ner, graph")
    private String stageName;

    @Schema(description = "阶段显示名称")
    private String displayName;

    @Schema(description = "阶段状态: pending/in_progress/completed/failed")
    private String status;

    @Schema(description = "阶段进度(0-100)")
    private Integer progress;

    @Schema(description = "开始时间")
    private Date startedAt;

    @Schema(description = "结束时间")
    private Date endedAt;

    @Schema(description = "阶段错误信息")
    private String errorMessage;
}


