mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -04:00
19 lines
570 B
C#
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;
|
|
|
|
}
|