using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Txgy.RBS.IDAL
{
    public class PageResult<T>
    {
        public PageResult()
        { }

        public PageResult(int pageIndex, int pageSize)
        {
            PageIndex = pageIndex;
            PageSize = pageSize;
        }

        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        public long TotalCount { get; set; }

        public List<T> DataList { get; set; }
    }
}
