Initial commit: VoIdeaAI - voice-first AI idea assistant

This commit is contained in:
2026-05-13 12:51:42 +03:00
commit 688d043dad
421 changed files with 47915 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
"""BotCommand model — Telegram bot commands with enable/disable toggle."""
from sqlalchemy import Boolean, String
from sqlalchemy.orm import Mapped, mapped_column
from app.core.base import SQLBase, TimestampMixin, UUIDMixin
class BotCommand(SQLBase, UUIDMixin, TimestampMixin):
__tablename__ = "bot_commands"
name: Mapped[str] = mapped_column(
String(50), unique=True, nullable=False, index=True
)
description: Mapped[str] = mapped_column(
String(255), nullable=False
)
enabled: Mapped[bool] = mapped_column(
Boolean, default=True, nullable=False
)
requires_auth: Mapped[bool] = mapped_column(
Boolean, default=False, nullable=False
)