mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 20:29:19 +08:00
wip: 新增电商模块
This commit is contained in:
+3
-3
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class PageResultVO<T> implements Serializable {
|
||||
private List<T> list; // 当前页数据
|
||||
private List<T> records; // 当前页数据
|
||||
private Long total; // 总条数
|
||||
private Integer page; // 当前页码
|
||||
private Integer pageSize; // 每页条数
|
||||
@@ -20,8 +20,8 @@ public class PageResultVO<T> implements Serializable {
|
||||
private Boolean hasPrevPage; // 是否有上一页
|
||||
|
||||
// 构造函数
|
||||
public PageResultVO(List<T> list, Long total, Integer page, Integer pageSize) {
|
||||
this.list = list;
|
||||
public PageResultVO(List<T> records, Long total, Integer page, Integer pageSize) {
|
||||
this.records = records;
|
||||
this.total = total;
|
||||
this.page = page;
|
||||
this.pageSize = pageSize;
|
||||
|
||||
Reference in New Issue
Block a user