package com.ruoyi.web.common.model;

import lombok.Data;

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

@Data
public class MultiLevelHeader {
    private String headerName;         // 表头名称
    private Integer startCol;          // 起始列
    private Integer endCol;            // 结束列
    private Integer level;             // 层级
    private List<MultiLevelHeader> children; // 子表头

    public MultiLevelHeader(String headerName, Integer level) {
        this.headerName = headerName;
        this.level = level;
        this.children = new ArrayList<>();
    }

    public MultiLevelHeader() {

    }
}
