using SQLite;

namespace BookReader.Models;

public class ReadingProgress
{
    [PrimaryKey, AutoIncrement]
    public int Id { get; set; }

    [Indexed]
    public int BookId { get; set; }

    public string? Cfi { get; set; }

    public double Progress { get; set; }

    public int CurrentPage { get; set; }

    public string? ChapterTitle { get; set; }

    public DateTime Timestamp { get; set; } = DateTime.UtcNow;
}