File

src/user/dto/login-user.dto.ts

Index

Properties

Properties

Readonly email
email: string
Type : string
Decorators :
@IsNotEmpty()
Readonly password
password: string
Type : string
Decorators :
@IsNotEmpty()
import { IsNotEmpty } from 'class-validator';

export class LoginUserDto {

  @IsNotEmpty()
  readonly email: string;

  @IsNotEmpty()
  readonly password: string;
}

result-matching ""

    No results matching ""