/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.authcore.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页数据
 *
 * @author lingee
 * @date 2023/9/21
 */
@Data
public class PageData<T> implements Serializable {

    private static final long serialVersionUID = -6577523148643960799L;

    /**
     * 总数
     */
    private int total = 0;

    /**
     * 当前页
     */
    private int page = 1;

    /**
     * 页大小
     */
    private int size = 20;

    /**
     * 数据
     */
    private List<T> list;
}
