@@ -0,0 +1,464 @@
+/**%0D%0A * %0D%0A */%0D%0Apackage com.bookmanagement.util;%0D%0A%0D%0Aimport org.springframework.data.domain.PageRequest;%0D%0Aimport org.springframework.data.domain.Pageable;%0D%0Aimport org.springframework.data.domain.Sort;%0D%0A%0D%0A/**%0D%0A * @author Dino%0D%0A */%0D%0Apublic class BookCommon %7B%0D%0A    public static final int PAGE_SIZE = 10;%0D%0A%0D%0A    public static Pageable getPageRequest(Integer pageNumber) %7B%0D%0A        return new PageRequest(pageNumber - 1, PAGE_SIZE, Sort.Direction.ASC, %22id%22);%0D%0A    %7D%0D%0A%7D%0D%0A

add book common