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

export class LeadStatusChangedEvent implements DomainEvent {
  readonly eventName = 'lead.status_changed';
  readonly occurredAt = new Date();

  constructor(
    public readonly aggregateId: string,
    public readonly agentId: string,
    public readonly oldStatus: string,
    public readonly newStatus: string,
  ) {}
}
