package com.hotwj.platform.securityManagement.trainingCourseConfig.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.securityManagement.trainingCourseConfig.domain.HotTrainingCourseConfig;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 企业课程配置视图对象 hot_training_course_config
 *
 * @author shihongwei
 * @date 2026-01-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotTrainingCourseConfig.class)
public class HotTrainingCourseConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long companyId;

    /**
     * 课程名称
     */
    @ExcelProperty(value = "课程名称")
    private String courseName;

    /**
     * 所属课程ID
     */
    @ExcelProperty(value = "所属课程ID")
    private Long courseId;

    /**
     * 课程所属，例如: 企业/下发
     */
    @ExcelProperty(value = "课程所属，例如: 企业/下发")
    private String courseBelong;

    /**
     * 学习时长，单位分钟
     */
    @ExcelProperty(value = "学习时长，单位分钟")
    private Long studyDuration;

    /**
     * 排序序号，数字越小越靠前
     */
    @ExcelProperty(value = "排序序号，数字越小越靠前")
    private Long sortNo;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;

    /**
     * 培训id
     */
    @ExcelProperty(value = "培训id")
    private Long trainingId;

    /**
     * 学习照片OSS文件ID
     */
    @ExcelProperty(value = "学习照片OSS文件ID")
    private Long studyPhotoOssId;

    /**
     * 创建人显示名称
     */
    @ExcelProperty(value = "创建人显示名称")
    private String createByName;

    /**
     * 最后修改人显示名称
     */
    @ExcelProperty(value = "最后修改人显示名称")
    private String updateByName;

    private Date createTime;

    private Integer learnDurationMin;

    private BigDecimal progressRate;

    private Boolean completed;

    private Date completeTime;

    private Boolean lessonQuizCompleted;

    private Boolean hasLessonQuiz;
}
