using Newtonsoft.Json;

namespace Kreta.Client.Leltar.Request
{
    public class KretaUserSyncRequest
    {
        [JsonProperty(PropertyName = "user_id")]
        public string IdpEgyediAzonosito { get; set; }

        [JsonProperty(PropertyName = "access_level")]
        public string AccessLevel => "INSTITUTE";

        [JsonProperty(PropertyName = "roles")]
        public string[] Roles { get; set; }

        [JsonProperty(PropertyName = "login")]
        public string LoginNev { get; set; }

        [JsonProperty(PropertyName = "personal_id")]
        public string Azonosito { get; set; }

        [JsonProperty(PropertyName = "display_name")]
        public string MegjelenitesiNev { get; set; }

        [JsonProperty(PropertyName = "position")]
        public string Beosztas { get; set; }

        [JsonProperty(PropertyName = "institute_name")]
        public string IntezmenyNeve { get; set; }

        [JsonProperty(PropertyName = "cost_center")]
        public string FunkcioTerulet { get; set; }

        [JsonProperty(PropertyName = "sztsz")]
        public string SztszKod { get; set; }

        [JsonProperty(PropertyName = "kreta_id")]
        public string KretaRendszerAzonosito { get; set; }

        [JsonProperty(PropertyName = "access_manager_name")]
        public string JogosultsagotSzerkesztoSzemelyNev { get; set; }
    }
}