package com.easyagents.document.xlsx.model;

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

/**
 * XLSX 结构化工件。
 *
 * @author Codex
 * @since 2026-04-16
 */
public class XlsxParseArtifact {

    private String workbookName;
    private List<XlsxSheetArtifact> sheets = new ArrayList<XlsxSheetArtifact>();
    private List<XlsxSheetImagesArtifact> sheetImages = new ArrayList<XlsxSheetImagesArtifact>();
    private List<String> mergedRanges = new ArrayList<String>();
    private List<XlsxCellImageArtifact> cellImages = new ArrayList<XlsxCellImageArtifact>();

    public String getWorkbookName() {
        return workbookName;
    }

    public void setWorkbookName(String workbookName) {
        this.workbookName = workbookName;
    }

    public List<XlsxSheetArtifact> getSheets() {
        return sheets;
    }

    public void setSheets(List<XlsxSheetArtifact> sheets) {
        this.sheets = sheets == null ? new ArrayList<XlsxSheetArtifact>() : sheets;
    }

    public List<XlsxSheetImagesArtifact> getSheetImages() {
        return sheetImages;
    }

    public void setSheetImages(List<XlsxSheetImagesArtifact> sheetImages) {
        this.sheetImages = sheetImages == null ? new ArrayList<XlsxSheetImagesArtifact>() : sheetImages;
    }

    public List<String> getMergedRanges() {
        return mergedRanges;
    }

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

    public List<XlsxCellImageArtifact> getCellImages() {
        return cellImages;
    }

    public void setCellImages(List<XlsxCellImageArtifact> cellImages) {
        this.cellImages = cellImages == null ? new ArrayList<XlsxCellImageArtifact>() : cellImages;
    }
}
