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

export class ApproveListingDto {
  @ApiProperty({ description: 'ID of the listing to approve', example: 'lst_abc123' })
  @IsString()
  listingId!: string;

  @ApiPropertyOptional({ description: 'Optional moderation notes', example: 'Verified photos and description' })
  @IsOptional()
  @IsString()
  moderationNotes?: string;
}
