src
├── main
| ├── java
| | └── com
| | └── yourcompany
| | └── crm
| | ├── core
| | | ├── application (Application services and use cases)
| | | ├── domain (Domain entities and business logic)
| | | └── ...
| | ├── primaryadapter (Primary Adapters, e.g., Controllers)
| | | ├── controller
| | | └── ...
| | ├── secondaryadapter (Secondary Adapters, e.g., Repository)
| | | ├── repository
| | | └── ...
| | └── [Link] (Main application class)
| └── resources
| ├── [Link] (Application configuration)
| └── ...
└── test (Unit and Integration tests)
└── java
└── com
└── yourcompany
└── crm
├── core
| ├── application (Tests for application services)
| ├── domain (Tests for domain entities and logic)
| └── ...
├── primaryadapter (Tests for primary adapters)
| └── controller
| └── ...
└── secondaryadapter (Tests for secondary adapters)
└── repository
└── ...