package com.zhongshu.card.server.core.event;

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

import java.util.List;

/**
 * @author TRX
 * @date 2024/6/26
 */
public class DevicePermissChangeEvent extends ApplicationEvent {

    @Getter
    private List<String> deviceIds;

    @Getter
    private String projectOid;

    @Getter
    private String from;

    public DevicePermissChangeEvent(Object source, List<String> deviceIds, String projectOid, String from) {
        super(source);
        this.deviceIds = deviceIds;
        this.projectOid = projectOid;
        this.from = from;
    }
}
