9 lines
No EOL
705 B
Markdown
9 lines
No EOL
705 B
Markdown
# Package Responsibility and Forbidden Dependencies
|
|
|
|
| Package | Responsibility | Forbidden Dependencies |
|
|
|--------------|--------------------------------------------------|------------------------|
|
|
| controller | Handles incoming requests and routes them | repository, domain |
|
|
| service | Contains business logic and processes data | repository, domain |
|
|
| repository | Data access and storage | controller, service |
|
|
| domain | Core business model and rules | controller, service |
|
|
| integration | External system communication | domain | |