mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 20:15:26 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
15 lines
458 B
C#
15 lines
458 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Kavita.Models.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; }
|
|
}
|