package jnpf.model.cultivate.event.dto.course;

import jnpf.model.cultivate.bo.TriggerEventBO;
import jnpf.model.cultivate.vo.chapter.FtbCultivateChapterTestResultVO;
import lombok.*;

import java.util.List;

/**
 * 通用学习课程触发
 *
 * @author wangchunxiang
 * @date 2024/09/18
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
@ToString(callSuper = true)
public class CommonCourseProcessLearnDTO extends CourseProcessLearn implements TriggerEventBO {

    public CommonCourseProcessLearnDTO(String userId, String courseId, String chapterId, Integer duration, List<FtbCultivateChapterTestResultVO> ftbChapterTestDTOs) {
        super(userId, courseId, chapterId, duration, ftbChapterTestDTOs);
    }

    @Override
    public TriggerEventType getTriggerEventType() {
        return TriggerEventType.COMMON_COURSE;
    }

}
