roadie/Roadie.Api.Library/Models/BookmarkList.cs
2020-06-21 15:39:14 -05:00

29 lines
No EOL
1,018 B
C#

using Roadie.Library.Enums;
using Roadie.Library.Models.Collections;
using Roadie.Library.Models.Playlists;
using Roadie.Library.Models.Releases;
using System;
using System.Text.Json.Serialization;
namespace Roadie.Library.Models
{
[Serializable]
public sealed class BookmarkList : EntityInfoModelBase
{
public ArtistList Artist { get; set; }
public DataToken Bookmark { get; set; }
[JsonIgnore]
public int BookmarkTargetId { get; set; }
public string BookmarkType => Type.ToString();
public CollectionList Collection { get; set; }
public string Comment { get; set; }
public LabelList Label { get; set; }
public PlaylistList Playlist { get; set; }
public int? Position { get; set; }
public ReleaseList Release { get; set; }
public Image Thumbnail { get; set; }
public TrackList Track { get; set; }
public BookmarkType? Type { get; set; }
public DataToken User { get; set; }
}
}