mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 19:21:10 +00:00
Adds favorites and aligns playlist and favorite pagination
This commit is contained in:
1 parent
2e9f7d8496
commit
525ac1348d
193 files changed
+10944
-643
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Presentation.Web.Common.Enums.Favorites;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.DTO.Favorites;
|
||||
|
||||
/// <summary>
|
||||
/// Data transfer object for a favorite of the current user.
|
||||
/// </summary>
|
||||
/// <param name="Id">The Id of the favorite.</param>
|
||||
/// <param name="MediaKind">The kind of the favorited media item.</param>
|
||||
/// <param name="MediaItemId">The Id of the favorited media item.</param>
|
||||
/// <param name="FavoritedOnUtc">The date and time when the media item was favorited.</param>
|
||||
[DebuggerDisplay("Id: {Id}; MediaKind: {MediaKind}; MediaItemId: {MediaItemId}")]
|
||||
public sealed record FavoriteDto(
|
||||
Guid Id,
|
||||
FavoriteMediaKind MediaKind,
|
||||
Guid MediaItemId,
|
||||
DateTime FavoritedOnUtc
|
||||
);
|
||||
Reference in new issue
Block a user