import { IsArray, IsNotEmpty, IsNumber, IsString } from 'class-validator'; import { ApiProperty } from '@nestjs/swagger'; export class FindFieldsGroupDto { @IsNotEmpty() @IsArray() @IsString({ each: true }) @ApiProperty() entityIds: string[] }