// // // To parse this JSON data, add NuGet 'Newtonsoft.Json' then do: // // using Model; // // var userInfo = UserInfo.FromJson(jsonString); namespace Model { using System; using System.Collections.Generic; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; /// /// 用户信息 /// public partial class UserInfo { [JsonProperty("birthDay")] public string BirthDay { get; set; } [JsonProperty("certDn")] public object CertDn { get; set; } [JsonProperty("certSn")] public string CertSn { get; set; } [JsonProperty("changePwdAt")] public string ChangePwdAt { get; set; } [JsonProperty("country")] public string Country { get; set; } [JsonProperty("departmentNumber")] public object DepartmentNumber { get; set; } [JsonProperty("displayName")] public string DisplayName { get; set; } [JsonProperty("employeeNumber")] public string EmployeeNumber { get; set; } [JsonProperty("employeeType")] public string EmployeeType { get; set; } [JsonProperty("gender")] public string Gender { get; set; } [JsonProperty("givenName")] public string GivenName { get; set; } [JsonProperty("identityNumber")] public string IdentityNumber { get; set; } [JsonProperty("identityType")] public string IdentityType { get; set; } [JsonProperty("isPassRemind")] public long IsPassRemind { get; set; } [JsonProperty("loginInterceptFlagFive")] public long LoginInterceptFlagFive { get; set; } [JsonProperty("loginInterceptFlagFour")] public long LoginInterceptFlagFour { get; set; } [JsonProperty("loginInterceptFlagOne")] public long LoginInterceptFlagOne { get; set; } [JsonProperty("loginInterceptFlagThree")] public long LoginInterceptFlagThree { get; set; } [JsonProperty("loginInterceptFlagTwo")] public long LoginInterceptFlagTwo { get; set; } [JsonProperty("loginName")] public string LoginName { get; set; } [JsonProperty("loginType")] public string LoginType { get; set; } [JsonProperty("mail")] public string Mail { get; set; } [JsonProperty("mobile")] public string Mobile { get; set; } [JsonProperty("nation")] public string Nation { get; set; } [JsonProperty("orgCodePath")] public string OrgCodePath { get; set; } [JsonProperty("orgNamePath")] public string OrgNamePath { get; set; } [JsonProperty("orgNumber")] public string OrgNumber { get; set; } [JsonProperty("otpKey")] public object OtpKey { get; set; } [JsonProperty("passwordModifyRequired")] public long PasswordModifyRequired { get; set; } [JsonProperty("pinyinShortName")] public string PinyinShortName { get; set; } [JsonProperty("positionNumber")] public string PositionNumber { get; set; } [JsonProperty("positionStatus")] public object PositionStatus { get; set; } [JsonProperty("pwdPolicy")] public string PwdPolicy { get; set; } [JsonProperty("secAccValid")] public long SecAccValid { get; set; } [JsonProperty("sorgId")] public string SorgId { get; set; } [JsonProperty("spNameList")] public System.Collections.Generic.List SpNameList { get; set; } [JsonProperty("spRoleList")] public System.Collections.Generic.List SpRoleList { get; set; } [JsonProperty("title")] public string Title { get; set; } [JsonProperty("uid")] public string Uid { get; set; } [JsonProperty("updateDate")] public string UpdateDate { get; set; } [JsonProperty("wechatNo")] public string WechatNo { get; set; } } public partial class UserInfo { public static UserInfo FromJson(string json) { return JsonConvert.DeserializeObject(json, Model.Converter.Settings); } } }