#region ========================================================================= USING ===================================================================================== using Nemera.Presentation.Web.Common.DTO.Common; using Nemera.Presentation.Web.Common.Enums.Playlists; using System; using System.Diagnostics; #endregion namespace Nemera.Presentation.Web.Common.DTO.Playlists; /// /// Data transfer object for a playlist together with a page of its ordered entries. /// /// The Id of the playlist. /// The name of the playlist. /// The description of the playlist, if applicable. /// The kind of media the playlist holds. /// The page of ordered entries of the playlist, together with its pagination metadata. /// The date and time when the playlist was created. /// The date and time when the playlist was last updated, if applicable. [DebuggerDisplay("Id: {Id}; Name: {Name}; Entries: {Entries.Count}")] public sealed record PlaylistDto( Guid Id, string Name, string? Description, PlaylistType Type, PaginatedDto Entries, DateTime CreatedOnUtc, DateTime? UpdatedOnUtc );