from sqlalchemy import BigInteger, Integer, Float from sqlalchemy.orm import Mapped, mapped_column from app.models.base import Base class Player(Base): __tablename__ = "players" id: Mapped[int] = mapped_column(primary_key=True) telegram_id: Mapped[int] = mapped_column(BigInteger, unique=True) money: Mapped[int] = mapped_column(Integer, default=10000) reputation: Mapped[float] = mapped_column(Float, default=1.0)