IW4M-Admin/Plugins/SimpleStats/Models/EFServer.cs
RaidMax 0b62cba52a Add libraries for EntityFramework
Stats plugin work
Allow plugins to dynamically add EF classes to the context
2018-02-06 23:19:06 -06:00

17 lines
396 B
C#

using SharedLibrary.Database.Models;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace StatsPlugin.Models
{
public class EFServer : SharedEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int ServerId { get; set; }
[Required]
public int Port { get; set; }
}
}