# ramosmilady049-afk/milady- architecture

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

- Interactive diagram: https://gitdiagram.com/ramosmilady049-afk/milady-
- Repository: https://github.com/ramosmilady049-afk/milady-

## Overview

Este repositorio es un modelo académico del dominio de un sistema integral para una tienda de mascotas, no una aplicación ejecutable: las clases contienen campos y métodos vacíos o simples. El README describe los flujos previstos de atención, citas, ventas y gestión de inventario, junto con sus relaciones de dominio; los enlaces del grafo reflejan esas relaciones documentadas, no llamadas observadas en el código. No hay controladores, persistencia ni integraciones implementadas en el árbol proporcionado.

Main entry points: [`src/petshop/model/Venta.java`](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Venta.java) (Venta), [`src/petshop/model/Cita.java`](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Cita.java) (Cita), [`src/petshop/model/Producto.java`](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Producto.java) (Producto), [`src/petshop/model/Cliente.java`](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Cliente.java) (Cliente)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_care["Clientes y atención"]
  node_cliente["Cliente<br/>[Cliente.java]"]
  node_mascota["Mascota<br/>[Mascota.java]"]
  node_cita["Cita<br/>[Cita.java]"]
  node_servicio["Servicio<br/>[Servicio.java]"]
  node_empleado["Empleado<br/>[Empleado.java]"]
end

subgraph group_sales["Ventas y pagos"]
  node_venta["Venta<br/>[Venta.java]"]
  node_detalle["Detalle de venta<br/>[DetalleVenta.java]"]
  node_pago["Pago<br/>[Pago.java]"]
end

subgraph group_stock["Productos e inventario"]
  node_producto["Producto<br/>[Producto.java]"]
  node_proveedor["Proveedor<br/>[Proveedor.java]"]
  node_inventario["Inventario<br/>[Inventario.java]"]
end

node_cliente -->|"posee"| node_mascota
node_mascota -->|"tiene citas"| node_cita
node_empleado -->|"atiende"| node_cita
node_cita -->|"incluye"| node_servicio
node_cliente -->|"realiza"| node_venta
node_empleado -->|"atiende"| node_venta
node_venta -->|"se compone de"| node_detalle
node_detalle -->|"detalla"| node_producto
node_venta -->|"recibe"| node_pago
node_proveedor -->|"suministra"| node_producto
node_producto -->|"registra movimientos"| node_inventario

click node_cliente "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Cliente.java"
click node_mascota "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Mascota.java"
click node_cita "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Cita.java"
click node_servicio "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Servicio.java"
click node_empleado "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Empleado.java"
click node_venta "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Venta.java"
click node_detalle "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/DetalleVenta.java"
click node_pago "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Pago.java"
click node_producto "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Producto.java"
click node_proveedor "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Proveedor.java"
click node_inventario "https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Inventario.java"

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_cliente,node_mascota,node_cita,node_servicio,node_empleado toneBlue
class node_venta,node_detalle,node_pago toneAmber
class node_producto,node_proveedor,node_inventario toneMint
```

## Components

### Clientes y atención

- [Cliente](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Cliente.java): `src/petshop/model/Cliente.java`
- [Mascota](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Mascota.java): `src/petshop/model/Mascota.java`
- [Cita](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Cita.java): `src/petshop/model/Cita.java`
- [Servicio](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Servicio.java): `src/petshop/model/Servicio.java`
- [Empleado](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Empleado.java): `src/petshop/model/Empleado.java`

### Ventas y pagos

- [Venta](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Venta.java): `src/petshop/model/Venta.java`
- [Detalle de venta](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/DetalleVenta.java): `src/petshop/model/DetalleVenta.java`
- [Pago](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Pago.java): `src/petshop/model/Pago.java`

### Productos e inventario

- [Producto](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Producto.java): `src/petshop/model/Producto.java`
- [Proveedor](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Proveedor.java): `src/petshop/model/Proveedor.java`
- [Inventario](https://github.com/ramosmilady049-afk/milady-/blob/main/src/petshop/model/Inventario.java): `src/petshop/model/Inventario.java`

## Connections

- Cliente → Mascota: posee (evidence: `README.md`)
- Mascota → Cita: tiene citas (evidence: `README.md`)
- Empleado → Cita: atiende (evidence: `README.md`)
- Cita → Servicio: incluye (evidence: `README.md`)
- Cliente → Venta: realiza (evidence: `README.md`)
- Empleado → Venta: atiende (evidence: `README.md`)
- Venta → Detalle de venta: se compone de (evidence: `README.md`)
- Detalle de venta → Producto: detalla (evidence: `README.md`)
- Venta → Pago: recibe (evidence: `README.md`)
- Proveedor → Producto: suministra (evidence: `README.md`)
- Producto → Inventario: registra movimientos (evidence: `README.md`)
