Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

440 B
Raw Blame
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 class UpdateReadingListPosition
{
    [Required] public int ReadingListId { get; set; }
    [Required] public int ReadingListItemId { get; set; }
    public int FromPosition { get; set; }
    [Required] public int ToPosition { get; set; }
}