mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 23:14:53 +00:00
20 lines
310 B
TypeScript
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;
|
|
}
|