first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace MyNewProjectName.Contracts.DTOs.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Paginated response wrapper
|
||||
/// </summary>
|
||||
public class PaginatedResponse<T>
|
||||
{
|
||||
public List<T> Items { get; set; } = new();
|
||||
public int PageNumber { get; set; }
|
||||
public int TotalPages { get; set; }
|
||||
public int TotalCount { get; set; }
|
||||
public bool HasPreviousPage { get; set; }
|
||||
public bool HasNextPage { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user