package org.jeecg.modules.database.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 试验管理
 * @Author: jeecg-boot
 * @Date: 2024-08-30
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ExperimentExportDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String  id;
    @Excel(name = "序号", width = 15, needMerge = true)
    private Integer indexNo;
    @Excel(name = "试验编号", width = 15, needMerge = true)
    private String  experimentNo;
    @Excel(name = "名称", width = 15, needMerge = true)
    private String  name;
    @Excel(name = "委托方名称", width = 15, needMerge = true)
    private String  clientName;
    @Excel(name = "试验类型", width = 15, needMerge = true, replace = {"科研试验_1", "外协试验_2"})
    private String  type;
    @Excel(name = "试验开始日期", width = 15, needMerge = true)
    private String  startDate;
    @Excel(name = "实验结束日期", width = 15, needMerge = true)
    private String  endDate;
    @Excel(name = "使用设备", width = 15, needMerge = true)
    private String  equipment;
    @Excel(name = "试验负责人", width = 15, needMerge = true)
    private String  supervisorName;
    @Excel(name = "已出报告份数", width = 15, needMerge = true)
    private String  reportCount;
    @Excel(name = "试验员及评分", width = 15, needMerge = true)
    private String  rateUserAndScore;

    @ExcelCollection(name = "辐照过程")
    private List<RadiationProcessExportDTO> radiationProcessList;

    @ExcelCollection(name = "退火过程")
    private List<AnnealProcessExportDTO> annealProcessList;

    @ExcelCollection(name = "测试过程")
    private List<TestProcessExportDTO> testProcessList;

}
