package com.czg.excel;

import lombok.Data;

/**
 * Excel导出配置类
 * @author yjjie
 * @date 2026/1/28 10:47
 */
@Data
public class ExcelExportConfig {

    /**
     * 默认工作表名称
     */
    private String defaultSheetName = "Sheet1";

    /**
     * 默认文件名
     */
    private String defaultFileName = "export_data";

    /**
     * 是否自动关闭流
     */
    private boolean autoCloseStream = true;

    /**
     * 响应头编码
     */
    private String charset = "UTF-8";

    public ExcelExportConfig() {}

    public ExcelExportConfig(String defaultSheetName, String defaultFileName) {
        this.defaultSheetName = defaultSheetName;
        this.defaultFileName = defaultFileName;
    }

}
