mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-24 22:20:35 -05:00
Additional zombie stast work
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Data.Models.Client.Stats.Reference;
|
||||
@ -12,6 +11,8 @@ public class ZombieMatch : DatedRecord
|
||||
{
|
||||
[Key]
|
||||
public int ZombieMatchId { get; set; }
|
||||
|
||||
[NotMapped] public override long Id => ZombieMatchId;
|
||||
|
||||
public int? MapId { get; set; }
|
||||
[ForeignKey(nameof(MapId))]
|
||||
@ -22,8 +23,6 @@ public class ZombieMatch : DatedRecord
|
||||
public virtual EFServer? Server { get; set; }
|
||||
|
||||
public int ClientsCompleted { get; set; }
|
||||
|
||||
public virtual ICollection<ZombieClientStat>? ClientStats { get; set; }
|
||||
|
||||
public DateTimeOffset MatchStartDate { get; set; } = DateTimeOffset.UtcNow;
|
||||
public DateTimeOffset? MatchEndDate { get; set; }
|
||||
|
Reference in New Issue
Block a user