package com.qqchen.deploy.backend.system.event;

import com.qqchen.deploy.backend.framework.event.DomainEvent;
import lombok.Getter;

@Getter
public class UserRoleChangedEvent extends DomainEvent {
    private final Long userId;
    private final Long roleId;
    private final String action;  // "ADD" or "REMOVE"
    public UserRoleChangedEvent(Long userId, Long roleId, String action) {
        super();
        this.userId = userId;
        this.roleId = roleId;
        this.action = action;
    }
} 