sodoff/src/Model/RatingRank.cs
2025-02-07 11:04:04 -07:00

23 lines
518 B
C#

using System.ComponentModel.DataAnnotations;
namespace sodoff.Model;
public class RatingRank {
[Key]
public int Id { get; set; }
public int CategoryID { get; set; }
public int? RatedEntityID { get; set; }
public string? RatedUserID { get; set; }
public int Rank { get; set; }
/// <summary>On a scale of 1-5</summary>
public float RatingAverage { get; set; }
public DateTime UpdateDate { get; set; }
public virtual ICollection<Rating> Ratings { get; set; } = null!;
}