using API.Entities.Enums;
namespace API.Entities
{
public class AppUserPreferences
{
public int Id { get; set; }
///
/// Manga Reader Option: What direction should the next/prev page buttons go
///
public ReadingDirection ReadingDirection { get; set; } = ReadingDirection.LeftToRight;
///
/// Manga Reader Option: How should the image be scaled to screen
///
public ScalingOption ScalingOption { get; set; } = ScalingOption.Automatic;
///
/// Manga Reader Option: Which side of a split image should we show first
///
public PageSplitOption PageSplitOption { get; set; } = PageSplitOption.FitSplit;
///
/// Manga Reader Option: How the manga reader should perform paging or reading of the file
///
/// Webtoon uses scrolling to page, MANGA_LR uses paging by clicking left/right side of reader, MANGA_UD uses paging
/// by clicking top/bottom sides of reader.
///
///
public ReaderMode ReaderMode { get; set; }
///
/// Manga Reader Option: Allow the menu to close after 6 seconds without interaction
///
public bool AutoCloseMenu { get; set; } = true;
///
/// Book Reader Option: Should the background color be dark
///
public bool BookReaderDarkMode { get; set; } = true;
///
/// Book Reader Option: Override extra Margin
///
public int BookReaderMargin { get; set; } = 15;
///
/// Book Reader Option: Override line-height
///
public int BookReaderLineSpacing { get; set; } = 100;
///
/// Book Reader Option: Override font size
///
public int BookReaderFontSize { get; set; } = 100;
///
/// Book Reader Option: Maps to the default Kavita font-family (inherit) or an override
///
public string BookReaderFontFamily { get; set; } = "default";
///
/// Book Reader Option: Allows tapping on side of screens to paginate
///
public bool BookReaderTapToPaginate { get; set; } = false;
///
/// Book Reader Option: What direction should the next/prev page buttons go
///
public ReadingDirection BookReaderReadingDirection { get; set; } = ReadingDirection.LeftToRight;
///
/// UI Site Global Setting: Whether the UI should render in Dark mode or not.
///
public bool SiteDarkMode { get; set; } = true;
public AppUser AppUser { get; set; }
public int AppUserId { get; set; }
}
}