92 lines
2.4 KiB
C#
92 lines
2.4 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Globalization;
|
|||
|
using Newtonsoft.Json;
|
|||
|
using Newtonsoft.Json.Converters;
|
|||
|
|
|||
|
namespace Model
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 部门model
|
|||
|
/// </summary>
|
|||
|
public partial class MasterDataDepList
|
|||
|
{
|
|||
|
[JsonProperty("code")]
|
|||
|
public int Code { get; set; }
|
|||
|
|
|||
|
[JsonProperty("data")]
|
|||
|
public System.Collections.Generic.List<Datum_Dep> Data { get; set; }
|
|||
|
|
|||
|
[JsonProperty("message")]
|
|||
|
public string Message { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public partial class Datum_Dep
|
|||
|
{
|
|||
|
[JsonProperty("CNCEC_VIEW_DEPT_XXB_N")]
|
|||
|
public System.Collections.Generic.List<CncecViewDeptXxbN> CncecViewDeptXxbN { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public partial class CncecViewDeptXxbN
|
|||
|
{
|
|||
|
[JsonProperty("ad_dep_code")]
|
|||
|
public string AdDepCode { get; set; }
|
|||
|
|
|||
|
[JsonProperty("ad_dep_name")]
|
|||
|
public string AdDepName { get; set; }
|
|||
|
|
|||
|
[JsonProperty("ad_org_code")]
|
|||
|
public string AdOrgCode { get; set; }
|
|||
|
|
|||
|
[JsonProperty("begin_date")]
|
|||
|
public string BeginDate { get; set; }
|
|||
|
|
|||
|
[JsonProperty("dep_exp_type")]
|
|||
|
public string DepExpType { get; set; }
|
|||
|
|
|||
|
[JsonProperty("dep_type")]
|
|||
|
public string DepType { get; set; }
|
|||
|
|
|||
|
[JsonProperty("end_date")]
|
|||
|
public string EndDate { get; set; }
|
|||
|
|
|||
|
[JsonProperty("is_enable")]
|
|||
|
public string IsEnable { get; set; }
|
|||
|
|
|||
|
[JsonProperty("ld_staff_code")]
|
|||
|
public string LdStaffCode { get; set; }
|
|||
|
|
|||
|
[JsonProperty("mn_staff_code")]
|
|||
|
public string MnStaffCode { get; set; }
|
|||
|
|
|||
|
[JsonProperty("p_ad_dep_code")]
|
|||
|
public string PAdDepCode { get; set; }
|
|||
|
|
|||
|
[JsonProperty("SYS_CREATEDATE_")]
|
|||
|
public string SysCreatedate { get; set; }
|
|||
|
|
|||
|
[JsonProperty("SYS_CREATOR_")]
|
|||
|
public string SysCreator { get; set; }
|
|||
|
|
|||
|
[JsonProperty("SYS_ID_")]
|
|||
|
public string SysId { get; set; }
|
|||
|
|
|||
|
[JsonProperty("SYS_MENDER_")]
|
|||
|
public string SysMender { get; set; }
|
|||
|
|
|||
|
[JsonProperty("SYS_MODIFYDATE_")]
|
|||
|
public string SysModifydate { get; set; }
|
|||
|
|
|||
|
[JsonProperty("SYS_STATE_")]
|
|||
|
public int SysState { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public partial class MasterDataDepList
|
|||
|
{
|
|||
|
public static MasterDataDepList FromJson(string json)
|
|||
|
{
|
|||
|
return JsonConvert.DeserializeObject<MasterDataDepList>(json, Model.Converter.Settings);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
}
|