303 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			303 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			C#
		
	
	
	
// <auto-generated />
 | 
						||
//
 | 
						||
// 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;
 | 
						||
 | 
						||
 | 
						||
    /// <summary>
 | 
						||
    /// 项目
 | 
						||
    /// </summary>
 | 
						||
    public partial class PMPResponseData
 | 
						||
    {
 | 
						||
        /// <summary>
 | 
						||
        /// 返回状态
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("code")]
 | 
						||
        public int code { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 数组总条数
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("total")]
 | 
						||
        public int total { get; set; }
 | 
						||
 | 
						||
        /// <summary>
 | 
						||
        /// 权限数组
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("data")]
 | 
						||
        public ResponseData data { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 返回状态
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("rows")]
 | 
						||
        public System.Collections.Generic.List<PMPProject> rows { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 返回消息
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("msg")]
 | 
						||
        public string msg { get; set; }
 | 
						||
    }
 | 
						||
 | 
						||
    ///// <summary>
 | 
						||
    ///// PMP接口查询条件
 | 
						||
    ///// </summary>
 | 
						||
    //public partial class PMPSearchCondData
 | 
						||
    //{
 | 
						||
    //    /// <summary>
 | 
						||
    //    /// 查询字段名字
 | 
						||
    //    /// </summary>
 | 
						||
    //    public string name { get; set; }
 | 
						||
    //    /// <summary>
 | 
						||
    //    /// 查询字段取值
 | 
						||
    //    /// </summary>
 | 
						||
    //    public string value { get; set; }
 | 
						||
 | 
						||
    //    /// <summary>
 | 
						||
    //    /// 查询类型;TextInput:模糊查询;SelectList:精确查询;TimeSelector:时间查询
 | 
						||
    //    /// </summary>
 | 
						||
    //    public string fieldType { get; set; }
 | 
						||
    //}
 | 
						||
 | 
						||
    ///// <summary>
 | 
						||
    ///// 接口返回Data
 | 
						||
    ///// </summary>
 | 
						||
    //public partial class ResponseData
 | 
						||
    //{
 | 
						||
    //    /// <summary>
 | 
						||
    //    /// 权限信息
 | 
						||
    //    /// </summary>
 | 
						||
    //    [JsonProperty("userColumnPermissions")]
 | 
						||
    //    public string userColumnPermissions { get; set; }
 | 
						||
    //}
 | 
						||
 | 
						||
    /// <summary>
 | 
						||
    /// 项目
 | 
						||
    /// </summary>
 | 
						||
    public partial class PMPProject
 | 
						||
    {
 | 
						||
        /// <summary>
 | 
						||
        /// 主键ID
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("id")]
 | 
						||
        public int id { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目ID
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("code")]
 | 
						||
        public string code { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目号(源头)
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("stNum")]
 | 
						||
        public string stNum { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("name")]
 | 
						||
        public string name { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目英文名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("projectNameEn")]
 | 
						||
        public string projectNameEn { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目简称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("projShortName")]
 | 
						||
        public string projShortName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目开工日期
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("realStartDate")]
 | 
						||
        public DateTime? realStartDate { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目竣工日期
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("realEndDate")]
 | 
						||
        public DateTime? realEndDate { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 计划开始日期
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("planStartDate")]
 | 
						||
        public DateTime? planStartDate { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 计划结束日期
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("planEndDate")]
 | 
						||
        public DateTime? planEndDate { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 业主名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("stClientName")]
 | 
						||
        public string stClientName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 业主联系人
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("clientContactor")]
 | 
						||
        public string clientContactor { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 业主联系人电话
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("mobileTel")]
 | 
						||
        public string mobileTel { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 操作类型
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("disType")]
 | 
						||
        public string disType { get; set; }
 | 
						||
        ///// <summary>
 | 
						||
        ///// 项目类型名称(一级)【控制软件项目类型】
 | 
						||
        ///// </summary>
 | 
						||
        //[JsonProperty("projName")]
 | 
						||
        //public string projName { get; set; }
 | 
						||
        ///// <summary>
 | 
						||
        ///// 项目类型名称(二级)
 | 
						||
        ///// </summary>
 | 
						||
        //[JsonProperty("projTypeName")]
 | 
						||
        //public string projTypeName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目类型一级【控制软件项目类型】
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("stProjectTypeVals")]
 | 
						||
        public string stProjectTypeVals { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目类型二级
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("stProjectStepVals")]
 | 
						||
        public string stProjectStepVals { get; set; }
 | 
						||
        ///// <summary>
 | 
						||
        ///// 项目阶段名称【控制软件项目阶段】
 | 
						||
        ///// </summary>
 | 
						||
        //[JsonProperty("projStepName")]
 | 
						||
        //public string projStepName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目阶段编码
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("projStepZxnoCode")]
 | 
						||
        public string projStepZxnoCode { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目阶段名称【控制软件项目阶段】
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("projStepZxnoName")]
 | 
						||
        public string projStepZxnoName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目阶段
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("projStepZxnoVals")]
 | 
						||
        public string projStepZxnoVals { get; set; }
 | 
						||
        ///// <summary>
 | 
						||
        ///// 项目性质名称
 | 
						||
        ///// </summary>
 | 
						||
        //[JsonProperty("projPropName")]
 | 
						||
        //public string projPropName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目性质
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("stProjectPropertyVals")]
 | 
						||
        public string stProjectPropertyVals { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 备注3_新系统项目ID
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("remarkC")]
 | 
						||
        public string remarkC { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 建设地点名称(境内、境外)
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("stLocationName")]
 | 
						||
        public string stLocationName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 国家编码
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("countryCode")]
 | 
						||
        public string countryCode { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 国家名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("countryName")]
 | 
						||
        public string countryName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 省编码
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("provinceCode")]
 | 
						||
        public string provinceCode { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 省名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("provinceName")]
 | 
						||
        public string provinceName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 市编码
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("cityCode")]
 | 
						||
        public string cityCode { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 市名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("cityName")]
 | 
						||
        public string cityName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 区县编码
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("countyCode")]
 | 
						||
        public string countyCode { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 区县名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("countyName")]
 | 
						||
        public string countyName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 详细地址
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("address")]
 | 
						||
        public string address { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 经度
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("remarkA")]
 | 
						||
        public string remarkA { get; set; }
 | 
						||
 | 
						||
        /// <summary>
 | 
						||
        /// 纬度
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("remarkB")]
 | 
						||
        public string remarkB { get; set; }
 | 
						||
 | 
						||
    }
 | 
						||
 | 
						||
 | 
						||
 | 
						||
    public partial class PMPResponseData
 | 
						||
    {
 | 
						||
        public static PMPResponseData FromJson(string json)
 | 
						||
        {
 | 
						||
            return JsonConvert.DeserializeObject<PMPResponseData>(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 }
 | 
						||
    //        },
 | 
						||
    //    };
 | 
						||
    //}
 | 
						||
}
 | 
						||
 |