mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-27 16:09:07 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace RadicadeServer.RecNet.Rooms
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class RoomBan
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long BanId { get; set; }
|
||||
|
||||
public long roomId { get; set; }
|
||||
|
||||
|
||||
public long actorId { get; set; }
|
||||
|
||||
|
||||
public long bannedPlayerId { get; set; }
|
||||
|
||||
|
||||
public string bannedByName { get; set; } = "";
|
||||
|
||||
public string reason { get; set; } = "";
|
||||
|
||||
public DateTime bannedAt { get; set; } = DateTime.UtcNow;
|
||||
|
||||
|
||||
|
||||
public DateTime? expiresAt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user