This commit is contained in:
2021-12-06 05:07:07 +07:00
parent 2b5abc7689
commit 74711e0823
3 changed files with 26 additions and 26 deletions

View File

@@ -2,8 +2,8 @@ import { IsNotEmpty } from 'class-validator';
export class CreateUserDto {
@IsNotEmpty()
firstName: string;
username: string;
@IsNotEmpty()
lastName: string;
password: string;
}