mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using RadicadeServer.RecNet.Enums.Moderation;
|
||||
|
||||
namespace RadicadeServer.RecNet.Moderation
|
||||
{
|
||||
public class PlayerWarning
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
|
||||
public long ModeratorPlayerId { get; set; }
|
||||
|
||||
public long WarnedPlayerId { get; set; }
|
||||
|
||||
public ReportCategory ReportCategory { get; set; }
|
||||
|
||||
public string? DisplayReason { get; set; }
|
||||
|
||||
public string? ModeratorNote { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
|
||||
public DateTime? AcknowledgedAt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user