
* Stashing code * removed some debug code on series detail page. Now detail is collapsed by default. * Added AgeRating * Fixed a crash when NetVips tries to write a cover file and cover directory is not existing. * When a card is selected for bulk actions, show an outline in addition to select box * Added AgeRating into the metadata parsing. Added a hack where ComicInfo uses Number in ComicInfo rather than Volume. This is to test out the effects on users libraries. * Added AgeRating and ReleaseDate to the metadata implelentation.
34 lines
1.5 KiB
C#
34 lines
1.5 KiB
C#
using System.Collections.Generic;
|
|
using API.DTOs.CollectionTags;
|
|
using API.DTOs.Metadata;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs
|
|
{
|
|
public class SeriesMetadataDto
|
|
{
|
|
public int Id { get; set; }
|
|
public string Summary { get; set; }
|
|
public ICollection<CollectionTagDto> Tags { get; set; }
|
|
public ICollection<GenreTagDto> Genres { get; set; }
|
|
public ICollection<PersonDto> Writers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Artists { 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>();
|
|
/// <summary>
|
|
/// Highest Age Rating from all Chapters
|
|
/// </summary>
|
|
public AgeRating AgeRating { get; set; } = AgeRating.Unknown;
|
|
/// <summary>
|
|
/// Earliest Year from all chapters
|
|
/// </summary>
|
|
public int ReleaseYear { get; set; }
|
|
|
|
public int SeriesId { get; set; }
|
|
}
|
|
}
|