package com.yuchen.saas.park.service.event.property;

import com.yuchen.saas.park.api.dto.park.IoTEvent;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 接收设备属性数据事件
 */
@Getter
public class ReceiveEventDataEvent extends ApplicationEvent {
    private final IoTEvent ioTEvent;

    public ReceiveEventDataEvent(IoTEvent ioTEvent) {
        super(new Object());
        this.ioTEvent = ioTEvent;
    }

}