IW4M-Admin/SharedLibraryCore/Objects/Penalty.cs

26 lines
478 B
C#
Raw Normal View History

using System;
2018-04-08 02:44:42 -04:00
using SharedLibraryCore;
2018-04-08 02:44:42 -04:00
namespace SharedLibraryCore.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"); ;
}
}
}