namespace API.Entities;
public class AppUserChapterRating
{
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
///
public int SeriesId { get; set; }
public Series Series { get; set; } = null!;
public int ChapterId { get; set; }
public Chapter Chapter { get; set; } = null!;
// Relationships
public int AppUserId { get; set; }
public AppUser AppUser { get; set; } = null!;
}