package com.easyagents.document.xlsx.model;

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

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

    private String sheetName;
    private Integer sheetIndex;
    private Boolean hidden;
    private Integer rowCount;
    private Integer columnCount;
    private List<XlsxRowArtifact> rows = new ArrayList<XlsxRowArtifact>();

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName;
    }

    public Integer getSheetIndex() {
        return sheetIndex;
    }

    public void setSheetIndex(Integer sheetIndex) {
        this.sheetIndex = sheetIndex;
    }

    public Boolean getHidden() {
        return hidden;
    }

    public void setHidden(Boolean hidden) {
        this.hidden = hidden;
    }

    public Integer getRowCount() {
        return rowCount;
    }

    public void setRowCount(Integer rowCount) {
        this.rowCount = rowCount;
    }

    public Integer getColumnCount() {
        return columnCount;
    }

    public void setColumnCount(Integer columnCount) {
        this.columnCount = columnCount;
    }

    public List<XlsxRowArtifact> getRows() {
        return rows;
    }

    public void setRows(List<XlsxRowArtifact> rows) {
        this.rows = rows == null ? new ArrayList<XlsxRowArtifact>() : rows;
    }
}
