import { IsEnum } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { ReviewStatus } from '../enums/review-status.enum';

export class ChangeStatusDto {
  @IsEnum(ReviewStatus)
  @ApiProperty({
    enum: ReviewStatus,
    description: 'Review status: pending, approved, or rejected',
    example: ReviewStatus.APPROVED,
  })
  status: ReviewStatus;
}
