2021-03-22 12:09:25 -04:00
|
|
|
|
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; }
|
2023-05-07 15:18:59 -04:00
|
|
|
|
public string PerformanceBucket { get; set; }
|
2021-03-22 12:09:25 -04:00
|
|
|
|
}
|
2022-07-10 18:06:46 -04:00
|
|
|
|
}
|