package com.easyagents.document.xlsx.model;

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

/**
 * 行工件。
 *
 * @author Codex
 * @since 2026-04-16
 */
public class XlsxRowArtifact {

    private Integer rowIndex;
    private List<XlsxCellArtifact> cells = new ArrayList<XlsxCellArtifact>();

    public Integer getRowIndex() {
        return rowIndex;
    }

    public void setRowIndex(Integer rowIndex) {
        this.rowIndex = rowIndex;
    }

    public List<XlsxCellArtifact> getCells() {
        return cells;
    }

    public void setCells(List<XlsxCellArtifact> cells) {
        this.cells = cells == null ? new ArrayList<XlsxCellArtifact>() : cells;
    }
}
