Add project
This commit is contained in:
21
Common/Pagination/PaginationProperties.cs
Normal file
21
Common/Pagination/PaginationProperties.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user