# alecorlo1314/finankey architecture

> Architecture diagram of the GitHub repository alecorlo1314/finankey, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-04-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/alecorlo1314/finankey
- Repository: https://github.com/alecorlo1314/finankey

## Overview

1. **Repository shape**
   - This is a **.NET MAUI cross-platform mobile/desktop app** organized in a layered style: **Presentation** (`FinanzasApp`), **Application** (`FinanzasApp.Aplicacion`), **Domain** (`FinanzasApp.Domain`), and **Infrastructure** (`FinanzasApp.Infrastructure`).
   - The structure is close to **Clean Architecture / CQRS**, with UI calling application use cases through a mediator, and infrastructure providing persistence and device/service integrations.

2. **Presentation layer (`FinanzasApp`)**
   - Contains the MAUI entry points (`App.xaml`, `MauiProgram.cs`, `AppShell.xaml`) plus the main UI.
   - The UI is split into **Pages/Vistas** and **ViewModels**, indicating an **MVVM** architecture.
   - Main screens are centered around **Dashboard**, **Tarjetas** (cards/accounts), **Transacciones**, **Configuración**, and **LoginBiometrico**.
   - `Convertidores` and `Modelos` support UI binding and presentation-specific shaping of data.

3. **Application layer (`FinanzasApp.Aplicacion`)**
   - This is where the app’s **use cases** live.
   - It is organized by domain area:
     - `Tarjetas` with **commands** and **queries** plus handlers.
     - `Transacciones` with command/query abstractions.
   - DTOs define the data contract between application and UI, such as:
     - `TarjetaResumenDto`, `TarjetaFormDto`
     - `TransaccionResumenDto`, `TransaccionFormDto`
     - financial summary DTOs like `ResumenFinancieroDto`, `ResumenCorteDto`, `GraficaCategoriaDto`
   - There is a local `IMediator` interface, showing the application layer expects message-based invocation rather than direct service calls.

4. **Domain layer (`FinanzasApp.Domain`)**
   - Holds the **core business model**:
     - Entities: `Tarjeta`, `Transaccion`
     - Enumerations for domain categorization/rules
   - It also defines the key abstractions the rest of the system depends on:
     - `IRepositorios` for persistence access
     - `IServicioBiometrico` for biometric authentication
     - `IServicioPrediccion` for predictive/ML-related behavior
   - This layer is intentionally free of UI and platform concerns.

5. **Infrastructure layer (`FinanzasApp.Infrastructure`)**
   - Implements the domain abstractions and connects the app to external capabilities.
   - `Persistencia/ContextoBD.cs` suggests a database-backed persistence model.
   - `Persistencia/Repositorios` contains repository implementations used by application handlers.
   - `Biometria/ServicioBiometricoMaui.cs` implements biometric authentication through device/runtime APIs.
   - `Prediccion/ServicioPrediccionOnnx.cs` indicates an **ONNX-based prediction service**, likely used for financial categorization or forecasting.

6. **Core dependency flow**
   - The main runtime flow is: **Page → ViewModel → Mediator/Application handler → Repository/Service → Database or device service**.
   - Responses flow back as **DTOs** to the ViewModel, which binds them to the page.
   - This keeps the UI decoupled from persistence and from platform-specific features.

7. **Tarjetas bounded context**
   - The largest feature area is **cards/accounts**.
   - It includes:
     - CRUD commands: create, update, delete
     - Queries: get all, get by id, summary, and financial/cut summaries
     - A service for **period/cut-date logic** (`Servicios/PeriodoCorte.cs`, `ServicioPeriodoCorte.cs`)
   - This suggests the app models card billing cycles and dashboard-style financial overviews, not just simple record storage.

8. **Transacciones bounded context**
   - Transaction handling is separated from cards and includes:
     - command/query types
     - a view model for forms, global transaction listing, and grouped movements
   - `GrupoTransacciones` in the UI layer suggests transactions are grouped for display or analysis, likely by category/date/card.
   - The presence of `TransaccionesGlobalPage` indicates a cross-card/global transaction view in addition to per-card views.

