using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiSmartworkHrmEmployeeListdimissionResponse. /// public class OapiSmartworkHrmEmployeeListdimissionResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 数据结果 /// [XmlArray("result")] [XmlArrayItem("emp_dimission_info_vo")] public List Result { get; set; } /// /// success /// [XmlElement("success")] public bool Success { get; set; } /// /// EmpDeptVODomain Data Structure. /// [Serializable] public class EmpDeptVODomain : TopObject { /// /// 部门id /// [XmlElement("dept_id")] public long DeptId { get; set; } /// /// 部门路径 /// [XmlElement("dept_path")] public string DeptPath { get; set; } } /// /// EmpDimissionInfoVoDomain Data Structure. /// [Serializable] public class EmpDimissionInfoVoDomain : TopObject { /// /// 离职部门列表 /// [XmlArray("dept_list")] [XmlArrayItem("emp_dept_v_o")] public List DeptList { get; set; } /// /// 离职交接人 /// [XmlElement("handover_userid")] public string HandoverUserid { get; set; } /// /// 最后工作日 /// [XmlElement("last_work_day")] public long LastWorkDay { get; set; } /// /// 离职前主部门id /// [XmlElement("main_dept_id")] public long MainDeptId { get; set; } /// /// 离职前主部门名称 /// [XmlElement("main_dept_name")] public string MainDeptName { get; set; } /// /// 离职前工作状态:1,待入职;2,试用期;3,正式 /// [XmlElement("pre_status")] public long PreStatus { get; set; } /// /// 离职原因备注 /// [XmlElement("reason_memo")] public string ReasonMemo { get; set; } /// /// 离职原因类型:1,家庭原因;2,个人原因;3,发展原因;4,合同到期不续签;5,协议解除;6,无法胜任工作;7,经济性裁员;8,严重违法违纪;9,其他 /// [XmlElement("reason_type")] public long ReasonType { get; set; } /// /// 离职状态:1,待离职;2,已离职 /// [XmlElement("status")] public long Status { get; set; } /// /// 员工id /// [XmlElement("userid")] public string Userid { get; set; } } } }