GetUserRecordResponse.cs 3.0 KB

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