2025-03-27 22:24:48 +08:00
|
|
|
|
// <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>
|
2025-03-28 14:22:04 +08:00
|
|
|
|
public partial class PMPResponseData
|
2025-03-27 22:24:48 +08:00
|
|
|
|
{
|
|
|
|
|
/// <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")]
|
2025-03-28 14:22:04 +08:00
|
|
|
|
public System.Collections.Generic.List<PMPProject> rows { get; set; }
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 返回消息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("msg")]
|
|
|
|
|
public string msg { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-31 12:27:13 +08:00
|
|
|
|
///// <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; }
|
|
|
|
|
//}
|
2025-03-27 22:24:48 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 项目
|
|
|
|
|
/// </summary>
|
2025-03-28 14:22:04 +08:00
|
|
|
|
public partial class PMPProject
|
2025-03-27 22:24:48 +08:00
|
|
|
|
{
|
|
|
|
|
/// <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>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 项目名称
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("name")]
|
|
|
|
|
public string name { get; set; }
|
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 项目英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("projectNameEn")]
|
|
|
|
|
public string projectNameEn { get; set; }
|
|
|
|
|
/// <summary>
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// 项目简称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("projShortName")]
|
|
|
|
|
public string projShortName { get; set; }
|
|
|
|
|
/// <summary>
|
2025-03-28 14:22:04 +08:00
|
|
|
|
/// 项目开工日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("realStartDate")]
|
|
|
|
|
public DateTime? realStartDate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 项目竣工日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("realEndDate")]
|
|
|
|
|
public DateTime? realEndDate { get; set; }
|
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 计划开始日期
|
2025-03-28 14:22:04 +08:00
|
|
|
|
/// </summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
[JsonProperty("planStartDate")]
|
|
|
|
|
public DateTime? planStartDate { get; set; }
|
2025-03-28 14:22:04 +08:00
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 计划结束日期
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// </summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
[JsonProperty("planEndDate")]
|
|
|
|
|
public DateTime? planEndDate { get; set; }
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 业主名称
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// </summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
[JsonProperty("stClientName")]
|
|
|
|
|
public string stClientName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业主联系人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("clientContactor")]
|
|
|
|
|
public string clientContactor { get; set; }
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 业主联系人电话
|
|
|
|
|
/// </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>
|
|
|
|
|
/// 项目类型一级【控制软件项目类型】
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("stProjectTypeVals")]
|
|
|
|
|
public string stProjectTypeVals { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 项目类型二级
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("stProjectStepVals")]
|
|
|
|
|
public string stProjectStepVals { get; set; }
|
2025-03-31 18:43:58 +08:00
|
|
|
|
///// <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; }
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 项目阶段
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("projStepZxnoVals")]
|
|
|
|
|
public string projStepZxnoVals { get; set; }
|
2025-03-31 18:43:58 +08:00
|
|
|
|
///// <summary>
|
|
|
|
|
///// 项目性质名称
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[JsonProperty("projPropName")]
|
|
|
|
|
//public string projPropName { get; set; }
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 项目性质
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("stProjectPropertyVals")]
|
|
|
|
|
public string stProjectPropertyVals { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注3_新系统项目ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("remarkC")]
|
|
|
|
|
public string remarkC { get; set; }
|
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 建设地点名称(境内、境外)
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// </summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
[JsonProperty("stLocationName")]
|
|
|
|
|
public string stLocationName { get; set; }
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 国家编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("countryCode")]
|
|
|
|
|
public string countryCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 国家名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("countryName")]
|
|
|
|
|
public string countryName { get; set; }
|
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 省编码
|
|
|
|
|
/// </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>
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// 区县编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("countyCode")]
|
|
|
|
|
public string countyCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 区县名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("countyName")]
|
|
|
|
|
public string countyName { get; set; }
|
|
|
|
|
/// <summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
/// 详细地址
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// </summary>
|
2025-03-31 18:43:58 +08:00
|
|
|
|
[JsonProperty("address")]
|
|
|
|
|
public string address { get; set; }
|
2025-03-27 22:24:48 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 经度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("remarkA")]
|
|
|
|
|
public string remarkA { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 纬度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty("remarkB")]
|
|
|
|
|
public string remarkB { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-31 12:27:13 +08:00
|
|
|
|
|
|
|
|
|
|
2025-03-28 14:22:04 +08:00
|
|
|
|
public partial class PMPResponseData
|
2025-03-27 22:24:48 +08:00
|
|
|
|
{
|
2025-03-28 14:22:04 +08:00
|
|
|
|
public static PMPResponseData FromJson(string json)
|
2025-03-27 22:24:48 +08:00
|
|
|
|
{
|
2025-03-28 14:22:04 +08:00
|
|
|
|
return JsonConvert.DeserializeObject<PMPResponseData>(json, Model.Converter.Settings);
|
2025-03-27 22:24:48 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-31 12:27:13 +08:00
|
|
|
|
//internal static class Converter
|
|
|
|
|
//{
|
|
|
|
|
// public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings
|
|
|
|
|
// {
|
|
|
|
|
// MetadataPropertyHandling = MetadataPropertyHandling.Ignore,
|
|
|
|
|
// DateParseHandling = DateParseHandling.None,
|
|
|
|
|
// Converters =
|
|
|
|
|
// {
|
|
|
|
|
// new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }
|
|
|
|
|
// },
|
|
|
|
|
// };
|
|
|
|
|
//}
|
2025-03-27 22:24:48 +08:00
|
|
|
|
}
|
|
|
|
|
|