package com.skr.mdm.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 用户删除事件
 * @author nfq
 * @date 2022-12-12 09:54
 */
public class UserDeleteEvent extends ApplicationEvent {

    /**
     * 需要删除的用户ID
     */
    @Getter
    @Setter
    private List<Integer> userIdList;

    public UserDeleteEvent(Object source, List<Integer> userIdList) {
        super(source);
        this.userIdList = userIdList;
    }
}
