IW4M-Admin/SharedLibrary/Objects/Penalty.cs
RaidMax 8afe5dbb3d Added unban "penalty"
permbans ->MaxValue for consistency
Existing alias needs to be FirstOrDefault
2018-02-17 00:13:38 -06:00

26 lines
470 B
C#

using System;
using SharedLibrary;
namespace SharedLibrary.Objects
{
public class Penalty : Database.Models.EFPenalty
{
public enum PenaltyType
{
Report,
Warning,
Flag,
Kick,
TempBan,
Ban,
Unban,
Any,
}
public String GetWhenFormatted()
{
return When.ToString("MM/dd/yy HH:mm:ss"); ;
}
}
}