package com.easyagents.document.core.mineru;

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

/**
 * MinerU 原始任务状态。
 *
 * @author Codex
 * @since 2026-04-16
 */
public class MineruTaskStatus {

    private String taskId;
    private String status;
    private String backend;
    private List<String> fileNames = new ArrayList<String>();
    private String createdAt;
    private String startedAt;
    private String completedAt;
    private String error;
    private String statusUrl;
    private String resultUrl;
    private Integer queuedAhead;
    private String version;
    private String message;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBackend() {
        return backend;
    }

    public void setBackend(String backend) {
        this.backend = backend;
    }

    public List<String> getFileNames() {
        return fileNames;
    }

    public void setFileNames(List<String> fileNames) {
        this.fileNames = fileNames == null ? new ArrayList<String>() : fileNames;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getStartedAt() {
        return startedAt;
    }

    public void setStartedAt(String startedAt) {
        this.startedAt = startedAt;
    }

    public String getCompletedAt() {
        return completedAt;
    }

    public void setCompletedAt(String completedAt) {
        this.completedAt = completedAt;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getStatusUrl() {
        return statusUrl;
    }

    public void setStatusUrl(String statusUrl) {
        this.statusUrl = statusUrl;
    }

    public String getResultUrl() {
        return resultUrl;
    }

    public void setResultUrl(String resultUrl) {
        this.resultUrl = resultUrl;
    }

    public Integer getQueuedAhead() {
        return queuedAhead;
    }

    public void setQueuedAhead(Integer queuedAhead) {
        this.queuedAhead = queuedAhead;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
