package com.tykj.dev.device.excel.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zjm
 * @version 1.0.0
 * @ClassName TrainExcel.java
 * @Description TODO
 * @createTime 2021年04月29日 15:22:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TrainExcel {

    @Excel(name = "单位名称", orderNum = "1", width = 30, needMerge = true)
    private String mark;

    @ExcelCollection(name = "参加培训用户信息", orderNum = "2")
    private List<TrainUserExcel> trainUserExcels;
}
