Kavita/Kavita.Models/DTOs/Annotations/FullAnnotationDto.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

31 lines
1008 B
C#

using System;
using System.Text.Json.Serialization;
namespace Kavita.Models.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; }
}