9. **Dashboard and analytics**
   - The dashboard is fed by summary DTOs and likely combines data from cards and transactions.
   - `GraficaCategoriaDto` and `ResumenFinancieroDto` indicate the app presents **aggregated financial metrics and category breakdowns**, not only transactional CRUD.
   - This is the main read-only analytics surface in the app.

10. **Configuration and authentication**
   - `Configuracion` is a separate feature area in both UI and ViewModel layers, suggesting user preferences or app settings are handled independently.
   - `LoginBiometricoPage` plus `IServicioBiometrico` show authentication can use **device biometrics** rather than only password-based login.
   - This is a notable boundary between the app and the device/platform layer.

11. **Cross-platform deployment**
   - The repo includes platform folders for **Android, iOS, Windows, and MacCatalyst** under both the MAUI app and the other projects.
   - This confirms the app is intended to run cross-platform, with platform-specific startup/configuration where required.
   - The architecture itself stays shared, while platform folders isolate OS-specific bootstrapping and capabilities.

12. **What to show in an architecture diagram**
   - Draw three main layers: **Presentation**, **Application**, **Domain**, with **Infrastructure** beneath them as the implementation layer.
   - Show two major business flows: **Tarjetas** and **Transacciones**, each with commands/queries and DTOs.
   - Include cross-cutting integrations for **persistence**, **biometrics**, and **prediction/ONNX**.
   - Mark the MAUI shell/pages as the user-facing entry point, and the mediator as the central application dispatch mechanism.

Main entry points: [`FinanzasApp.Aplicacion/Interfaces/IMediator.cs`](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Interfaces/IMediator.cs) (Mediator), [`FinanzasApp.Aplicacion/Tarjetas`](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Tarjetas) (Tarjetas Use Cases), [`FinanzasApp.Aplicacion/Transacciones`](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Transacciones) (Transacciones Use Cases), [`FinanzasApp.Domain/Interfaces/IRepositorios.cs`](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Domain/Interfaces/IRepositorios.cs) (Domain Ports)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Presentation"]
  node_app_shell["App Shell<br/>maui entry<br/>[AppShell.xaml]"]
  node_dashboard_vm["Dashboard VM<br/>viewmodel"]
  node_tarjetas_vm["Tarjetas VM<br/>viewmodel"]
  node_transacciones_vm["Transacciones VM<br/>viewmodel"]
  node_config_vm["Config VM<br/>viewmodel"]
  node_tarjeta_form_vm["Tarjeta Form VM<br/>viewmodel"]
  node_transaccion_form_vm["Transaccion Form VM<br/>viewmodel"]
  node_login_page["Biometric Login<br/>page"]
  node_dashboard_page["Dashboard<br/>page<br/>[DashboardPage.xaml]"]
  node_tarjetas_page["Tarjetas<br/>page<br/>[TarjetasPage.xaml]"]
  node_transacciones_page["Transacciones<br/>page"]
  node_config_page["Configuracion<br/>page"]
end

subgraph group_application["Application"]
  node_mediator{{"Mediator<br/>dispatch<br/>[IMediator.cs]"}}
  node_tarjetas_uc["Tarjetas Use Cases<br/>feature<br/>[Tarjetas]"]
  node_transacciones_uc["Transacciones Use Cases<br/>feature<br/>[Transacciones]"]
  node_app_dtos["App DTOs<br/>contracts<br/>[DTOs]"]
end

subgraph group_domain["Domain"]
  node_tarjeta_entity(("Tarjeta<br/>entity<br/>[Tarjeta.cs]"))
  node_transaccion_entity(("Transaccion<br/>entity<br/>[Transaccion.cs]"))
  node_domain_ports{{"Domain Ports<br/>interfaces<br/>[IRepositorios.cs]"}}
end

subgraph group_infrastructure["Infrastructure"]
  node_db_context[("DB Context<br/>persistence<br/>[ContextoBD.cs]")]
  node_repo_impl["Repositories<br/>persistence impl<br/>[Repositorios.cs]"]
  node_bio_service{{"Biometric Service<br/>device service"}}
  node_pred_service{{"Prediction Service<br/>ml service"}}
  node_infra_mediator{{"Mediator Impl<br/>dispatch impl<br/>[Mediador.cs]"}}
