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

export class ListingPriceChangedEvent implements DomainEvent {
  readonly eventName = 'listing.price_changed';
  readonly occurredAt = new Date();

  constructor(
    public readonly aggregateId: string,
    public readonly oldPrice: bigint,
    public readonly newPrice: bigint,
  ) {}
}
