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

export class OrderCreatedEvent implements DomainEvent {
  readonly eventName = 'order.created';
  readonly occurredAt = new Date();

  constructor(
    public readonly aggregateId: string,
    public readonly buyerId: string,
    public readonly sellerId: string,
    public readonly listingId: string,
    public readonly amountVND: bigint,
  ) {}
}
