mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 07:40:54 -05:00
Moved from SQLITE to EntityFramework.
Lots of things are broken!
This commit is contained in:
24
SharedLibrary/Objects/Penalty.cs
Normal file
24
SharedLibrary/Objects/Penalty.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using SharedLibrary;
|
||||
|
||||
namespace SharedLibrary.Objects
|
||||
{
|
||||
public class Penalty : Database.Models.EFPenalty
|
||||
{
|
||||
public enum PenaltyType
|
||||
{
|
||||
Report,
|
||||
Warning,
|
||||
Flag,
|
||||
Kick,
|
||||
TempBan,
|
||||
Ban,
|
||||
Any,
|
||||
}
|
||||
|
||||
public String GetWhenFormatted()
|
||||
{
|
||||
return When.ToString("MM/dd/yy HH:mm:ss"); ;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user