package com.skr.mdm.event;

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

import java.util.List;

/**
 * @author nfq
 * @date 2023-04-03 9:41
 */
public class PushUserEvent extends ApplicationEvent {

    @Getter
    private List<Integer> equipmentIdList;
    @Getter
    private Integer companyId;
    @Getter
    private String cmdType;
    @Getter
    private String data;


    public PushUserEvent(Object source, List<Integer> equipmentIdList, Integer companyId, String cmdType, String data) {
        super(source);
        this.equipmentIdList = equipmentIdList;
        this.companyId = companyId;
        this.cmdType = cmdType;
        this.data = data;
    }
}
