chore: import DH V2 D5.6.4 production baseline
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Type } from 'class-transformer';
|
||||
import { IsInt, IsOptional, IsUUID, Max, Min } from 'class-validator';
|
||||
import { ListAssetTreeQueryDto } from './list-asset-tree-query.dto';
|
||||
|
||||
export class ListAssetTreeChildrenQueryDto extends ListAssetTreeQueryDto {
|
||||
@IsOptional()
|
||||
@IsUUID('4')
|
||||
parentId?: string;
|
||||
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
@Min(1)
|
||||
@Max(200)
|
||||
limit = 100;
|
||||
}
|
||||
Reference in New Issue
Block a user