com.xx.DemoService
.controller 接口
.application 通过函数暴露功能
.domain 领域层,只包含核心的模型和逻辑
.model
.person
.Person.java
.PersonRepository
.service
.person
.PersonManageService.java
.infrastructure 基础设施,包含于业务关联的封装
.cache
.PersonCache.java
.repository
.PersonRepositoryImpl
.dao
.entity
.PersonEntity.java
.mapper
.PersonMapper.java
.nosql
.foundation 和业务无关的组件
.cache
.rediscache
.localcache
.port.adapter 适配器模式,放被依赖的外部接口