# akerman14bc-blip/fase_4__practicas_simuladas architecture

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

- Interactive diagram: https://gitdiagram.com/akerman14bc-blip/fase_4__practicas_simuladas
- Repository: https://github.com/akerman14bc-blip/fase_4__practicas_simuladas

## Overview

Software FJ is a Python application for registering customers and service offerings, creating and processing or canceling reservations, and reporting errors and events. Its demonstrated workflow starts at Main.py, runs the simulation, and invokes registration operations that validate entities and keep them in in-memory lists; reservations then look up customers, use a service to calculate cost, and update reservation state. The README also describes room, equipment, and advisory services. Edges reflect shown calls and imports; the README’s broader capabilities are retained, but unsampled details are not inferred.

Main entry points: [`Crear_Registros.py`](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Crear_Registros.py) (Registration operations), [`Reserva.py`](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Reserva.py) (Reservation lifecycle), [`Clientes.py`](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Clientes.py) (Customer validation), [`Simulaciones.py`](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Simulaciones.py) (Operation simulation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Application workflow"]
  node_main["Program entry<br/>[Main.py]"]
  node_simulation["Operation simulation<br/>[Simulaciones.py]"]
  node_registration["Registration operations<br/>[Crear_Registros.py]"]
end

subgraph group_domain["Business domain"]
  node_customer["Customer validation<br/>[Clientes.py]"]
  node_service["Service types<br/>[Servicio.py]"]
  node_reservation["Reservation lifecycle<br/>[Reserva.py]"]
  node_base["Base entity contract<br/>[Clase_Base.py]"]
end

subgraph group_state["Data and errors"]
  node_lists[("In-memory records<br/>[Listas.py]")]
  node_exceptions["Domain exceptions<br/>[Excepciones.py]"]
end

subgraph group_support["Logging support"]
  node_logging["File logging<br/>[Logs.py]"]
end

node_user(("Operator"))

node_user -.->|"starts"| node_main
node_main -->|"runs"| node_simulation
node_simulation -->|"invokes operations"| node_registration
node_simulation -->|"prints summary"| node_lists
node_simulation -->|"configures"| node_logging
node_registration -->|"creates"| node_customer
node_registration -->|"creates"| node_service
node_registration -->|"creates"| node_reservation
node_registration -->|"registers and looks up"| node_lists
node_reservation -->|"validates customer"| node_customer
node_reservation -->|"calculates cost"| node_service
node_customer -->|"inherits"| node_base
node_service -->|"inherits"| node_base
node_reservation -->|"inherits"| node_base
node_customer -->|"raises"| node_exceptions
node_service -->|"raises"| node_exceptions
node_reservation -->|"raises"| node_exceptions
node_lists -->|"raises"| node_exceptions
node_customer -->|"configures"| node_logging

click node_main "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Main.py"
click node_simulation "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Simulaciones.py"
click node_registration "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Crear_Registros.py"
click node_customer "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Clientes.py"
click node_service "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Servicio.py"
click node_reservation "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Reserva.py"
click node_lists "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Listas.py"
click node_base "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Clase_Base.py"
click node_exceptions "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Excepciones.py"
click node_logging "https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Logs.py"

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_main,node_simulation,node_registration toneBlue
class node_customer,node_service,node_reservation,node_base toneAmber
class node_lists,node_exceptions toneMint
class node_logging toneRose
class node_user toneIndigo
```

## Components

### Application workflow

- [Program entry](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Main.py): `Main.py`
- [Operation simulation](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Simulaciones.py): `Simulaciones.py`
- [Registration operations](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Crear_Registros.py): `Crear_Registros.py`

### Business domain

- [Customer validation](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Clientes.py): `Clientes.py`
- [Service types](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Servicio.py): `Servicio.py`
- [Reservation lifecycle](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Reserva.py): `Reserva.py`
- [Base entity contract](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Clase_Base.py): `Clase_Base.py`

### Data and errors

- [In-memory records](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Listas.py): `Listas.py`
- [Domain exceptions](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Excepciones.py): `Excepciones.py`

### Logging support

- [File logging](https://github.com/akerman14bc-blip/fase_4__practicas_simuladas/blob/Main/Logs.py): `Logs.py`

### Other components

- **Operator**

## Connections

- Operator → Program entry: starts
- Program entry → Operation simulation: runs (evidence: `Main.py`)
- Operation simulation → Registration operations: invokes operations (evidence: `Simulaciones.py`)
- Operation simulation → In-memory records: prints summary (evidence: `Simulaciones.py`)
- Operation simulation → File logging: configures (evidence: `Simulaciones.py`)
- Registration operations → Customer validation: creates (evidence: `Crear_Registros.py`)
- Registration operations → Service types: creates (evidence: `Crear_Registros.py`)
- Registration operations → Reservation lifecycle: creates (evidence: `Crear_Registros.py`)
- Registration operations → In-memory records: registers and looks up (evidence: `Crear_Registros.py`)
- Reservation lifecycle → Customer validation: validates customer (evidence: `Reserva.py`)
- Reservation lifecycle → Service types: calculates cost (evidence: `Reserva.py`)
- Customer validation → Base entity contract: inherits (evidence: `Clientes.py`)
- Service types → Base entity contract: inherits (evidence: `Servicio.py`)
- Reservation lifecycle → Base entity contract: inherits (evidence: `Reserva.py`)
- Customer validation → Domain exceptions: raises (evidence: `Clientes.py`)
- Service types → Domain exceptions: raises (evidence: `Servicio.py`)
- Reservation lifecycle → Domain exceptions: raises (evidence: `Reserva.py`)
- In-memory records → Domain exceptions: raises (evidence: `Listas.py`)
- Customer validation → File logging: configures (evidence: `Clientes.py`)
