-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc406a8
commit f70a29e
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace BHC24.Api.Models; | ||
|
||
public record PaginationRequest(int Page = 1, int PageSize = 20); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace BHC24.Api.Models; | ||
|
||
public class PaginationResponse<T> | ||
{ | ||
public int TotalCount { get; set; } | ||
public int Page { get; set; } | ||
public int PageSize { get; set; } | ||
public IEnumerable<T> Data { get; set; } | ||
Check warning on line 8 in src/BHC24.Api/Models/PaginationResponse.cs GitHub Actions / build
|
||
} |