mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
migrating to .NET Core 2.0
This commit is contained in:
25
SharedLibraryCore/Objects/Penalty.cs
Normal file
25
SharedLibraryCore/Objects/Penalty.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using SharedLibraryCore;
|
||||
|
||||
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"); ;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user