2026-04-12 20:48:23 +08:00
|
|
|
"""Database model package.
|
|
|
|
|
|
|
|
|
|
Import all model modules during package initialization so SQLAlchemy can
|
|
|
|
|
resolve string-based relationships regardless of route/service import order.
|
|
|
|
|
"""
|
|
|
|
|
|
2026-06-20 23:21:35 +08:00
|
|
|
from . import ai_chat, atp_asset, atp_model, audit_log, auth_session, document, elevation, file_storage, fl_analysis, lightning_event, lightning_sample, line, line_tower, menu, object_group, rbac, scheduled_task, system_message, system_param, tower_model, tower_profile, user, wine, worker_registry
|
2026-04-12 20:48:23 +08:00
|
|
|
|
|
|
|
|
__all__ = [
|
2026-06-20 23:20:17 +08:00
|
|
|
"ai_chat",
|
2026-06-11 22:39:48 +08:00
|
|
|
"atp_asset",
|
2026-04-26 09:00:49 +08:00
|
|
|
"atp_model",
|
2026-04-12 20:48:23 +08:00
|
|
|
"audit_log",
|
|
|
|
|
"auth_session",
|
2026-06-20 23:21:35 +08:00
|
|
|
"document",
|
2026-05-01 17:02:52 +08:00
|
|
|
"elevation",
|
2026-04-12 20:48:23 +08:00
|
|
|
"file_storage",
|
2026-06-06 20:55:48 +08:00
|
|
|
"fl_analysis",
|
2026-04-26 00:14:25 +08:00
|
|
|
"lightning_event",
|
|
|
|
|
"lightning_sample",
|
|
|
|
|
"line",
|
|
|
|
|
"line_tower",
|
2026-04-12 20:48:23 +08:00
|
|
|
"menu",
|
2026-04-23 09:41:54 +08:00
|
|
|
"object_group",
|
2026-04-12 20:48:23 +08:00
|
|
|
"rbac",
|
2026-06-09 12:00:26 +08:00
|
|
|
"scheduled_task",
|
2026-06-13 23:27:12 +08:00
|
|
|
"system_message",
|
2026-04-19 07:48:34 +08:00
|
|
|
"system_param",
|
2026-05-03 18:15:54 +08:00
|
|
|
"tower_model",
|
2026-06-06 20:55:48 +08:00
|
|
|
"tower_profile",
|
2026-04-12 20:48:23 +08:00
|
|
|
"user",
|
2026-06-09 08:29:06 +08:00
|
|
|
"wine",
|
2026-05-01 20:59:12 +08:00
|
|
|
"worker_registry",
|
2026-04-12 20:48:23 +08:00
|
|
|
]
|