fixed GetHashCode

fixed TopStats
restrict search to minimum 3 characters
This commit is contained in:
RaidMax
2018-04-10 01:38:18 -05:00
parent c2a3cf0d15
commit d1283b96a1
12 changed files with 114 additions and 38 deletions

View File

@ -12,13 +12,9 @@ namespace SharedLibraryCore.Database.Models
public int LinkId { get; set; }
[ForeignKey("LinkId")]
public virtual EFAliasLink Link { get; set; }
// [Index("IX_IPandName", 0, IsUnique = true)]
//[MaxLength(24)]
[Required]
public string Name { get; set; }
// [Index("IX_IPandName", 1, IsUnique = true)]
// [MaxLength(24)]
[Required]
[Required]
public int IPAddress { get; set; }
[Required]
public DateTime DateAdded { get; set; }