end

node_app_shell -->|"navigates to"| node_dashboard_page
node_app_shell -->|"navigates to"| node_tarjetas_page
node_app_shell -->|"navigates to"| node_transacciones_page
node_app_shell -->|"navigates to"| node_config_page
node_dashboard_page -->|"binds"| node_dashboard_vm
node_tarjetas_page -->|"binds"| node_tarjetas_vm
node_transacciones_page -->|"binds"| node_transacciones_vm
node_config_page -->|"binds"| node_config_vm
node_tarjetas_page -->|"opens form"| node_tarjeta_form_vm
node_transacciones_page -->|"opens form"| node_transaccion_form_vm
node_login_page -->|"authenticates via"| node_bio_service
node_dashboard_vm -->|"queries"| node_mediator
node_tarjetas_vm -->|"queries/commands"| node_mediator
node_transacciones_vm -->|"queries/commands"| node_mediator
node_config_vm -->|"reads state"| node_mediator
node_tarjeta_form_vm -->|"submits"| node_mediator
node_transaccion_form_vm -->|"submits"| node_mediator
node_mediator -->|"dispatches"| node_tarjetas_uc
node_mediator -->|"dispatches"| node_transacciones_uc
node_tarjetas_uc -->|"returns"| node_app_dtos
node_transacciones_uc -->|"returns"| node_app_dtos
node_tarjetas_uc -->|"depends on"| node_domain_ports
node_transacciones_uc -->|"depends on"| node_domain_ports
node_tarjetas_uc -->|"operates on"| node_tarjeta_entity
node_transacciones_uc -->|"operates on"| node_transaccion_entity
node_repo_impl -->|"persists with"| node_db_context
node_repo_impl -->|"implements"| node_domain_ports
node_bio_service -->|"implements"| node_domain_ports
node_pred_service -->|"implements"| node_domain_ports
node_infra_mediator -->|"invokes"| node_tarjetas_uc
node_infra_mediator -->|"invokes"| node_transacciones_uc
node_tarjetas_uc -->|"reads/writes"| node_repo_impl
node_transacciones_uc -->|"reads/writes"| node_repo_impl
node_tarjetas_uc -->|"may use"| node_pred_service
node_dashboard_vm -->|"consumes"| node_app_dtos

