MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / Setting

Class Setting

src/database/models.py:261–269  ·  view source on GitHub ↗

系统设置表

Source from the content-addressed store, hash-verified

259
260
261class Setting(Base):
262 """系统设置表"""
263 __tablename__ = 'settings'
264
265 key = Column(String(100), primary_key=True)
266 value = Column(Text)
267 description = Column(Text)
268 category = Column(String(50), default='general') # 'general', 'email', 'proxy', 'openai'
269 updated_at = Column(DateTime, default=utcnow_naive, onupdate=utcnow_naive)
270
271
272class CpaService(Base):

Calls

no outgoing calls