package jnpf.model.cultivate.v2.statistics;

import jnpf.entity.cultivate.CultivateIdentifyApply;
import jnpf.model.cultivate.po.certificate.FtbCertificateUserEntity;
import jnpf.model.cultivate.po.exam.FtbCultivateExamUser;
import jnpf.model.cultivate.po.position.FtbCultivatePositionCourceLearning;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 用户学习情况批量查询结果封装类
 * 包含用户在不同任务中的课程、考试、鉴定、证书、技能等学习情况的映射
 */
@Data
public class V2UserLearningStatusResult {
    private final Map<String, FtbCultivatePositionCourceLearning> userCourseMap;
    private final Map<String, FtbCultivateExamUser> userExamMap;
    private final Map<String, CultivateIdentifyApply> userIdentificationMap;
    private final Map<String, FtbCertificateUserEntity> userCertificateMap;
    private final Map<String, List<String>> userSkillMap;

    public V2UserLearningStatusResult(Map<String, FtbCultivatePositionCourceLearning> userCourseMap,
                                      Map<String, FtbCultivateExamUser> userExamMap,
                                      Map<String, CultivateIdentifyApply> userIdentificationMap,
                                      Map<String, FtbCertificateUserEntity> userCertificateMap,
                                      Map<String, List<String>> userSkillMap) {
        this.userCourseMap = userCourseMap;
        this.userExamMap = userExamMap;
        this.userIdentificationMap = userIdentificationMap;
        this.userCertificateMap = userCertificateMap;
        this.userSkillMap = userSkillMap;
    }
}