mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -04:00
15 lines
448 B
C#
15 lines
448 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.DTOs.ReadingLists;
|
|
|
|
/// <summary>
|
|
/// DTO for moving a reading list item to another position within the same list
|
|
/// </summary>
|
|
public sealed record UpdateReadingListPosition
|
|
{
|
|
[Required] public int ReadingListId { get; set; }
|
|
[Required] public int ReadingListItemId { get; set; }
|
|
public int FromPosition { get; set; }
|
|
[Required] public int ToPosition { get; set; }
|
|
}
|