mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
1.7.7-alpha
- Fixed (@all,@team,@lifestate) spam with discord webhook - Currently `small` actions for ban optimizations
This commit is contained in:
parent
b6c876d709
commit
f69f1277f8
20 changed files with 460 additions and 241 deletions
45
CS2-SimpleAdmin/Models/BanRecord.cs
Normal file
45
CS2-SimpleAdmin/Models/BanRecord.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace CS2_SimpleAdmin.Models;
|
||||
|
||||
public record BanRecord
|
||||
{
|
||||
[Column("id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Column("player_name")]
|
||||
public string PlayerName { get; set; }
|
||||
|
||||
[Column("player_steamid")]
|
||||
public string? PlayerSteamId { get; set; }
|
||||
|
||||
[Column("player_ip")]
|
||||
public string? PlayerIp { get; set; }
|
||||
|
||||
[Column("admin_steamid")]
|
||||
public string AdminSteamId { get; set; }
|
||||
|
||||
[Column("admin_name")]
|
||||
public string AdminName { get; set; }
|
||||
|
||||
[Column("reason")]
|
||||
public string Reason { get; set; }
|
||||
|
||||
[Column("duration")]
|
||||
public int Duration { get; set; }
|
||||
|
||||
[Column("ends")]
|
||||
public DateTime? Ends { get; set; }
|
||||
|
||||
[Column("created")]
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
[Column("server_id")]
|
||||
public int? ServerId { get; set; }
|
||||
|
||||
[Column("status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
[Column("updated_at")]
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue