1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

huge commit for advanced stats feature.

broke data out into its own library.
may be breaking changes with existing plugins
This commit is contained in:
RaidMax
2021-03-22 11:09:25 -05:00
parent 267b045883
commit 434392a7e4
505 changed files with 13671 additions and 3271 deletions

View File

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Data.Abstractions;
namespace Data.Models.Server
{
public class EFServer : SharedEntity, IUniqueId
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public long ServerId { get; set; }
[Required]
public int Port { get; set; }
public string EndPoint { get; set; }
public Reference.Game? GameName { get; set; }
public string HostName { get; set; }
public bool IsPasswordProtected { get; set; }
public long Id => ServerId;
public string Value => EndPoint;
}
}