22 lines
484 B
C#
22 lines
484 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Common.Pagination;
|
|
|
|
public class PaginationProperties
|
|
{
|
|
public PaginationProperties(string text, int pageSize)
|
|
{
|
|
Text = text;
|
|
PageNumber = 1;
|
|
PageSize = pageSize;
|
|
}
|
|
|
|
public int PageNumber { get; set; }
|
|
public int PageSize { get; set; }
|
|
public int TotalItems { get; set; }
|
|
public int NumberOfPages { get; set; }
|
|
public string? Text { get; set; }
|
|
}
|