IW4M-Admin/SharedLibraryCore/Database/Models/EFAlias.cs
RaidMax d1283b96a1 fixed GetHashCode
fixed TopStats
restrict search to minimum 3 characters
2018-04-10 01:38:18 -05:00

23 lines
603 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SharedLibraryCore.Database.Models
{
public class EFAlias : SharedEntity
{
[Key]
public int AliasId { get; set; }
[Required]
public int LinkId { get; set; }
[ForeignKey("LinkId")]
public virtual EFAliasLink Link { get; set; }
[Required]
public string Name { get; set; }
[Required]
public int IPAddress { get; set; }
[Required]
public DateTime DateAdded { get; set; }
}
}