change penalty expiration datetime to null for perm bans

add tempban max time
allow searching for GUID
stats returns ranking as well
fix for promotion/demotion text
This commit is contained in:
RaidMax
2018-10-15 19:51:04 -05:00
parent a58726d872
commit d50e6c8030
21 changed files with 1050 additions and 216 deletions

View File

@ -27,7 +27,7 @@ namespace SharedLibraryCore.Database.Models
[Required]
public DateTime When { get; set; }
[Required]
public DateTime Expires { get; set; }
public DateTime? Expires { get; set; }
[Required]
public string Offense { get; set; }
public string AutomatedOffense { get; set; }