网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
using Dpz.Core.Web.Pager;

namespace Dpz.Core.Auth.Models;

public class LayuiPageWarp<T>
{
    public int Code => 0;

    public int Count { get; set; }

    public IList<T> Data { get; set; } = [];

    public LayuiPageWarp() { }

    public LayuiPageWarp(IPagedList<T> pagedList)
    {
        Count = pagedList.TotalItemCount;
        Data = pagedList;
    }

    public LayuiPageWarp(List<T> data, int count)
    {
        Count = count;
        Data = data;
    }
}
loading