Files
backend/libs/common/src/modules/user-otp/dtos/user-otp.dto.ts
2024-03-10 12:49:51 +03:00

20 lines
310 B
TypeScript

import { IsNotEmpty, IsString } from 'class-validator';
export class UserOtpDto {
@IsString()
@IsNotEmpty()
public uuid: string;
@IsString()
@IsNotEmpty()
public email: string;
@IsString()
@IsNotEmpty()
public otpCode: string;
@IsString()
@IsNotEmpty()
public expiryTime: string;
}