diff --git a/fastapi_users_db_sqlalchemy/__init__.py b/fastapi_users_db_sqlalchemy/__init__.py
index 69af5b0..f0e0778 100644
--- a/fastapi_users_db_sqlalchemy/__init__.py
+++ b/fastapi_users_db_sqlalchemy/__init__.py
@@ -22,12 +22,12 @@ class SQLAlchemyBaseUserTable(Generic[ID]):
     __tablename__ = "user"
 
     if TYPE_CHECKING:  # pragma: no cover
-        id: ID
-        email: str
-        hashed_password: str
-        is_active: bool
-        is_superuser: bool
-        is_verified: bool
+        id: ID | Mapped[Mapped]
+        email: str | Mapped[str]
+        hashed_password: str | Mapped[str]
+        is_active: bool | Mapped[bool]
+        is_superuser: bool | Mapped[bool]
+        is_verified: bool | Mapped[bool]
     else:
         email: Mapped[str] = mapped_column(
             String(length=320), unique=True, index=True, nullable=False