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


import lombok.Builder;
import lombok.Data;

import java.util.List;


/**
 * 课程事件监听
 *
 * @author wangchunxiang
 * @date 2024/09/11
 */
@Data
@Builder
public class PositionCourseEventDTO {
    /**
     * 课程id(必传)
     */
    private List<String> courseIds;

    /**
     * 用户id(必传)
     */
    private List<String> userIds;

    /**
     * 岗位id(必传)
     */
    private List<String> postIds;

    /**
     * 组织id(必传)
     */
    private List<String> organizationIds;

    /**
     * 事件触发类型
     */
    private EventType eventType;

    /**
     * 是否删除原有的学习课程,true删除,false不删除
     */
    private Boolean whetherToChange;


    public enum EventType {
        // 用户，岗位，组织
        USER,
        POST,
        ORGANIZATION
    }

}
