#region ========================================================================= USING ===================================================================================== using Lumina.Application.Common.DataAccess.Entities.Common; using Lumina.Domain.SharedKernel.Common.Enums.BookLibrary; using System.Diagnostics; #endregion namespace Lumina.Application.Common.DataAccess.Entities.MediaLibrary.WrittenContentLibrary.BookLibrary; /// /// Repository entity for a book rating. /// /// The rating value for the book. /// The maximum possible rating value for the book. /// The source of the book rating (e.g., a specific website or platform). /// The number of votes that contributed to the book rating. [DebuggerDisplay("{Value}/{MaxValue}")] public record BookRatingEntity( decimal? Value, decimal? MaxValue, BookRatingSource? Source, int? VoteCount ) : RatingEntity(Value, MaxValue, VoteCount);