mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 12:14:44 -04:00
24 lines
704 B
C#
24 lines
704 B
C#
using System.Collections.Generic;
|
|
using API.Entities.Enums;
|
|
using API.Services.Plus;
|
|
|
|
namespace API.Entities.Metadata;
|
|
|
|
public class ExternalRating
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public int AverageScore { get; set; }
|
|
public int FavoriteCount { get; set; }
|
|
public ScrobbleProvider Provider { get; set; }
|
|
public RatingAuthority Authority { get; set; } = RatingAuthority.User;
|
|
public string? ProviderUrl { get; set; }
|
|
public int SeriesId { get; set; }
|
|
/// <summary>
|
|
/// This can be null when for a series-rating
|
|
/// </summary>
|
|
public int? ChapterId { get; set; }
|
|
|
|
public ICollection<ExternalSeriesMetadata> ExternalSeriesMetadatas { get; set; } = null!;
|
|
}
|