BookEntity and Repository.