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:
@ -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
|
||||
|
Reference in New Issue
Block a user