import { ApiProperty } from '@nestjs/swagger';
import { PlanTier } from '@prisma/client';
import { IsEnum } from 'class-validator';

export class UpgradeSubscriptionDto {
  @ApiProperty({ enum: PlanTier, description: 'Target plan tier to upgrade to' })
  @IsEnum(PlanTier)
  newPlanTier!: PlanTier;
}
