mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-19 13:34:15 -04:00
29 lines
711 B
C#
29 lines
711 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs;
|
|
|
|
public class UpdateLibraryDto
|
|
{
|
|
[Required]
|
|
public int Id { get; init; }
|
|
[Required]
|
|
public string Name { get; init; }
|
|
[Required]
|
|
public LibraryType Type { get; set; }
|
|
[Required]
|
|
public IEnumerable<string> Folders { get; init; }
|
|
[Required]
|
|
public bool FolderWatching { get; init; }
|
|
[Required]
|
|
public bool IncludeInDashboard { get; init; }
|
|
[Required]
|
|
public bool IncludeInRecommended { get; init; }
|
|
[Required]
|
|
public bool IncludeInSearch { get; init; }
|
|
[Required]
|
|
public bool ManageCollections { get; init; }
|
|
|
|
}
|