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.
This commit is contained in:
2025-11-06 17:16:29 -06:00
parent d2ae76ef81
commit 07dfe1edb1
98 changed files with 4613 additions and 202 deletions

View File

@@ -8,7 +8,7 @@ from .dto import PaymentMethodDTO
from typing import Any, Dict
router = APIRouter(prefix="/payment-methods", tags=["Payment Methods"])
router = APIRouter(prefix="/payment-methods")
@router.get("/", response_model=Dict[str, Any])