from sqlalchemy import Integer, String from sqlalchemy.orm import Mapped, mapped_column from ..core.db import Base class User(Base): __tablename__ = "users" id: Mapped[int] = mapped_column(Integer, primary_key=True, index=True) username: Mapped[str] = mapped_column(String(128), unique=True, index=True) hashed_password: Mapped[str] = mapped_column(String(255)) isAdmin: Mapped[bool] = mapped_column()