import { IsEmail, IsString, IsObject } from 'class-validator';
import { DeviceInfoDto } from './register.dto';

export class LoginDto {
  @IsEmail()
  email: string;

  @IsString()
  password: string;

  @IsObject()
  deviceInfo: DeviceInfoDto;
}
