package com.clx.performance.utils.excel;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: aiqingguo
 * @Description:
 * @Date: 2022/8/19 9:53
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
public class ExcelSheet {
    private String name;
    private String title;
    private String time;
    private Integer timeStyleType;
    private List<ExcelField> fieldList;
    private List<List<ExcelData>> dataList;

    public ExcelSheet(String name, String title) {
        this.name = name;
        this.title = title;
    }

    public ExcelSheet(String name, String title, List<ExcelField> fieldList) {
        this.name = name;
        this.title = title;
        this.fieldList = fieldList;
    }

    public ExcelSheet(String name, String title, List<ExcelField> fieldList, List<List<ExcelData>> dataList) {
        this.name = name;
        this.title = title;
        this.fieldList = fieldList;
        this.dataList = dataList;
    }

}
