All checks were successful
continuous-integration/drone/push Build is passing
- NotificationChannel -> TaskNotifyChannel - platform_notification_channels -> platform_task_notify_channels
36 lines
909 B
Python
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"
|
|
]
|