Refactor and enhance CRUD operations for Seal, Trailer, Transporter, Vehicle, and Customs Broker modules
- Updated SealService to support tenant and company filtering with pagination and enhanced CRUD methods. - Refactored TrailerService to include tenant and company support, added filtering capabilities, and improved CRUD methods. - Introduced TenantCRUDRoutes for Trailer and Transporter routes to streamline API endpoint creation and management. - Enhanced TransporterService with tenant and company filtering, pagination, and improved CRUD operations. - Added Customs Broker module with DTOs, models, services, and routes for managing customs broker data. - Implemented CRUD operations for Customs Broker, including personnel and VU management. - Improved data validation and descriptions in DTOs for better API documentation.
This commit is contained in:
@@ -19,7 +19,7 @@ from .dto import (
|
||||
)
|
||||
from .service import ClassService
|
||||
|
||||
router = APIRouter(prefix="/classes", tags=["Classes"])
|
||||
router = APIRouter(prefix="/classes")
|
||||
|
||||
|
||||
@router.get("/", response_model=ClassListDTO)
|
||||
|
||||
Reference in New Issue
Block a user