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

export class BulkAssignmentsDto {
  @ApiProperty()
  @IsString()
  campaignId!: string;

  @ApiProperty({ type: [String] })
  @IsArray()
  @ArrayUnique()
  @IsString({ each: true })
  employeeIds!: string[];
}
