Ingest ExternalReviews from K+
Adds a new entity ExternalChapterMetadata, which would allow us to extend chapters to Recommendations, Ratings, etc in the future
This commit is contained in:
parent
749fb24185
commit
052b3f9fe4
29 changed files with 647 additions and 137 deletions
20
API/Entities/Metadata/ExternalChapterMetadata.cs
Normal file
20
API/Entities/Metadata/ExternalChapterMetadata.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace API.Entities.Metadata;
|
||||
|
||||
/// <summary>
|
||||
/// External Metadata from Kavita+ for a Chapter
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// As apposed to <see cref="ExternalSeriesMetadata"/>,
|
||||
/// we do not have a ValidUntilUtc, as this is only matched together with the series.
|
||||
/// </remarks>
|
||||
public class ExternalChapterMetadata
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int ChapterId { get; set; }
|
||||
|
||||
public ICollection<ExternalChapterReview> ExternalReviews { get; set; } = null!;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue