22 lines
640 B
C#
22 lines
640 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; }
|
|
public string HostName { get; set; }
|
|
public bool IsPasswordProtected { get; set; }
|
|
}
|
|
}
|