GetUserRecordResponse.cs 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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.Checkin.DTO;
  9. public class GetUserRecordResponse : DingtalkResponseErrorResultRequestId<GetUserRecordResponseResultDomain>
  10. {
  11. }
  12. public class GetUserRecordResponseResultDomain
  13. {
  14. /// <summary>
  15. /// 下次查询的游标,为null代表没有更多的数据
  16. /// </summary>
  17. [JsonProperty("next_cursor")]
  18. [JsonPropertyName("next_cursor")]
  19. public long? NextCursor { get; set; }
  20. /// <summary>
  21. /// 签到信息
  22. /// </summary>
  23. [JsonProperty("page_list")]
  24. [JsonPropertyName("page_list")]
  25. public List<GetUserRecordResponsePageDomain> PageList { get; set; }
  26. }
  27. public class GetUserRecordResponsePageDomain
  28. {
  29. /// <summary>
  30. /// 签到时间,单位毫秒
  31. /// </summary>
  32. [JsonProperty("checkin_time")]
  33. [JsonPropertyName("checkin_time")]
  34. public long CheckinTime { get; set; }
  35. /// <summary>
  36. /// 签到照片URL列表
  37. /// </summary>
  38. [JsonProperty("image_list")]
  39. [JsonPropertyName("image_list")]
  40. public List<string> ImageList { get; set; }
  41. /// <summary>
  42. /// 签到详细地址
  43. /// </summary>
  44. [JsonProperty("detail_place")]
  45. [JsonPropertyName("detail_place")]
  46. public string DetailPlace { get; set; }
  47. /// <summary>
  48. /// 签到备注
  49. /// </summary>
  50. public string Remark { get; set; }
  51. /// <summary>
  52. /// 签到用户userId
  53. /// </summary>
  54. public string UserId { get; set; }
  55. /// <summary>
  56. /// 签到地址
  57. /// </summary>
  58. public string Place { get; set; }
  59. /// <summary>
  60. /// 签到位置经度(暂未开放)
  61. /// </summary>
  62. public string Longitude { get; set; }
  63. /// <summary>
  64. /// 签到位置维度(暂未开放)
  65. /// </summary>
  66. public string Latitude { get; set; }
  67. /// <summary>
  68. /// 签到的拜访对象,可以为外部联系人的userId或者用户自己输入的名字
  69. /// </summary>
  70. [JsonProperty("visit_user")]
  71. [JsonPropertyName("visit_user")]
  72. public string VisitUser { get; set; }
  73. }