优化结构

This commit is contained in:
Yvan
2026-08-21 10:29:14 +08:00
parent 56980c8087
commit 055f6811ca
340 changed files with 382 additions and 382 deletions
+12
View File
@@ -0,0 +1,12 @@
# Data Layer
`data` owns database clients, persistence models, migrations, configuration
watching, and repository implementations.
- `repository/`: system repositories and table persistence
- `payment/`: payment configuration and payment-order persistence
- root files: shared database lifecycle, runtime clients, integration-config
storage, data-scope auditing, and migration orchestration
Root files intentionally stay in one package because they share `Data` state and
reload locks. Do not split them into packages only to reduce file count.