mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-27 07:59:03 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using RadicadeServer.RecNet.Enums.Moderation;
|
||||
|
||||
namespace RadicadeServer.RecNet.Moderation
|
||||
{
|
||||
public class ModerationDB
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
public DateTime ExpireDuration { get; set; }
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
public string Message { get; set; } = null!;
|
||||
public string? ModeratorNote { get; set; }
|
||||
public ReportCategory Category { get; set; }
|
||||
public bool IsBan { get; set; }
|
||||
public long PlayerId { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public string BanMethod { get; set; } = "None";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public string? AppealCode { get; set; }
|
||||
|
||||
|
||||
public string? AppealText { get; set; }
|
||||
|
||||
|
||||
public string? AppealContact { get; set; }
|
||||
|
||||
|
||||
public DateTime? AppealSubmittedAt { get; set; }
|
||||
|
||||
|
||||
public string? AppealResolution { get; set; }
|
||||
|
||||
|
||||
|
||||
public DateTime? AppealResolvedAt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user