import { type DomainEvent } from '@modules/shared';

export class EscrowDisputedEvent implements DomainEvent {
  readonly eventName = 'escrow.disputed';
  readonly occurredAt = new Date();

  constructor(
    public readonly aggregateId: string,
    public readonly orderId: string,
    public readonly reason: string,
  ) {}
}
