Files
2026-07-08 20:02:29 +08:00

12 lines
392 B
Python

from sqlalchemy import String, Text
from sqlalchemy.orm import Mapped, mapped_column
from app.core.database import Base
class SystemConfig(Base):
__tablename__ = "system_config"
key: Mapped[str] = mapped_column(String(50), primary_key=True)
value: Mapped[str] = mapped_column(Text, nullable=True)
description: Mapped[str | None] = mapped_column(String(200), nullable=True)