mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 20:01:10 +00:00
23 lines
1.0 KiB
C#
23 lines
1.0 KiB
C#
#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;
|
|
|
|
/// <summary>
|
|
/// Repository entity for a book rating.
|
|
/// </summary>
|
|
/// <param name="Value">The rating value for the book.</param>
|
|
/// <param name="MaxValue">The maximum possible rating value for the book.</param>
|
|
/// <param name="Source">The source of the book rating (e.g., a specific website or platform).</param>
|
|
/// <param name="VoteCount">The number of votes that contributed to the book rating.</param>
|
|
[DebuggerDisplay("{Value}/{MaxValue}")]
|
|
public record BookRatingEntity(
|
|
decimal? Value,
|
|
decimal? MaxValue,
|
|
BookRatingSource? Source,
|
|
int? VoteCount
|
|
) : RatingEntity(Value, MaxValue, VoteCount);
|