mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 15:09:26 -07:00
24 lines
467 B
C#
24 lines
467 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace RadicadeServer.RecNet.Moderation
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class IpBan
|
|
{
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long Id { get; set; }
|
|
public string IpAddress { get; set; } = "";
|
|
public string Reason { get; set; } = "";
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
public DateTime? ExpiresAt { get; set; }
|
|
}
|
|
}
|