#region ========================================================================= USING ===================================================================================== using System; #endregion namespace Lumina.Application.Common.DTO.Pagination; /// /// Data transfer object for pagination metadata. /// public sealed record PaginationDataDto { private int perPage = 200; private int currentPage = 1; /// /// Gets the current page number in a paginated collection. /// public int CurrentPage { get { return currentPage; } set { currentPage = Math.Max(value, 1); } } /// /// Gets or sets the number of items to include per page in paginated results. /// public int PerPage { get { return perPage; } set { perPage = Math.Max(value, 1); } } }