Добавлено управление сессиями

This commit is contained in:
FrigaT
2026-04-14 01:39:25 +03:00
parent 40ea9166d2
commit fbfc6990e6
22 changed files with 1509 additions and 51 deletions

View File

@@ -0,0 +1,16 @@
namespace PlaylistShared.Api.Entities;
/// <summary>Лог добавления трека.</summary>
public class TrackAdditionLog
{
public Guid Id { get; set; }
public Guid SharedPlaylistId { get; set; }
public string TrackId { get; set; } = null!;
public Guid? AddedByUserId { get; set; }
public DateTime AddedAtUtc { get; set; }
public string SessionId { get; set; } = null!;
public SharedPlaylist SharedPlaylist { get; set; } = null!;
public ApplicationUser? AddedByUser { get; set; }
public UserSession Session { get; set; } = null!;
}