package com.bjtdba.userCenter.dto.response.common;

import lombok.Getter;
import java.util.List;

@Getter
public class PageResult<T> {
    private final List<T> list;
    private final int pageNum;
    private final int pageSize;
    private final long total;

    public PageResult(List<T> list, int pageNum, int pageSize, long total) {
        this.list = list;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.total = total;
    }
}