9 lines
No EOL
806 B
Markdown
9 lines
No EOL
806 B
Markdown
# 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 | |