package com.ruoyi.project.business.domain.vo.train;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.project.business.domain.train.TtTestPaper;
import com.ruoyi.project.business.domain.train.TtTrain;
import com.ruoyi.project.business.domain.train.TtTrainFile;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;


/**
 * 【trainVO】对象 tt_train
 *
 * @author zhouy
 * @date 2024-06-18
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class TtTrainExcelVo
{
    /**
     * 培训名称
     */
    @Excel(name = "培训名称", width = 30)
    private String trainName;

    /**
     * 培训状态（00：未开始 01已完成 02已结束）
     */
    @Excel(name = "培训状态", dictType = "train_status")
    private String trainStatus;

    /**
     * 培训类型（关联字典）
     */
    @Excel(name = "培训类型", dictType = "training_category")
    private String trainType;

    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /**
     * 终了日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "终了日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /**
     * 是否考核（0：不考核 1：考核）
     */
    @Excel(name = "是否考核", readConverterExp = "0=不考核,1=考核")
    private String assessFlag;


    /**
     * 发布人
     */
    @Excel(name = "发布人")
    private String createByName;

    /** 培训完成率*/
    @Excel(name = "培训完成率")
    private String trainingCompletionRate;

    /** 考核完成率*/
    @Excel(name = "考核完成率")
    private String assessmentCompletionRate;
}
