806 B
806 B
Package Responsibility and Forbidden Dependencies
| Package | Responsibility | Forbidden Dependencies |
|---|---|---|
| Controller | Handles incoming requests and responses | Service -> Repository |
| Service | Contains business logic and service level operations | Repository -> Service |
| Repository | Manages data persistence and retrieval | Controller -> Repository |
| Domain | Defines domain model and logic | Not applicable |
| Integration | Interfaces with external services | Service -> Integration |