Files
000-platform/backend/app/models/__init__.py
Admin b8e19dcde6
All checks were successful
continuous-integration/drone/push Build is passing
fix: 重命名通知渠道模型避免与 alert 模块冲突
- NotificationChannel -> TaskNotifyChannel
- platform_notification_channels -> platform_task_notify_channels
2026-01-28 17:06:28 +08:00

36 lines
909 B
Python

"""数据模型"""
from .tenant import Tenant, Subscription, Config
from .tenant_app import TenantApp
from .tenant_wechat_app import TenantWechatApp
from .tool_config import ToolConfig
from .app import App
from .stats import AICallEvent, TenantUsageDaily
from .logs import PlatformLog
from .alert import AlertRule, AlertRecord, NotificationChannel
from .pricing import ModelPricing, TenantBilling
from .scheduled_task import ScheduledTask, TaskLog, ScriptVar, Secret
from .notification_channel import TaskNotifyChannel
__all__ = [
"Tenant",
"Subscription",
"Config",
"TenantApp",
"TenantWechatApp",
"ToolConfig",
"App",
"AICallEvent",
"TenantUsageDaily",
"PlatformLog",
"AlertRule",
"AlertRecord",
"NotificationChannel",
"ModelPricing",
"TenantBilling",
"ScheduledTask",
"TaskLog",
"ScriptVar",
"Secret",
"TaskNotifyChannel"
]