click node_app_shell "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/AppShell.xaml"
click node_dashboard_vm "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/DashboardViewModel.cs"
click node_tarjetas_vm "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Tarjetas/TarjetasViewModel.cs"
click node_transacciones_vm "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Transacciones/TransaccionesViewModel.cs"
click node_config_vm "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Configuracion/ConfiguracionViewModel.cs"
click node_tarjeta_form_vm "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Tarjetas/TarjetaFormViewModel.cs"
click node_transaccion_form_vm "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Transacciones/TransaccionFormViewModel.cs"
click node_login_page "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/LoginBiometricoPage.xaml"
click node_dashboard_page "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/DashboardPage.xaml"
click node_tarjetas_page "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/Tarjetas/TarjetasPage.xaml"
click node_transacciones_page "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/TransaccionesGlobalPage.xaml"
click node_config_page "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/Configuracion/ConfiguracionPage.xaml"
click node_mediator "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Interfaces/IMediator.cs"
click node_tarjetas_uc "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Tarjetas"
click node_transacciones_uc "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Transacciones"
click node_app_dtos "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/DTOs"
click node_tarjeta_entity "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Domain/Entidades/Tarjeta.cs"
click node_transaccion_entity "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Domain/Entidades/Transaccion.cs"
click node_domain_ports "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Domain/Interfaces/IRepositorios.cs"
click node_db_context "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Persistencia/ContextoBD.cs"
click node_repo_impl "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Persistencia/Repositorios/Repositorios.cs"
click node_bio_service "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Biometria/ServicioBiometricoMaui.cs"
click node_pred_service "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Prediccion/ServicioPrediccionOnnx.cs"
click node_infra_mediator "https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Mediador.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app_shell,node_dashboard_vm,node_tarjetas_vm,node_transacciones_vm,node_config_vm,node_tarjeta_form_vm,node_transaccion_form_vm,node_login_page,node_dashboard_page,node_tarjetas_page,node_transacciones_page,node_config_page toneBlue
class node_mediator,node_tarjetas_uc,node_transacciones_uc,node_app_dtos toneAmber
class node_tarjeta_entity,node_transaccion_entity,node_domain_ports toneMint
class node_db_context,node_repo_impl,node_bio_service,node_pred_service,node_infra_mediator toneRose
```

## Components

### Presentation

MAUI UI, shell, pages, and MVVM view models

- [App Shell](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/AppShell.xaml): maui entry · MAUI application bootstrap and navigation shell · `FinanzasApp/AppShell.xaml`
- [Dashboard VM](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/DashboardViewModel.cs): viewmodel · Dashboard state and summary bindings · `FinanzasApp/ViewModels/DashboardViewModel.cs`
- [Tarjetas VM](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Tarjetas/TarjetasViewModel.cs): viewmodel · Card/account listing and navigation logic · `FinanzasApp/ViewModels/Tarjetas/TarjetasViewModel.cs`
- [Transacciones VM](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Transacciones/TransaccionesViewModel.cs): viewmodel · Transaction browsing and grouping logic · `FinanzasApp/ViewModels/Transacciones/TransaccionesViewModel.cs`
- [Config VM](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Configuracion/ConfiguracionViewModel.cs): viewmodel · Settings and configuration bindings · `FinanzasApp/ViewModels/Configuracion/ConfiguracionViewModel.cs`
- [Tarjeta Form VM](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Tarjetas/TarjetaFormViewModel.cs): viewmodel · Create and edit card/account form state · `FinanzasApp/ViewModels/Tarjetas/TarjetaFormViewModel.cs`
- [Transaccion Form VM](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/ViewModels/Transacciones/TransaccionFormViewModel.cs): viewmodel · Create and edit transaction form state · `FinanzasApp/ViewModels/Transacciones/TransaccionFormViewModel.cs`
- [Biometric Login](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/LoginBiometricoPage.xaml): page · Login surface using device biometrics · `FinanzasApp/Vistas/LoginBiometricoPage.xaml`
- [Dashboard](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/DashboardPage.xaml): page · Main financial overview screen · `FinanzasApp/Vistas/DashboardPage.xaml`
- [Tarjetas](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/Tarjetas/TarjetasPage.xaml): page · Cards/accounts list and detail entry point · `FinanzasApp/Vistas/Tarjetas/TarjetasPage.xaml`
- [Transacciones](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/TransaccionesGlobalPage.xaml): page · Transaction list and movement views · `FinanzasApp/Vistas/TransaccionesGlobalPage.xaml`
- [Configuracion](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp/Vistas/Configuracion/ConfiguracionPage.xaml): page · App settings screen · `FinanzasApp/Vistas/Configuracion/ConfiguracionPage.xaml`

### Application

Use cases, commands, queries, DTOs, and dispatching

- [Mediator](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Interfaces/IMediator.cs): dispatch · Application message dispatcher · `FinanzasApp.Aplicacion/Interfaces/IMediator.cs`
- [Tarjetas Use Cases](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Tarjetas): feature · Card/account commands, queries, handlers, and period logic · `FinanzasApp.Aplicacion/Tarjetas`
- [Transacciones Use Cases](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/Transacciones): feature · Transaction commands and queries · `FinanzasApp.Aplicacion/Transacciones`
- [App DTOs](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Aplicacion/DTOs): contracts · Data transfer objects for summaries, forms, and analytics · `FinanzasApp.Aplicacion/DTOs`

### Domain

Core entities and abstractions

- [Tarjeta](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Domain/Entidades/Tarjeta.cs): entity · Card/account aggregate · `FinanzasApp.Domain/Entidades/Tarjeta.cs`
- [Transaccion](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Domain/Entidades/Transaccion.cs): entity · Financial movement entity · `FinanzasApp.Domain/Entidades/Transaccion.cs`
- [Domain Ports](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Domain/Interfaces/IRepositorios.cs): interfaces · Repository and service abstractions consumed by application and infrastructure · `FinanzasApp.Domain/Interfaces/IRepositorios.cs`

### Infrastructure

Persistence and device/service implementations

- [DB Context](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Persistencia/ContextoBD.cs): persistence · Database-backed persistence context · `FinanzasApp.Infrastructure/Persistencia/ContextoBD.cs`
- [Repositories](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Persistencia/Repositorios/Repositorios.cs): persistence impl · Concrete repository implementations · `FinanzasApp.Infrastructure/Persistencia/Repositorios/Repositorios.cs`
- [Biometric Service](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Biometria/ServicioBiometricoMaui.cs): device service · MAUI biometric authentication implementation · `FinanzasApp.Infrastructure/Biometria/ServicioBiometricoMaui.cs`
- [Prediction Service](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Prediccion/ServicioPrediccionOnnx.cs): ml service · ONNX-based prediction implementation · `FinanzasApp.Infrastructure/Prediccion/ServicioPrediccionOnnx.cs`
- [Mediator Impl](https://github.com/alecorlo1314/finankey/blob/main/FinanzasApp.Infrastructure/Mediador.cs): dispatch impl · Concrete mediator wiring handlers to services · `FinanzasApp.Infrastructure/Mediador.cs`

## Connections

- App Shell → Dashboard: navigates to · Shell exposes the main app surfaces
- App Shell → Tarjetas: navigates to · Shell routes into cards area
- App Shell → Transacciones: navigates to · Shell routes into transactions area
- App Shell → Configuracion: navigates to · Shell routes into settings
- Dashboard → Dashboard VM: binds · Page renders dashboard state from view model
- Tarjetas → Tarjetas VM: binds · Cards page is driven by its view model
- Transacciones → Transacciones VM: binds · Transaction page is driven by its view model
- Configuracion → Config VM: binds · Settings page is driven by its view model
- Tarjetas → Tarjeta Form VM: opens form · Card UI creates and edits cards
- Transacciones → Transaccion Form VM: opens form · Transaction UI creates and edits movements
- Biometric Login → Biometric Service: authenticates via · Biometric login delegates to device service
- Dashboard VM → Mediator: queries · Dashboard requests summaries through mediator
- Tarjetas VM → Mediator: queries/commands · Cards view model dispatches use cases
- Transacciones VM → Mediator: queries/commands · Transactions view model dispatches use cases
- Config VM → Mediator: reads state · Settings view model may load or persist configuration
- Tarjeta Form VM → Mediator: submits · Card form sends create/update commands
- Transaccion Form VM → Mediator: submits · Transaction form sends create/update commands
- Mediator → Tarjetas Use Cases: dispatches · Mediator routes card/account use cases
- Mediator → Transacciones Use Cases: dispatches · Mediator routes transaction use cases
- Tarjetas Use Cases → App DTOs: returns · Card use cases produce summary and form DTOs
- Transacciones Use Cases → App DTOs: returns · Transaction use cases produce DTOs and summaries
- Tarjetas Use Cases → Domain Ports: depends on · Use cases call through repository and service abstractions
- Transacciones Use Cases → Domain Ports: depends on · Use cases read/write through domain ports
- Tarjetas Use Cases → Tarjeta: operates on · Card handlers work on card entities
- Transacciones Use Cases → Transaccion: operates on · Transaction handlers work on movement entities
- Repositories → DB Context: persists with · Repositories use the database context
- Repositories → Domain Ports: implements · Infrastructure satisfies repository abstraction
- Biometric Service → Domain Ports: implements · Biometric service satisfies domain abstraction
- Prediction Service → Domain Ports: implements · Prediction service satisfies domain abstraction
- Mediator Impl → Tarjetas Use Cases: invokes · Concrete mediator executes card handlers
- Mediator Impl → Transacciones Use Cases: invokes · Concrete mediator executes transaction handlers
- Tarjetas Use Cases → Repositories: reads/writes · Card use cases persist through repositories
- Transacciones Use Cases → Repositories: reads/writes · Transaction use cases persist through repositories
- Tarjetas Use Cases → Prediction Service: may use · Card workflows can leverage prediction logic
- Dashboard VM → App DTOs: consumes · Dashboard binds to financial summary DTOs
