package com.easyagents.document.xlsx.model;

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

/**
 * 单元格工件。
 *
 * @author Codex
 * @since 2026-04-16
 */
public class XlsxCellArtifact {

    private Integer rowIndex;
    private Integer columnIndex;
    private String cellRef;
    private String text;
    private List<String> imageKeys = new ArrayList<String>();

    public Integer getRowIndex() {
        return rowIndex;
    }

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

    public Integer getColumnIndex() {
        return columnIndex;
    }

    public void setColumnIndex(Integer columnIndex) {
        this.columnIndex = columnIndex;
    }

    public String getCellRef() {
        return cellRef;
    }

    public void setCellRef(String cellRef) {
        this.cellRef = cellRef;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<String> getImageKeys() {
        return imageKeys;
    }

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