zrg
2024-08-16 18865d8bf24382e850e661dec6cca0e8b9dba6ae
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiRhinoHumanresEmployeeProductionteamListResponse.
    /// </summary>
    public class OapiRhinoHumanresEmployeeProductionteamListResponse : DingTalkResponse
    {
        /// <summary>
        /// 员工信息
        /// </summary>
        [XmlArray("corp_employee_info")]
        [XmlArrayItem("model")]
        public List<ModelDomain> CorpEmployeeInfo { get; set; }
 
        /// <summary>
        /// errcode
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 扩展信息
        /// </summary>
        [XmlElement("external_msg_info")]
        public string ExternalMsgInfo { get; set; }
 
        /// <summary>
        /// status_code
        /// </summary>
        [XmlElement("status_code")]
        public long StatusCode { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// ProductionTeamListDomain Data Structure.
/// </summary>
[Serializable]
 
public class ProductionTeamListDomain : TopObject
{
            /// <summary>
            /// 生产组业务ID
            /// </summary>
            [XmlElement("biz_id")]
            public string BizId { get; set; }
    
            /// <summary>
            /// 产能类型
            /// </summary>
            [XmlElement("capacity_type")]
            public string CapacityType { get; set; }
    
            /// <summary>
            /// 是否删除
            /// </summary>
            [XmlElement("deleted")]
            public bool Deleted { get; set; }
    
            /// <summary>
            /// 员工数量
            /// </summary>
            [XmlElement("emp_num")]
            public long EmpNum { get; set; }
    
            /// <summary>
            /// 分组code
            /// </summary>
            [XmlElement("group_code")]
            public string GroupCode { get; set; }
    
            /// <summary>
            /// modifier
            /// </summary>
            [XmlElement("modifier")]
            public string Modifier { get; set; }
    
            /// <summary>
            /// 生产组code
            /// </summary>
            [XmlElement("production_team_code")]
            public string ProductionTeamCode { get; set; }
    
            /// <summary>
            /// 生产组名称
            /// </summary>
            [XmlElement("production_team_name")]
            public string ProductionTeamName { get; set; }
    
            /// <summary>
            /// 资产ID
            /// </summary>
            [XmlElement("tenant_id")]
            public string TenantId { get; set; }
}
 
    /// <summary>
/// ModelDomain Data Structure.
/// </summary>
[Serializable]
 
public class ModelDomain : TopObject
{
            /// <summary>
            /// 部门邮箱
            /// </summary>
            [XmlElement("bu_mail")]
            public string BuMail { get; set; }
    
            /// <summary>
            /// bucId
            /// </summary>
            [XmlElement("buc_id")]
            public long BucId { get; set; }
    
            /// <summary>
            /// 企业ID
            /// </summary>
            [XmlElement("corp_id")]
            public string CorpId { get; set; }
    
            /// <summary>
            /// 离职日期
            /// </summary>
            [XmlElement("departure_date")]
            public string DepartureDate { get; set; }
    
            /// <summary>
            /// 全局钉钉员工ID
            /// </summary>
            [XmlElement("dingtalk_no")]
            public string DingtalkNo { get; set; }
    
            /// <summary>
            /// 企业下钉钉员工ID
            /// </summary>
            [XmlElement("dingtalk_user_id")]
            public string DingtalkUserId { get; set; }
    
            /// <summary>
            /// 入职日期
            /// </summary>
            [XmlElement("hire_date")]
            public string HireDate { get; set; }
    
            /// <summary>
            /// 主键ID
            /// </summary>
            [XmlElement("id")]
            public long Id { get; set; }
    
            /// <summary>
            /// 头像地址
            /// </summary>
            [XmlElement("img_url")]
            public string ImgUrl { get; set; }
    
            /// <summary>
            /// 职位
            /// </summary>
            [XmlElement("job")]
            public string Job { get; set; }
    
            /// <summary>
            /// 手机号
            /// </summary>
            [XmlElement("mobile")]
            public string Mobile { get; set; }
    
            /// <summary>
            /// 姓名
            /// </summary>
            [XmlElement("name")]
            public string Name { get; set; }
    
            /// <summary>
            /// 拥有的生产组
            /// </summary>
            [XmlArray("production_team_list")]
            [XmlArrayItem("production_team_list")]
            public List<ProductionTeamListDomain> ProductionTeamList { get; set; }
    
            /// <summary>
            /// 状态
            /// </summary>
            [XmlElement("status")]
            public long Status { get; set; }
    
            /// <summary>
            /// 资产ID
            /// </summary>
            [XmlElement("tenant_id")]
            public string TenantId { get; set; }
    
            /// <summary>
            /// uicId
            /// </summary>
            [XmlElement("uic_id")]
            public long UicId { get; set; }
    
            /// <summary>
            /// 工号
            /// </summary>
            [XmlElement("work_no")]
            public string WorkNo { get; set; }
    
            /// <summary>
            /// 工作状态
            /// </summary>
            [XmlElement("work_status")]
            public long WorkStatus { get; set; }
}
 
    }
}