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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user