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-05-01 20:59:12 +08:00
|
|
|
from . import atp_model, audit_log, auth_session, calendar_event, elevation, file_storage, hot_search, lightning_event, lightning_sample, line, line_tower, menu, model_registry, object_group, question_bank, rbac, requirement, system_param, todo, user, worker_registry
|
2026-04-12 20:48:23 +08:00
|
|
|
|
|
|
|
|
__all__ = [
|
2026-04-26 09:00:49 +08:00
|
|
|
"atp_model",
|
2026-04-12 20:48:23 +08:00
|
|
|
"audit_log",
|
|
|
|
|
"auth_session",
|
2026-04-23 09:41:54 +08:00
|
|
|
"calendar_event",
|
2026-05-01 17:02:52 +08:00
|
|
|
"elevation",
|
2026-04-12 20:48:23 +08:00
|
|
|
"file_storage",
|
2026-04-19 07:48:34 +08:00
|
|
|
"hot_search",
|
2026-04-26 00:14:25 +08:00
|
|
|
"lightning_event",
|
|
|
|
|
"lightning_sample",
|
|
|
|
|
"line",
|
|
|
|
|
"line_tower",
|
2026-04-12 20:48:23 +08:00
|
|
|
"menu",
|
|
|
|
|
"model_registry",
|
2026-04-23 09:41:54 +08:00
|
|
|
"object_group",
|
2026-04-19 07:48:34 +08:00
|
|
|
"question_bank",
|
2026-04-12 20:48:23 +08:00
|
|
|
"rbac",
|
|
|
|
|
"requirement",
|
2026-04-19 07:48:34 +08:00
|
|
|
"system_param",
|
2026-04-17 21:55:27 +08:00
|
|
|
"todo",
|
2026-04-12 20:48:23 +08:00
|
|
|
"user",
|
2026-05-01 20:59:12 +08:00
|
|
|
"worker_registry",
|
2026-04-12 20:48:23 +08:00
|
|
|
]
|