IW4M-Admin/Plugins/Stats/Models/EFServer.cs
RaidMax 03ae3b5822 deleted localization files as they're now generated during release
reintroduce throttling for servers that are unreachable (defaults to 60 seconds between polls)
small revert to the RektT5M parser contell -> tell
add migration to introduce gamename to server
impllement quickmessage mapping
2019-04-23 17:27:20 -05:00

20 lines
541 B
C#

using SharedLibraryCore.Database.Models;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using static SharedLibraryCore.Server;
namespace IW4MAdmin.Plugins.Stats.Models
{
public class EFServer : SharedEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public long ServerId { get; set; }
[Required]
public int Port { get; set; }
public string EndPoint { get; set; }
public Game? GameName { get; set; }
}
}