1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiSmartworkHrmEmployeeListdimissionResponse.
    /// </summary>
    public class OapiSmartworkHrmEmployeeListdimissionResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误码
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 数据结果
        /// </summary>
        [XmlArray("result")]
        [XmlArrayItem("emp_dimission_info_vo")]
        public List<EmpDimissionInfoVoDomain> Result { get; set; }
 
        /// <summary>
        /// success
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// EmpDeptVODomain Data Structure.
/// </summary>
[Serializable]
 
public class EmpDeptVODomain : TopObject
{
            /// <summary>
            /// 部门id
            /// </summary>
            [XmlElement("dept_id")]
            public long DeptId { get; set; }
    
            /// <summary>
            /// 部门路径
            /// </summary>
            [XmlElement("dept_path")]
            public string DeptPath { get; set; }
}
 
    /// <summary>
/// EmpDimissionInfoVoDomain Data Structure.
/// </summary>
[Serializable]
 
public class EmpDimissionInfoVoDomain : TopObject
{
            /// <summary>
            /// 离职部门列表
            /// </summary>
            [XmlArray("dept_list")]
            [XmlArrayItem("emp_dept_v_o")]
            public List<EmpDeptVODomain> DeptList { get; set; }
    
            /// <summary>
            /// 离职交接人
            /// </summary>
            [XmlElement("handover_userid")]
            public string HandoverUserid { get; set; }
    
            /// <summary>
            /// 最后工作日
            /// </summary>
            [XmlElement("last_work_day")]
            public long LastWorkDay { get; set; }
    
            /// <summary>
            /// 离职前主部门id
            /// </summary>
            [XmlElement("main_dept_id")]
            public long MainDeptId { get; set; }
    
            /// <summary>
            /// 离职前主部门名称
            /// </summary>
            [XmlElement("main_dept_name")]
            public string MainDeptName { get; set; }
    
            /// <summary>
            /// 离职前工作状态:1,待入职;2,试用期;3,正式
            /// </summary>
            [XmlElement("pre_status")]
            public long PreStatus { get; set; }
    
            /// <summary>
            /// 离职原因备注
            /// </summary>
            [XmlElement("reason_memo")]
            public string ReasonMemo { get; set; }
    
            /// <summary>
            /// 离职原因类型:1,家庭原因;2,个人原因;3,发展原因;4,合同到期不续签;5,协议解除;6,无法胜任工作;7,经济性裁员;8,严重违法违纪;9,其他
            /// </summary>
            [XmlElement("reason_type")]
            public long ReasonType { get; set; }
    
            /// <summary>
            /// 离职状态:1,待离职;2,已离职
            /// </summary>
            [XmlElement("status")]
            public long Status { get; set; }
    
            /// <summary>
            /// 员工id
            /// </summary>
            [XmlElement("userid")]
            public string Userid { get; set; }
}
 
    }
}