package com.easyagents.document.core.entity;

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

/**
 * 解析工件集合。
 *
 * @author Codex
 * @since 2026-04-14
 */
public class ParseArtifacts {

    private Object middleJson;
    private Object contentList;
    private Object modelOutput;
    private Map<String, Object> extraJsonArtifacts = new LinkedHashMap<String, Object>();
    private Map<String, byte[]> extraBinaryArtifacts = new LinkedHashMap<String, byte[]>();

    public Object getMiddleJson() {
        return middleJson;
    }

    public void setMiddleJson(Object middleJson) {
        this.middleJson = middleJson;
    }

    public Object getContentList() {
        return contentList;
    }

    public void setContentList(Object contentList) {
        this.contentList = contentList;
    }

    public Object getModelOutput() {
        return modelOutput;
    }

    public void setModelOutput(Object modelOutput) {
        this.modelOutput = modelOutput;
    }

    public Map<String, Object> getExtraJsonArtifacts() {
        return extraJsonArtifacts;
    }

    public void setExtraJsonArtifacts(Map<String, Object> extraJsonArtifacts) {
        this.extraJsonArtifacts = extraJsonArtifacts == null
            ? new LinkedHashMap<String, Object>()
            : extraJsonArtifacts;
    }

    public Map<String, byte[]> getExtraBinaryArtifacts() {
        return extraBinaryArtifacts;
    }

    public void setExtraBinaryArtifacts(Map<String, byte[]> extraBinaryArtifacts) {
        this.extraBinaryArtifacts = extraBinaryArtifacts == null
            ? new LinkedHashMap<String, byte[]>()
            : extraBinaryArtifacts;
    }
}
