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

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

  constructor(
    public readonly aggregateId: string,
    public readonly sellerId: string,
    public readonly category: TransferCategory,
  ) {}
}
