using System.Text.Json.Serialization;
namespace MediaBrowser.Model.Entities;
/// 
/// A class representing an parental rating score.
/// 
public class ParentalRatingScore
{
    /// 
    /// Initializes a new instance of the  class.
    /// 
    /// The score.
    /// The sub score.
    public ParentalRatingScore(int score, int? subScore)
    {
        Score = score;
        SubScore = subScore;
    }
    /// 
    /// Gets or sets the score.
    /// 
    [JsonPropertyName("score")]
    public int Score { get; set; }
    /// 
    /// Gets or sets the sub score.
    /// 
    [JsonPropertyName("subScore")]
    public int? SubScore { get; set; }
}