GroupGetDetailResultJson.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #region Apache License Version 2.0
  2. /*----------------------------------------------------------------
  3. Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
  4. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software distributed under the
  8. License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  9. either express or implied. See the License for the specific language governing permissions
  10. and limitations under the License.
  11. Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
  12. ----------------------------------------------------------------*/
  13. #endregion Apache License Version 2.0
  14. /*----------------------------------------------------------------
  15. Copyright (C) 2019 Senparc
  16. 文件名:GroupGetDetailResultJson.cs
  17. 文件功能描述:查询分组详情的返回结果
  18. 创建标识:Senparc - 20160520
  19. ----------------------------------------------------------------*/
  20. using System;
  21. using System.Collections.Generic;
  22. using System.Linq;
  23. using System.Text;
  24. using System.Threading.Tasks;
  25. using Senparc.Weixin.Entities;
  26. namespace Senparc.Weixin.MP.AdvancedAPIs.ShakeAround
  27. {
  28. public class GroupGetDetailResultJson : WxJsonResult
  29. {
  30. /// <summary>
  31. /// 查询分组详情的返回结果
  32. /// </summary>
  33. public GroupGetDetail_Data data { get; set; }
  34. }
  35. public class GroupGetDetail_Data
  36. {
  37. /// <summary>
  38. /// 分组唯一标识,全局唯一
  39. /// </summary>
  40. public string group_id { get; set; }
  41. /// <summary>
  42. /// 分组名
  43. /// </summary>
  44. public string group_name { get; set; }
  45. /// <summary>
  46. /// 此分组现有的总设备数
  47. /// </summary>
  48. public int total_count { get; set; }
  49. /// <summary>
  50. /// 分组下的设备列表
  51. /// </summary>
  52. public List<GroupGetDetail_Devices> devices { get; set; }
  53. }
  54. public class GroupGetDetail_Devices
  55. {
  56. /// <summary>
  57. /// 设备编号,设备全局唯一ID
  58. /// </summary>
  59. public string device_id { get; set; }
  60. /// <summary>
  61. /// uuid
  62. /// </summary>
  63. public string uuid { get; set; }
  64. /// <summary>
  65. /// major
  66. /// </summary>
  67. public string major { get; set; }
  68. /// <summary>
  69. /// minor
  70. /// </summary>
  71. public string minor { get; set; }
  72. /// <summary>
  73. /// 设备的备注信息
  74. /// </summary>
  75. public string comment { get; set; }
  76. /// <summary>
  77. /// 设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。门店相关信息具体可查看门店相关的接口文档
  78. /// </summary>
  79. public string poi_id { get; set; }
  80. }
  81. }