패키지 구성 예시 1
└── com └── linecorp └── rentalapp ├── application │ ├── AlreadyRentedException.java │ ├── NotFoundException.java │ ├── RentalTarget.java │ ├── TotalRentalService.java │ └── TotalRentalServiceImpl.java ├── domain │ ├── model │ │ ├── customer │ │ │ ├── Customer.java │ │ │ └── CustomerRepository.java │ │ ├── history │ │ │ ├── RentalHistory.java │ │ │ └── RentalHistoryRepository.java │ │ └── rental │ │ ├── Item.java │ │ ├── Rental.java │ │ └── RentalRepository.java │ └── service │ └── rental │ └── InventoryService.java │ ├── infrastructure └── interfaces
- : 특히 챕터 10 이상을 참고