EmployeeQueryOnJobResponse.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. public class EmployeeQueryOnJobResponse: DingtalkResponseErrorSuccess
  10. {
  11. [JsonProperty("request_id")]
  12. [JsonPropertyName("request_id")]
  13. public string RequestId { get; set; }
  14. public EmployeeQueryOnJobResponseResultDomain Result { get; set; }
  15. }
  16. public class EmployeeQueryOnJobResponseResultDomain
  17. {
  18. /// <summary>
  19. /// 查询到的员工userId列表
  20. /// </summary>
  21. [JsonProperty("data_list")]
  22. [JsonPropertyName("data_list")]
  23. public List<string> DataList { get; set; }
  24. /// <summary>
  25. /// 下一次分页调用的offset值,当返回结果里没有next_cursor时,表示分页结束。
  26. /// </summary>
  27. [JsonProperty("next_cursor")]
  28. [JsonPropertyName("next_cursor")]
  29. public int? NextCursor { get; set; }
  30. }