Kavita/API/DTOs/RatingDto.cs
Amelia 052b3f9fe4
Ingest ExternalReviews from K+
Adds a new entity ExternalChapterMetadata, which would allow us to
extend chapters to Recommendations, Ratings, etc in the future
2025-04-28 16:19:03 +02:00

14 lines
376 B
C#

using API.Entities.Enums;
using API.Services.Plus;
namespace API.DTOs;
#nullable enable
public class RatingDto
{
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; }
}