using System;
using System.Collections.Generic;
namespace API.Entities.Metadata;
/// 
/// External Metadata from Kavita+ for a Series
/// 
public class ExternalSeriesMetadata
{
    public int Id { get; set; }
    /// 
    /// External Reviews for the Series. Managed by Kavita for Kavita+ users
    /// 
    public ICollection ExternalReviews { get; set; } = null!;
    public ICollection ExternalRatings { get; set; } = null!;
    /// 
    /// External recommendations will include all recommendations and will have a seriesId if it's on this Kavita instance.
    /// 
    /// Cleanup Service will perform matching to tie new series with recommendations
    public ICollection ExternalRecommendations { get; set; } = null!;
    /// 
    /// Average External Rating. -1 means not set, 0 - 100
    /// 
    public int AverageExternalRating { get; set; } = -1;
    public int AniListId { get; set; }
    public long MalId { get; set; }
    public string GoogleBooksId { get; set; }
    /// 
    /// Data is valid until this time
    /// 
    public DateTime ValidUntilUtc { get; set; }
    public Series Series { get; set; } = null!;
    public int SeriesId { get; set; }
}