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

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,26 @@
using PlaylistShared.Shared.Enums;
namespace PlaylistShared.Api.Entities;
/// <summary>Сущность шеринг-плейлиста.</summary>
public class SharedPlaylist
{
public Guid Id { get; set; }
public Guid CreatorUserId { get; set; }
public string YandexPlaylistKind { get; set; } = null!;
public string YandexPlaylistOwnerUid { get; set; } = null!;
public string Title { get; set; } = null!;
public string? Description { get; set; }
public string? CoverUrl { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public bool IsDeleted { get; set; }
public string ShareToken { get; set; } = null!;
public ViewPermission ViewPermission { get; set; }
public EditPermission AddPermission { get; set; }
public EditPermission RemovePermission { get; set; }
// Навигационные свойства
public ApplicationUser Creator { get; set; } = null!;
public ICollection<TrackAdditionLog> TrackAdditionLogs { get; set; } = new List<TrackAdditionLog>();
}