using System;
namespace API.Entities;
#nullable enable
public class AppUserRating
{
public int Id { get; set; }
///
/// A number between 0-5.0 that represents how good a series is.
///
public float Rating { get; set; }
///
/// If the rating has been explicitly set. Otherwise, the 0.0 rating should be ignored as it's not rated
///
public bool HasBeenRated { get; set; }
///
/// A short summary the user can write when giving their review.
///
public string? Review { get; set; }
///
/// An optional tagline for the review
///
[Obsolete("No longer used")]
public string? Tagline { get; set; }
public int SeriesId { get; set; }
public Series Series { get; set; } = null!;
// Relationships
public int AppUserId { get; set; }
public AppUser AppUser { get; set; } = null!;
}