EmployeeQueryOnJobResponse.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
  2. //
  3. // 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
  4. //
  5. // 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
  6. using Admin.NET.Plugin.DingTalk.RequestProxy.BaseTypes;
  7. using System.Text.Json.Serialization;
  8. namespace Admin.NET.Plugin.DingTalk.RequestProxy.HRM.DTO;
  9. /// <summary>
  10. /// 获取在职员工列表
  11. /// </summary>
  12. public class EmployeeQueryOnJobResponse: DingtalkResponseErrorSuccess
  13. {
  14. /// <summary>
  15. /// 请求ID
  16. /// </summary>
  17. [JsonProperty("request_id")]
  18. [JsonPropertyName("request_id")]
  19. public string RequestId { get; set; }
  20. /// <summary>
  21. /// 返回结果
  22. /// </summary>
  23. [JsonProperty("result")]
  24. [JsonPropertyName("result")]
  25. public EmployeeQueryOnJobResponseResultDomain Result { get; set; }
  26. }
  27. public class EmployeeQueryOnJobResponseResultDomain
  28. {
  29. /// <summary>
  30. /// 查询到的员工userId列表
  31. /// </summary>
  32. [JsonProperty("data_list")]
  33. [JsonPropertyName("data_list")]
  34. public List<string> DataList { get; set; }
  35. /// <summary>
  36. /// 下一次分页调用的offset值,当返回结果里没有next_cursor时,表示分页结束。
  37. /// </summary>
  38. [JsonProperty("next_cursor")]
  39. [JsonPropertyName("next_cursor")]
  40. public int? NextCursor { get; set; }
  41. }