using ColaFlow.Shared.Kernel.Events;
using ColaFlow.Modules.Identity.Domain.Aggregates.Tenants;

namespace ColaFlow.Modules.Identity.Domain.Aggregates.Users.Events;

public sealed record UserRoleAssignedEvent(
    Guid UserId,
    TenantId TenantId,
    TenantRole Role,
    TenantRole? PreviousRole,
    Guid AssignedBy
) : DomainEvent;
