using API.Entities.Enums;
namespace API.DTOs.Reader;
public sealed record CreateAnnotationRequest
{
public int Id { get; set; }
///
/// Starting point of the Highlight
///
public required string XPath { get; set; }
///
/// Ending point of the Highlight. Can be the same as
///
public string EndingXPath { get; set; }
///
/// The text selected.
///
public string SelectedText { get; set; }
///
/// Rich text Comment
///
public string? Comment { get; set; }
///
/// The number of characters selected
///
public int HighlightCount { get; set; }
public bool ContainsSpoiler { get; set; }
public int PageNumber { get; set; }
public HightlightColor HighlightColor { get; set; }
public required int ChapterId { get; set; }
}