d1283b96a1
fixed TopStats restrict search to minimum 3 characters
23 lines
603 B
C#
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; }
|
|
}
|
|
}
|