Files
pgsql-jellyfin/MediaBrowser.Model/Entities/ParentalRatingScore.cs
T
wjones af1152b001 Refactor: standardize namespace and using directive style
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
2026-02-20 16:26:53 -05:00

37 lines
980 B
C#

// <copyright file="ParentalRatingScore.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace MediaBrowser.Model.Entities;
using global::System.Text.Json.Serialization;
/// <summary>
/// A class representing an parental rating score.
/// </summary>
public class ParentalRatingScore
{
/// <summary>
/// Initializes a new instance of the <see cref="ParentalRatingScore"/> class.
/// </summary>
/// <param name="score">The score.</param>
/// <param name="subScore">The sub score.</param>
public ParentalRatingScore(int score, int? subScore)
{
Score = score;
SubScore = subScore;
}
/// <summary>
/// Gets or sets the score.
/// </summary>
[JsonPropertyName("score")]
public int Score { get; set; }
/// <summary>
/// Gets or sets the sub score.
/// </summary>
[JsonPropertyName("subScore")]
public int? SubScore { get; set; }
}