IW4M-Admin/SharedLibary/Ban.cs
2015-08-20 00:06:44 -05:00

31 lines
752 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharedLibrary
{
public class Ban
{
public Ban(String Reas, String TargID, String From, DateTime time, String ip)
{
Reason = Reas;
npID = TargID;
bannedByID = From;
When = time;
IP = ip;
}
public String getWhen()
{
return When.ToString("MM/dd/yy HH:mm:ss"); ;
}
public String Reason { get; private set; }
public String npID { get; private set; }
public String bannedByID { get; private set; }
public DateTime When { get; private set; }
public String IP { get; private set; }
}
}