mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
38 lines
594 B
C#
38 lines
594 B
C#
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; }
|
|
}
|
|
}
|