using System.Text.Json.Serialization;
namespace API.Entities
{
///
/// Represents a saved page in a Chapter entity for a given user.
///
public class AppUserBookmark
{
public int Id { get; set; }
public int Page { get; set; }
public int VolumeId { get; set; }
public int SeriesId { get; set; }
public int ChapterId { get; set; }
///
/// Filename in the Bookmark Directory
///
public string FileName { get; set; } = string.Empty;
// Relationships
[JsonIgnore]
public AppUser AppUser { get; set; }
public int AppUserId { get; set; }
}
}