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

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

  constructor(
    public readonly aggregateId: string,
    public readonly adminId: string,
    public readonly moderationNotes?: string,
  ) {}
}
