IW4M-Admin/Data/Models/Client/Stats/EFClientRankingHistory.cs
2023-05-07 20:36:34 -05:00

31 lines
892 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Data.Models.Server;
using Stats.Models;
namespace Data.Models.Client.Stats
{
public class EFClientRankingHistory: AuditFields
{
[Key]
public long ClientRankingHistoryId { get; set; }
[Required]
public int ClientId { get; set; }
[ForeignKey(nameof(ClientId))]
public virtual EFClient Client { get; set; }
public long? ServerId { get; set; }
[ForeignKey(nameof(ServerId))]
public virtual EFServer Server { get; set; }
public bool Newest { get; set; }
public int? Ranking { get; set; }
public double? ZScore { get; set; }
public double? PerformanceMetric { get; set; }
public string PerformanceBucket { get; set; }
}
}