|
@@ -11,6 +11,17 @@ import lombok.Data;
|
|
|
@Data
|
|
|
public class PaginationVo {
|
|
|
|
|
|
+ public PaginationVo(){}
|
|
|
+
|
|
|
+ public PaginationVo(Integer page, Integer limit, Integer size) {
|
|
|
+ if(page != null)
|
|
|
+ this.page = page;
|
|
|
+ if(limit != null)
|
|
|
+ this.limit = limit;
|
|
|
+ if(size != null)
|
|
|
+ this.size = size;
|
|
|
+ }
|
|
|
+
|
|
|
public Integer page = 1;
|
|
|
|
|
|
public Integer limit = 25;
|