import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString } from 'class-validator';

export class ApplyCouponDto {
  @ApiProperty({ description: 'Coupon code', example: 'DISCOUNT10' })
  @IsNotEmpty()
  @IsString()
  code!: string;
}
