# generated by datamodel-codegen:
#   filename:  auth/basicLoginRequest.json
#   timestamp: 2022-10-03T15:16:21+00:00

from __future__ import annotations

from typing import Optional

from pydantic import BaseModel, Extra, Field

from ..type import basic


class LoginRequest(BaseModel):
    class Config:
        extra = Extra.forbid

    email: Optional[basic.Email] = Field(None, description='Email address of the user.')
    password: str = Field(..., description='Name of the column in a table.')
