Kavita/API/DTOs/Annotations/FullAnnotationDto.cs
Joe Milazzo 5290fd8959
Text View, View & Filter All Annotations, and More OPDS Love (#4062)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
2025-09-28 12:28:21 -07:00

31 lines
998 B
C#

using System;
using System.Text.Json.Serialization;
namespace API.DTOs.Annotations;
public sealed record FullAnnotationDto
{
public int Id { get; set; }
[JsonIgnore]
public int UserId { get; set; }
public string SelectedText { get; set; }
public string? Comment { get; set; }
public string? CommentHtml { get; set; }
public string? CommentPlainText { get; set; }
public string? Context { get; set; }
public string? ChapterTitle { get; set; }
public int PageNumber { get; set; }
public int SelectedSlotIndex { get; set; }
public bool ContainsSpoiler { get; set; }
public DateTime CreatedUtc { get; set; }
public DateTime LastModifiedUtc { get; set; }
public int LibraryId { get; set; }
public string LibraryName { get; set; }
public int SeriesId { get; set; }
public string SeriesName { get; set; }
public int VolumeId { get; set; }
public string VolumeName { get; set; }
public int ChapterId { get; set; }
}