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

export class BatchAssignDto {
  @IsArray()
  @IsNumber({}, { each: true })
  @ArrayMinSize(1)
  workIds: number[];

  @IsArray()
  @IsNumber({}, { each: true })
  @ArrayMinSize(1)
  judgeIds: number[];
}
