mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 00:11:10 +00:00
39 lines
1.4 KiB
C#
39 lines
1.4 KiB
C#
#region ========================================================================= USING =====================================================================================
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
#endregion
|
|
|
|
namespace Lumina.Presentation.Web.Common.DTO.AudioLibrary.MusicLibrary;
|
|
|
|
/// <summary>
|
|
/// Data transfer object for a paginated collection of lightweight music artist elements, together with pagination metadata.
|
|
/// </summary>
|
|
[DebuggerDisplay("CurrentPage: {CurrentPage}; Count: {Count}")]
|
|
public class PaginatedMusicArtistLiteDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the collection of lightweight music artist elements associated with this instance.
|
|
/// </summary>
|
|
public IReadOnlyList<MusicArtistLiteDto> Data { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Gets or sets the current page number in a paginated collection.
|
|
/// </summary>
|
|
public int CurrentPage { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of items to include per page in paginated results.
|
|
/// </summary>
|
|
public int PerPage { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the total number of elements available in the paginated result set.
|
|
/// </summary>
|
|
public int Count { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the total number of pages based on elements available in the result set and per page.
|
|
/// </summary>
|
|
public int NumberOfPages { get; set; }
|
|
}
|