package com.dora.event;

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

/**
 * 用户事件基类
 */
@Getter
public abstract class UserEvent extends ApplicationEvent {
    
    private final Long userId;
    private final String eventType;
    
    public UserEvent(Object source, Long userId, String eventType) {
        super(source);
        this.userId = userId;
        this.eventType = eventType;
    }
} 