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