Kavita/API/DTOs/ReadingLists/UpdateReadingListDto.cs
2025-05-04 07:14:44 -07:00

19 lines
570 B
C#

using System.ComponentModel.DataAnnotations;
namespace API.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;
}