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

export class SubscriptionExpiredEvent implements DomainEvent {
  readonly eventName = 'subscription.expired';
  readonly occurredAt = new Date();

  constructor(
    public readonly aggregateId: string,
    public readonly userId: string,
    public readonly planTier: PlanTier,
  ) {}
}
