namespace Bp.Sync.Dto.SmartTable
{
    public class Pagination
    {
        public int From { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        public double Total { get; set; }
        public int TotalPages { get; set; }
        public int Start => (PageIndex - 1) * PageSize;

        public int TotalItemCount { get; set; }

        public int Number { get; set; }

        public int NumberOfPages { get; set; }
    }
}
