using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace ScoreboardApi.Settings
{
    public class Key
    {
        public Guid ApiKey { get; set; }

        [JsonConverter(typeof(StringEnumConverter))]
        public Permissions Permission { get; set; }
    }
}