You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Radarr/src/NzbDrone.Core/Movies/Ratings.cs

27 lines
603 B

using Equ;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.Movies
{
public class Ratings : MemberwiseEquatable<Ratings>, IEmbeddedDocument
{
public RatingChild Imdb { get; set; }
public RatingChild Tmdb { get; set; }
public RatingChild Metacritic { get; set; }
public RatingChild RottenTomatoes { get; set; }
}
public class RatingChild
{
public int Votes { get; set; }
public decimal Value { get; set; }
public RatingType Type { get; set; }
}
public enum RatingType
{
User,
Critic
}
}