PoiInMap.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using Senparc.Weixin.Entities;
  2. using System.Collections.Generic;
  3. namespace Senparc.Weixin.MP.AdvancedAPIs.Wxa.MerchantJson
  4. {
  5. /// <summary>
  6. /// 地图中的门店信息
  7. /// </summary>
  8. public class PoiInMap
  9. {
  10. /// <summary>
  11. /// 品牌名
  12. /// </summary>
  13. public string branch_name { get; set; }
  14. /// <summary>
  15. /// 详细地址
  16. /// </summary>
  17. public string address { get; set; }
  18. /// <summary>
  19. /// 经度
  20. /// </summary>
  21. public double longitude { get; set; }
  22. /// <summary>
  23. /// 纬度
  24. /// </summary>
  25. public double latitude { get; set; }
  26. /// <summary>
  27. /// 电话
  28. /// </summary>
  29. public string telephone { get; set; }
  30. /// <summary>
  31. /// 分类
  32. /// </summary>
  33. public string category { get; set; }
  34. /// <summary>
  35. /// 从腾讯地图换取的位置点id, 即创建门店接口中的map_poi_id参数
  36. /// </summary>
  37. public string sosomap_poi_uid { get; set; }
  38. public int data_supply { get; set; }
  39. /// <summary>
  40. /// 图片列表
  41. /// </summary>
  42. public IEnumerable<string> pic_urls { get; set; }
  43. /// <summary>
  44. /// 卡券列表
  45. /// </summary>
  46. public IEnumerable<string> card_id_list { get; set; }
  47. }
  48. public class MapPoiData
  49. {
  50. public IEnumerable<PoiInMap> item { get; set; }
  51. }
  52. public class SearchMapPoiJson : WxJsonResult
  53. {
  54. public MapPoiData data { get; set; }
  55. }
  56. }