Commit Graph
7 Commits
Author SHA1 Message Date
Kayori fa610a9bc6 Add EF Core persistence for charge machine plugin
Introduce ChargeMachineDbContext (SQLite) with ArticleContent and
ChargeHistory entities, plus migrations, and wire it up via
ConfigurePluginServices/OnAppInitialize with startup migration and
article-content seeding.

- ChargeEaChargeHandler now records each charge to ChargeHistory
- GetConfigEaChargeHandler serves article config from the DB instead
  of hardcoded values, and adds multibills/readagreement fields
- GetLastLogEaChargeHandler returns real daily totals and recent
  charge items from history, keyed by session card
- Add GetRecentChargeEaChargeHandler (paginated charge history) and
  OpChPassEaChargeHandler (PIN change)
- Update handlers to the new HandleAsync/primary-constructor style,
  file-scoped namespaces
- Bump EF Core/Identity packages and Abstractions reference to
  net10.0/10.0.10
2026-08-09 17:28:14 +02:00
Kayori c4bcba3b66 Fix for the new DoesProfileExist delegate so i can inject DI services 2026-08-03 23:38:24 +02:00
Kayori 90e95e67e1 Update for force encoding 2026-01-17 20:29:21 +01:00
Kayori 6126676fa1 Add stuff for the test menu. 2025-07-31 00:08:03 +02:00
Kayori 4ea74ea1f0 Work 2025-07-29 14:49:39 +02:00
Kayori d0169afe13 Add ignore 2025-07-29 14:49:15 +02:00
Kayori dfd9512701 Init 2025-06-22 20:18:29 +02:00