import { Expose } from 'class-transformer';
import { IsArray, IsNumber, IsDefined, IsOptional, Min } from 'class-validator';

export class FaceAssignmentsBulkIndexFacesVC {
    @IsDefined()
    @IsArray()
    @IsNumber({}, { each: true })
    @Expose()
    instanceIds!: number[];

    @IsOptional()
    @IsNumber()
    @Min(1)
    @Expose()
    limit?: number;

    @IsOptional()
    @IsNumber()
    @Min(0)
    @Expose()
    offset?: number;
}
