// // // To parse this JSON data, add NuGet 'Newtonsoft.Json' then do: // // using Model; // // var response = Response.FromJson(jsonString); namespace Model { using System; using System.Collections.Generic; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; /// /// 项目 /// public partial class MdmResponseData { /// /// 返回状态 /// [JsonProperty("code")] public int code { get; set; } /// /// 数组总条数 /// [JsonProperty("total")] public int total { get; set; } /// /// 权限数组 /// [JsonProperty("data")] public ResponseData data { get; set; } /// /// 返回状态 /// [JsonProperty("rows")] public System.Collections.Generic.List rows { get; set; } /// /// 返回消息 /// [JsonProperty("msg")] public string msg { get; set; } } public partial class ResponseData { /// /// 权限信息 /// [JsonProperty("userColumnPermissions")] public string userColumnPermissions { get; set; } } /// /// 项目 /// public partial class MdmProject { /// /// 主键ID /// [JsonProperty("id")] public int id { get; set; } /// /// 项目ID /// [JsonProperty("code")] public string code { get; set; } /// /// 项目号(源头) /// [JsonProperty("stNum")] public string stNum { get; set; } /// /// 操作类型 /// [JsonProperty("disType")] public string disType { get; set; } /// /// 名称 /// [JsonProperty("name")] public string name { get; set; } /// /// 项目简称 /// [JsonProperty("projShortName")] public string projShortName { get; set; } /// /// 项目阶段编码 /// [JsonProperty("projStepZxnoCode")] public string projStepZxnoCode { get; set; } /// /// 项目阶段名称 /// [JsonProperty("projStepZxnoName")] public string projStepZxnoName { get; set; } /// /// 项目类型一级 /// [JsonProperty("stProjectTypeVals")] public string stProjectTypeVals { get; set; } /// /// 项目类型二级 /// [JsonProperty("stProjectStepVals")] public string stProjectStepVals { get; set; } /// /// 项目阶段 /// [JsonProperty("projStepZxnoVals")] public string projStepZxnoVals { get; set; } /// /// 项目性质 /// [JsonProperty("stProjectPropertyVals")] public string stProjectPropertyVals { get; set; } /// /// 备注3_新系统项目ID /// [JsonProperty("remarkC")] public string remarkC { get; set; } /// /// 详细地址 /// [JsonProperty("address")] public string address { get; set; } /// /// 市编码 /// [JsonProperty("cityCode")] public string cityCode { get; set; } /// /// 市名称 /// [JsonProperty("cityName")] public string cityName { get; set; } /// /// 国家编码 /// [JsonProperty("countryCode")] public string countryCode { get; set; } /// /// 国家名称 /// [JsonProperty("countryName")] public string countryName { get; set; } /// /// 区县编码 /// [JsonProperty("countyCode")] public string countyCode { get; set; } /// /// 区县名称 /// [JsonProperty("countyName")] public string countyName { get; set; } /// /// 项目英文名称 /// [JsonProperty("projectNameEn")] public string projectNameEn { get; set; } /// /// 省编码 /// [JsonProperty("provinceCode")] public string provinceCode { get; set; } /// /// 省名称 /// [JsonProperty("provinceName")] public string provinceName { get; set; } /// /// 经度 /// [JsonProperty("remarkA")] public string remarkA { get; set; } /// /// 纬度 /// [JsonProperty("remarkB")] public string remarkB { get; set; } } public partial class MdmResponseData { public static MdmResponseData FromJson(string json) { return JsonConvert.DeserializeObject(json, Model.Converter.Settings); } } internal static class Converter { public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings { MetadataPropertyHandling = MetadataPropertyHandling.Ignore, DateParseHandling = DateParseHandling.None, Converters = { new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal } }, }; } }