import { IsArray, IsInt, IsNumber, IsOptional, ArrayMinSize } from 'class-validator';

export class BulkUpdateProductsDto {
  @IsArray()
  @ArrayMinSize(1)
  @IsInt({ each: true })
  ids: number[];

  @IsOptional()
  @IsNumber()
  categoryId?: number | null;
}
