2018-02-07 00:19:06 -05:00
|
|
|
|
|
2018-04-08 17:50:58 -04:00
|
|
|
|
using SharedLibraryCore.Database.Models;
|
2018-02-07 00:19:06 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2019-04-23 18:27:20 -04:00
|
|
|
|
using static SharedLibraryCore.Server;
|
2018-02-07 00:19:06 -05:00
|
|
|
|
|
2018-04-08 17:50:58 -04:00
|
|
|
|
namespace IW4MAdmin.Plugins.Stats.Models
|
2018-02-07 00:19:06 -05:00
|
|
|
|
{
|
|
|
|
|
public class EFServer : SharedEntity
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
2018-11-27 19:31:48 -05:00
|
|
|
|
public long ServerId { get; set; }
|
2018-02-07 00:19:06 -05:00
|
|
|
|
[Required]
|
|
|
|
|
public int Port { get; set; }
|
2018-11-27 19:31:48 -05:00
|
|
|
|
public string EndPoint { get; set; }
|
2019-04-23 18:27:20 -04:00
|
|
|
|
public Game? GameName { get; set; }
|
2020-05-22 21:29:41 -04:00
|
|
|
|
public string HostName { get; set; }
|
2018-02-07 00:19:06 -05:00
|
|
|
|
}
|
|
|
|
|
}
|