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