IW4M-Admin/Plugins/Stats/Models/EFServer.cs

17 lines
412 B
C#
Raw Normal View History


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 int ServerId { get; set; }
[Required]
public int Port { get; set; }
}
}