Доделана пагинация в пакетах
This commit is contained in:
@@ -1,4 +1,17 @@
|
||||
package ru.serega6531.packmate.model;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.data.domain.Sort;
|
||||
|
||||
@Data
|
||||
public class Pagination {
|
||||
|
||||
private boolean fetchLatest;
|
||||
|
||||
private Sort.Direction direction;
|
||||
|
||||
private long startingFrom;
|
||||
|
||||
private int pageSize;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user