import { ApiPropertyOptional } from '@nestjs/swagger';
import { IsOptional, IsString } from 'class-validator';
import { PaginationQueryDto } from '../../../common/dto/pagination-query.dto';

export class BlockListQueryDto extends PaginationQueryDto {
  @ApiPropertyOptional({ description: 'Search by blocked user name, username, or stage name' })
  @IsOptional()
  @IsString()
  search?: string;
}
