in this example, it was specifically divided into many small modules to show how to connect them together.
- application - main module - run spring boot
- controller - rest controller
- model - entity
- repository - jpa repository
@ComponentScan({
"application",
"model",
"repository",
"controller"})
@EntityScan("model")
@EnableJpaRepositories("repository")