Kavita/Kavita.Models/DTOs/ReadingLists/UpdateReadingListDto.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

19 lines
580 B
C#

using System.ComponentModel.DataAnnotations;
namespace Kavita.Models.DTOs.ReadingLists;
public sealed record UpdateReadingListDto
{
[Required]
public int ReadingListId { get; set; }
public string Title { get; set; } = string.Empty;
public string Summary { get; set; } = string.Empty;
public bool Promoted { get; set; }
public bool CoverImageLocked { get; set; }
public int StartingMonth { get; set; } = 0;
public int StartingYear { get; set; } = 0;
public int EndingMonth { get; set; } = 0;
public int EndingYear { get; set; } = 0;
}