It introduces an additional layer in the architecture.
DTOs add a layer between the service and presentation layers, which can increase code maintainability by decoupling internal models from API representations. However, this also adds complexity as you need to manage mappings between entities and DTOs. In a Spring Boot e-commerce app, this requires converting Order entities to OrderDTOs for API responses.