package com.easyagents.document.core.entity;

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

/**
 * 批量解析响应。
 *
 * @author Codex
 * @since 2026-04-14
 */
public class ParseResponse {

    private String backend;
    private String version;
    private List<ParseResult> results = new ArrayList<ParseResult>();

    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 List<ParseResult> getResults() {
        return results;
    }

    public void setResults(List<ParseResult> results) {
        this.results = results == null ? new ArrayList<ParseResult>() : results;
    }
}
