实现角色权限管理

This commit is contained in:
2025-05-08 22:59:03 +08:00
parent fba59416ea
commit 7c99ff6045
5 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { ArrayMinSize, IsArray, IsUUID } from "class-validator";
export class DeleteRolePermissionsDto {
@IsArray()
@ArrayMinSize(1)
@IsUUID('4', { each: true })
permissionIds: string[];
}