Files
plantillas-proyectos/backend/api/v1/modules/public/router.py
acazares 07dfe1edb1 Add service layers and models for Pedimento CRUD operations
- Implemented service classes for PedimentoConfigParameters, PedimentoConfigSurcharges, PedimentoConfigUpdateRectification, PedimentoConfigUpdates, PedimentoCustomsOffices, PedimentoDates, PedimentoDecrementables, PedimentoIncrementables, PedimentoIndexes, PedimentoPayments, PedimentoRectificationDestination, PedimentoRectificationOrigin, PedimentoTransportMeans, and PedimentoValidation.
- Each service class includes methods for CRUD operations: create, read, update, and delete.
- Added a main router for the API v1, integrating various modules including authentication, tenants, licenses, and pedimentos.
- Created models for PedimentoValidation with appropriate constraints and relationships.
2025-11-06 17:16:29 -06:00

14 lines
303 B
Python

"""
Router principal de API v1
Agrega todos los módulos de la aplicación
"""
from fastapi import APIRouter
from .reference_data.router import router as reference_data_router
# Router principal
router = APIRouter()
# Registrar módulos
router.include_router(reference_data_router, prefix="/public")