Customized Scheduler + Saved Kavita+ Details (#2644)
This commit is contained in:
parent
2092e120c3
commit
ad74871623
76 changed files with 6076 additions and 3370 deletions
36
API/Entities/Metadata/ExternalSeriesMetadata.cs
Normal file
36
API/Entities/Metadata/ExternalSeriesMetadata.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace API.Entities.Metadata;
|
||||
|
||||
/// <summary>
|
||||
/// External Metadata from Kavita+ for a Series
|
||||
/// </summary>
|
||||
public class ExternalSeriesMetadata
|
||||
{
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// External Reviews for the Series. Managed by Kavita for Kavita+ users
|
||||
/// </summary>
|
||||
public ICollection<ExternalReview> ExternalReviews { get; set; } = null!;
|
||||
public ICollection<ExternalRating> ExternalRatings { get; set; } = null!;
|
||||
/// <summary>
|
||||
/// External recommendations will include all recommendations and will have a seriesId if it's on this Kavita instance.
|
||||
/// </summary>
|
||||
/// <remarks>Cleanup Service will perform matching to tie new series with recommendations</remarks>
|
||||
public ICollection<ExternalRecommendation> ExternalRecommendations { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Average External Rating. -1 means not set
|
||||
/// </summary>
|
||||
public int AverageExternalRating { get; set; } = 0;
|
||||
|
||||
public int AniListId { get; set; }
|
||||
public long MalId { get; set; }
|
||||
public string GoogleBooksId { get; set; }
|
||||
|
||||
public DateTime LastUpdatedUtc { get; set; }
|
||||
|
||||
public Series Series { get; set; } = null!;
|
||||
public int SeriesId { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue