144 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			144 lines
		
	
	
		
			3.5 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 PMPOBSResponseData
 | 
						||
    {
 | 
						||
        /// <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<PMPOBS> rows { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 返回消息
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("msg")]
 | 
						||
        public string msg { get; set; }
 | 
						||
    }
 | 
						||
 | 
						||
 | 
						||
    /// <summary>
 | 
						||
    /// 项目OBS
 | 
						||
    /// </summary>
 | 
						||
    public partial class PMPOBS
 | 
						||
    {
 | 
						||
        /// <summary>
 | 
						||
        /// 主键ID
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("id")]
 | 
						||
        public int id { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// OBS层级
 | 
						||
        /// leve为1代表分类,level 为2代表岗位,level为3代表岗位下的人员
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("level")]
 | 
						||
        public int level { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("name")]
 | 
						||
        public string name { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// OBSid
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("obsId")]
 | 
						||
        public string obsId { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// OBS上级id
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("obsPid")]
 | 
						||
        public string obsPid { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 岗位所属专业
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("proCode")]
 | 
						||
        public string proCode { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 项目id
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("projectId")]
 | 
						||
        public string projectId { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 操作类型
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("disType")]
 | 
						||
        public string disType { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 编码
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("code")]
 | 
						||
        public string code { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 人员编码
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("staffCode")]
 | 
						||
        public string staffCode { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 人员名称
 | 
						||
        /// </summary>
 | 
						||
        [JsonProperty("staffName")]
 | 
						||
        public string staffName { get; set; }
 | 
						||
    }
 | 
						||
 | 
						||
 | 
						||
    /// <summary>
 | 
						||
    /// 项目OBS输出信息
 | 
						||
    /// </summary>
 | 
						||
    public partial class PMPOBSOutInput
 | 
						||
    {
 | 
						||
        /// <summary>
 | 
						||
        /// 岗位专业名称
 | 
						||
        /// </summary>
 | 
						||
        public string workName { get; set; }
 | 
						||
        /// <summary>
 | 
						||
        /// 对应岗位专业任职人员名称
 | 
						||
        /// </summary>
 | 
						||
        public string userName { get; set; }
 | 
						||
    }
 | 
						||
 | 
						||
 | 
						||
    public partial class PMPOBSResponseData
 | 
						||
    {
 | 
						||
        public static PMPOBSResponseData FromJson(string json)
 | 
						||
        {
 | 
						||
            return JsonConvert.DeserializeObject<PMPOBSResponseData>(json, Model.Converter.Settings);
 | 
						||
        }
 | 
						||
    }
 | 
						||
 | 
						||
}
 | 
						||
 |