diff --git a/back/schema.py b/back/schema.py index 424983d..2d63adc 100644 --- a/back/schema.py +++ b/back/schema.py @@ -15,10 +15,13 @@ class TokenData(BaseModel): class User(BaseModel): - email: Union[str, None] = None - full_name: Union[str, None] = None - disabled: Union[bool, None] = None + id: int + phone: Union[int, None] = None + email: str + name: Union[str, None] = None + surname: Union[str, None] = None class UserInDB(User): + password: str hashed_password: str \ No newline at end of file