mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
add baninfo api
This commit is contained in:
12
WebfrontCore/QueryHelpers/Models/BanInfo.cs
Normal file
12
WebfrontCore/QueryHelpers/Models/BanInfo.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
public class BanInfo
|
||||
{
|
||||
public string OffenderName { get; set; }
|
||||
public int OffenderId { get; set; }
|
||||
public string PunisherName { get; set; }
|
||||
public int? PunisherId { get; set; }
|
||||
public string Offense { get; set; }
|
||||
public DateTime? DateTime { get; set; }
|
||||
public long? TimeStamp => DateTime.HasValue ? new DateTimeOffset(DateTime.Value, TimeSpan.Zero).ToUnixTimeSeconds() : null;
|
||||
}
|
Reference in New Issue
Block a user