1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

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 3f7cb69fcd
commit 145efeb91c
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; }