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/09 14:26
 */
public class EquipmentDeleteEvent extends ApplicationEvent {

    /**
     * 需要删除的设备ID
     */
    @Getter
    @Setter
    private List<Integer> equipmentIdList;

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