package jnpf.model.cultivate.v2.course.vo.app;

import jnpf.model.cultivate.v2.position.vo.BusinessSourceVo;
import jnpf.model.cultivate.vo.chapter.FtbCultivateChapterTestResultVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.List;


@EqualsAndHashCode(callSuper = true)
@Data
public class V2ChapterStudyVo extends BusinessSourceVo {
    /**
     * 课程主键id
     */
    @NotBlank(message = "课程主键id不能为空")
    private String courseId;
    /**
     * 章节主键id
     */
    @NotBlank(message = "章节主键id不能为空")
    private String chapterId;
    /**
     * 学习时长,单位秒
     */
    private Integer duration;

    /**
     * 岗位id
     */
    private String postId;

    /**
     * 职级id
     */
    private String gradeId;


    /**
     * 上一次视频学习时长
     */
    private Long lastVideoStudyTime;
    /**
     * 随堂测试结果，开启了随堂测试才传值
     */
    private List<FtbCultivateChapterTestResultVO> ftbChapterTestDTOs;

}
