mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-21 12:40:19 -05:00
update zombie models
This commit is contained in:
29
Data/Models/Zombie/ZombieClientStatRecord.cs
Normal file
29
Data/Models/Zombie/ZombieClientStatRecord.cs
Normal file
@ -0,0 +1,29 @@
|
||||
#nullable enable
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Data.Models.Client;
|
||||
|
||||
namespace Data.Models.Zombie;
|
||||
|
||||
public enum RecordType
|
||||
{
|
||||
Maximum,
|
||||
Minimum
|
||||
}
|
||||
|
||||
public class ZombieClientStatRecord : DatedRecord
|
||||
{
|
||||
[Key]
|
||||
public int ZombieClientStatRecordId { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Type { get; set; } = string.Empty;
|
||||
public string Value { get; set; } = string.Empty;
|
||||
|
||||
public int? ClientId { get; set; }
|
||||
[ForeignKey(nameof(ClientId))]
|
||||
public virtual EFClient? Client { get; set; }
|
||||
|
||||
public long? RoundId { get; set; }
|
||||
[ForeignKey(nameof(RoundId))]
|
||||
public virtual ZombieRoundClientStat? Round { get; set; }
|
||||
}
|
Reference in New Issue
Block a user