mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -04:00
* Recreated Kavita Logging with Serilog instead of Default. This needs to be move out of the appsettings now, to allow auto updater to patch. * Refactored the code to be completely configured via Code rather than appsettings.json. This is a required step for Auto Updating. * Added in the ability to send logs directly to the UI only for users on the log route. Stopping implementation as Alerts page will handle the rest of the implementation. * Fixed up the backup service to not rely on Config from appsettings.json * Tweaked the Logging levels available * Moved everything over to File-scoped namespaces * Moved everything over to File-scoped namespaces * Code cleanup, removed an old migration and changed so debug logging doesn't print sensitive db data * Removed dead code
56 lines
2.1 KiB
C#
56 lines
2.1 KiB
C#
using System.Collections.Generic;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs.Metadata;
|
|
|
|
/// <summary>
|
|
/// Exclusively metadata about a given chapter
|
|
/// </summary>
|
|
public class ChapterMetadataDto
|
|
{
|
|
public int Id { get; set; }
|
|
public int ChapterId { get; set; }
|
|
public string Title { get; set; }
|
|
public ICollection<PersonDto> Writers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> CoverArtists { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Publishers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Characters { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Pencillers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Inkers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Colorists { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Letterers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Editors { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Translators { get; set; } = new List<PersonDto>();
|
|
|
|
public ICollection<GenreTagDto> Genres { get; set; } = new List<GenreTagDto>();
|
|
|
|
/// <summary>
|
|
/// Collection of all Tags from underlying chapters for a Series
|
|
/// </summary>
|
|
public ICollection<TagDto> Tags { get; set; } = new List<TagDto>();
|
|
public AgeRating AgeRating { get; set; }
|
|
public string ReleaseDate { get; set; }
|
|
public PublicationStatus PublicationStatus { get; set; }
|
|
/// <summary>
|
|
/// Summary for the Chapter/Issue
|
|
/// </summary>
|
|
public string Summary { get; set; }
|
|
/// <summary>
|
|
/// Language for the Chapter/Issue
|
|
/// </summary>
|
|
public string Language { get; set; }
|
|
/// <summary>
|
|
/// Number in the TotalCount of issues
|
|
/// </summary>
|
|
public int Count { get; set; }
|
|
/// <summary>
|
|
/// Total number of issues for the series
|
|
/// </summary>
|
|
public int TotalCount { get; set; }
|
|
/// <summary>
|
|
/// Number of Words for this chapter. Only applies to Epub
|
|
/// </summary>
|
|
public long WordCount { get; set; }
|
|
|
|
}
|