src/user/dto/login-user.dto.ts
Properties |
| Readonly email |
email:
|
Type : string
|
Decorators :
@IsNotEmpty()
|
|
Defined in src/user/dto/login-user.dto.ts:6
|
| Readonly password |
password:
|
Type : string
|
Decorators :
@IsNotEmpty()
|
|
Defined in src/user/dto/login-user.dto.ts:9
|
import { IsNotEmpty } from 'class-validator';
export class LoginUserDto {
@IsNotEmpty()
readonly email: string;
@IsNotEmpty()
readonly password: string;
}