package com.ruoyi.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.GnhzBaseEntity;
import com.ruoyi.entity.TrainingPlanCourse;
import com.ruoyi.entity.TrainingPlanDocuments;
import com.ruoyi.entity.TrainingPlanPost;
import lombok.Data;

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

/**
 * @program: RuoYi-Vue-master
 * @description: 培训计划
 * @author: niujie
 * @create: 2023-08-15 15:11
 **/
@Data
public class TrainingPlanDto extends GnhzBaseEntity {
    //id
    private String id;

    //名称
    private String trainingPlanName;

    //学习开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date learningStartTime;

    //学习结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date learningEndTime;

    //计划类型：1、文件，2、课程
    private String planType;

    //封面图片
    private String coverPhoto;

    //简介
    private String briefIntroduction;

    //是否需要考试 1、是，2、否
    private String isExamination;

    //考试图数量
    private String questionsNumber;

    //状态1、待审核，2、角核通过，3、审核不通过
    private String lessonScheduleState;

    //审核人
    private Long approveBy;

    //审核时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date approveTime;

    //审核意见
    private String approveOpinion;

    //备注
    private String remarkInfo;

    //岗位
    private List<TrainingPlanPost> sysPostList;

    //文件
    private List<TrainingPlanDocuments> trainingPlanDocumentsList;

    //课程
    private List<TrainingPlanCourse> trainingPlanCourseList;

    //培训计划分类表id
    private String trainingPlanClassificationId;

    //证书ID
    private String certificateId;

    //重考次数
    private String retakesNumber;

    private String[] allTime;
}
