1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

Fixed [JsonIgnore]

Fixed migration penalty creation
Fixed on migration command execution
Moved out CreatePenalty
Removed ClientId & AdminId since handled by Penalties
This commit is contained in:
Amos
2022-10-13 18:18:06 +01:00
committed by RaidMax
parent 9774db1621
commit 998842aed0
3 changed files with 53 additions and 59 deletions

View File

@ -1,16 +1,13 @@
using Newtonsoft.Json;
using System.Text.Json.Serialization;
namespace Mute;
public class MuteStateMeta
{
public int ClientId { get; set; }
public string Reason { get; set; } = string.Empty;
public DateTime? Expiration { get; set; }
public int AdminId { get; set; }
public MuteState MuteState { get; set; }
[JsonIgnore]
public bool CommandExecuted { get; set; }
[JsonIgnore] public bool CommandExecuted { get; set; }
}
public enum MuteState