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

import lombok.Data;

import java.util.List;

@Data
public class PositionLearningCourseVo {
    /**
     * 课程总数
     */
    private Integer totalCourse;
    /**
     * 已学习课程数
     */
    private Integer alreadyLearnedCourse;
    /**
     * 课程内容
     */
    private List<AppCourseSimpleVo> courseLists;

    public static PositionLearningCourseVo empty() {
        PositionLearningCourseVo positionLearningCourseVo = new PositionLearningCourseVo();
        positionLearningCourseVo.setTotalCourse(0);
        positionLearningCourseVo.setAlreadyLearnedCourse(0);
        positionLearningCourseVo.setCourseLists(List.of());
        return positionLearningCourseVo;

    }
}
