Spaces:
Sleeping
Sleeping
import { | |
IsString, | |
IsEmail, | |
IsMobilePhone, | |
IsOptional, | |
IsNumber, | |
MinLength | |
} from "class-validator"; | |
export class SignUpDto{ | |
() | |
full_name: string; | |
'vi-VN') | (|
// @IsUnique('phone_number', { message: 'phone number is already registered' }) | |
phone_number: string; | |
() | |
() | |
// @IsUnique('email', { message: 'Email is already registered' }) | |
email?: string; | |
() | |
8) | (|
password: string; | |
} |