package com.easyagents.document.core.entity;

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

/**
 * 表格结果。
 *
 * @author Codex
 * @since 2026-04-14
 */
public class DocumentTable {

    private Integer pageIndex;
    private List<Double> boundingBox = new ArrayList<Double>();
    private String html;
    private String imagePath;
    private List<String> captions = new ArrayList<String>();
    private List<String> footnotes = new ArrayList<String>();

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public List<Double> getBoundingBox() {
        return boundingBox;
    }

    public void setBoundingBox(List<Double> boundingBox) {
        this.boundingBox = boundingBox == null ? new ArrayList<Double>() : boundingBox;
    }

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public List<String> getCaptions() {
        return captions;
    }

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

    public List<String> getFootnotes() {
        return footnotes;
    }

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