package com.easyagents.document.core.mineru;

import com.alibaba.fastjson2.JSONObject;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * MinerU 结果载荷。
 *
 * @author Codex
 * @since 2026-04-16
 */
public class MineruResultPayload {

    private String backend;
    private String version;
    private Map<String, JSONObject> results = new LinkedHashMap<String, JSONObject>();

    public String getBackend() {
        return backend;
    }

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

    public String getVersion() {
        return version;
    }

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

    public Map<String, JSONObject> getResults() {
        return results;
    }

    public void setResults(Map<String, JSONObject> results) {
        this.results = results == null ? new LinkedHashMap<String, JSONObject>() : results;
    }
}
