Kavita/API/DTOs/Reader/MarkVolumesReadDto.cs
2025-05-04 07:14:44 -07:00

20 lines
554 B
C#

using System.Collections.Generic;
namespace API.DTOs.Reader;
/// <summary>
/// This is used for bulk updating a set of volume and or chapters in one go
/// </summary>
public sealed record MarkVolumesReadDto
{
public int SeriesId { get; set; }
/// <summary>
/// A list of Volumes to mark read
/// </summary>
public IReadOnlyList<int> VolumeIds { get; set; } = default!;
/// <summary>
/// A list of additional Chapters to mark as read
/// </summary>
public IReadOnlyList<int> ChapterIds { get; set; } = default!;
}