97743f6974
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
331 B
C#
11 lines
331 B
C#
namespace ROLAC.API.DTOs.Shared;
|
|
|
|
public class PagedResult<T>
|
|
{
|
|
public List<T> Items { get; set; } = [];
|
|
public int TotalCount { get; set; }
|
|
public int Page { get; set; }
|
|
public int PageSize { get; set; }
|
|
public int TotalPages => (int)Math.Ceiling((double)TotalCount / PageSize);
|
|
}
|