feat: 调整项目层级

This commit is contained in:
2024-11-27 14:30:20 +08:00
parent 5eb78c35c2
commit b02e2d2160
43 changed files with 17 additions and 12 deletions

View File

@@ -0,0 +1,8 @@
import { ArrayUnique, IsInt, IsNotEmpty } from 'class-validator';
export class UserRoleDto {
@IsNotEmpty()
@IsInt({ each: true })
@ArrayUnique()
roleIds: number[];
}