# 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 |