9d6cbee69c
change server id fIx change log server complaining when empty read
18 lines
458 B
C#
18 lines
458 B
C#
|
|
using SharedLibraryCore.Database.Models;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
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; }
|
|
}
|
|
}
|