1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

zombie stats code

This commit is contained in:
RaidMax
2024-07-02 16:09:30 -05:00
parent 962abcf833
commit 79bd6ca8e1
44 changed files with 2354 additions and 4264 deletions

View File

@ -1,6 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Data.Abstractions;
using Data.Models.Client.Stats;
namespace Data.Models.Server
{
@ -15,7 +16,9 @@ namespace Data.Models.Server
public Reference.Game? GameName { get; set; }
public string HostName { get; set; }
public bool IsPasswordProtected { get; set; }
public string PerformanceBucket { get; set; }
public int? PerformanceBucketId { get; set; }
[ForeignKey(nameof(PerformanceBucketId))]
public EFPerformanceBucket PerformanceBucket { get; set; }
public long Id => ServerId;
public string Value => EndPoint;
}