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

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

/// <summary>
/// Domain event raised when an invitation is cancelled
/// </summary>
public sealed record InvitationCancelledEvent(
    InvitationId InvitationId,
    TenantId TenantId,
    string Email
) : DomainEvent;
