58 lines
1.5 KiB
Java
58 lines
1.5 KiB
Java
package jnpf.model.app;
|
||
|
||
import com.alibaba.fastjson.annotation.JSONField;
|
||
import com.baomidou.mybatisplus.annotation.TableField;
|
||
import io.swagger.v3.oas.annotations.media.Schema;
|
||
import lombok.Data;
|
||
|
||
import java.io.Serializable;
|
||
import java.time.LocalDateTime;
|
||
import java.util.Date;
|
||
import java.util.List;
|
||
|
||
/**
|
||
*
|
||
* 岗位学习内容详情
|
||
*
|
||
* @author yanglei
|
||
* @since 2023-07-19
|
||
*/
|
||
@Data
|
||
public class PositionLearningCourseVO implements Serializable {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
@Schema(description = "课程ID")
|
||
private String id;
|
||
|
||
@Schema(description = "课程名称")
|
||
private String name;
|
||
|
||
@Schema(description = "章节列表")
|
||
private List<Chapter> chapterList;
|
||
|
||
@Data
|
||
public static class Chapter {
|
||
|
||
@Schema(description = "章节ID")
|
||
private String id;
|
||
|
||
@Schema(description = "章节名称")
|
||
private String name;
|
||
|
||
@Schema(description = "状态(0学习部分,1已学完,0和2表示未开始, 3未通过) 0用于标识上次学到地方")
|
||
private Integer status;
|
||
|
||
@Schema(description = "完成学习时间")
|
||
@JSONField(format = "yyyy-MM-dd HH:mm")
|
||
private LocalDateTime finishTime;
|
||
|
||
@Schema(description = "用时(秒)")
|
||
private Integer duration;
|
||
|
||
@Schema(description = "课程类型(1视频,2音频,3图文)")
|
||
private Integer type;
|
||
@Schema(description = "最后学习标识 1")
|
||
private Integer lastStudy;
|
||
}
|
||
} |