update entity id
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { IsArray, IsNotEmpty, IsNumber } from 'class-validator';
|
||||
import { IsArray, IsNotEmpty, IsNumber, IsString } from 'class-validator';
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class FindFieldsGroupDto {
|
||||
|
||||
@IsNotEmpty()
|
||||
@IsArray()
|
||||
@IsNumber({}, { each: true })
|
||||
@IsString({ each: true })
|
||||
@ApiProperty()
|
||||
entityIds: number[]
|
||||
entityIds: string[]
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user