package com.clx.performance.utils.excel;

import com.clx.performance.utils.excel.ExcelData;
import com.clx.performance.utils.excel.ExcelField;
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<ExcelField> fieldSecondList;
    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, List<ExcelField> fieldList, List<List<ExcelData>> dataList) {
        this.name = name;
        this.title = name;
        this.fieldList = fieldList;
        this.dataList = dataList;
    }
    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;
    }
    public ExcelSheet(String name, String title, List<ExcelField> fieldList, List<ExcelField> fieldSecondList, List<List<ExcelData>> dataList) {
        this.name = name;
        this.title = title;
        this.fieldList = fieldList;
        this.fieldSecondList = fieldSecondList;
        this.dataList = dataList;
    }

}
