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