实现管理段用户增删改查改密码

This commit is contained in:
2025-05-08 22:07:06 +08:00
parent 887c714e25
commit ff4c755fc8
6 changed files with 132 additions and 3 deletions

View File

@@ -0,0 +1,23 @@
import { IsOptional, IsString } from "class-validator";
export class CreateDto {
@IsOptional()
@IsString()
username?: string;
@IsOptional()
@IsString()
nickname?: string;
@IsOptional()
@IsString()
email?: string;
@IsOptional()
@IsString()
phone?: string;
@IsOptional()
@IsString()
avatar?: string;
}