namespace FictionArchive.Service.NovelService.Models.DTOs; public class ChapterReaderDto : BaseDto { public uint Revision { get; init; } public uint Order { get; init; } public string? Url { get; init; } public required string Name { get; init; } public required string Body { get; init; } public required List Images { get; init; } // Navigation context public uint NovelId { get; init; } public required string NovelName { get; init; } // Volume context public uint VolumeId { get; init; } public required string VolumeName { get; init; } public int VolumeOrder { get; init; } public int TotalChaptersInVolume { get; init; } // Cross-volume navigation (VolumeId + Order identify a chapter) public uint? PrevChapterVolumeId { get; init; } public uint? PrevChapterOrder { get; init; } public uint? NextChapterVolumeId { get; init; } public uint? NextChapterOrder { get; init; } }