from sqlalchemy.orm import Mapped, mapped_column from . import Base class UserModel(Base): __tablename__ = "users" first_name: Mapped[str] mid_name: Mapped[str] last_name: Mapped[str] email: Mapped[str] = mapped_column(unique=True) telegram_id: Mapped[str] = mapped_column(unique=True) hashed_password: Mapped[str] is_active: Mapped[bool] = mapped_column(default=False) def __repr__(self): return ( f"" )