using Senparc.Weixin.Entities; using System.Collections.Generic; namespace Senparc.Weixin.MP.AdvancedAPIs.Wxa.MerchantJson { /// /// 门店小程序类目信息 /// public class GetMerchantCategoryResult : WxJsonResult { /// /// 所有类目数据 /// public AllCategoryInfo data { get; set; } } /// /// 所有类目数据 /// public class AllCategoryInfo { /// /// 所有类目数据 /// public CateGoryCollection all_category_info { get; set; } } /// /// 类目信息集合 /// public class CateGoryCollection { /// /// 类目信息集合 /// public IEnumerable categories { get; set; } } /// /// 类目信息 /// public class MerchantCategory { /// /// 类目id /// public int id { get; set; } /// /// /// public string name { get; set; } /// /// 类目的级别,一级或者二级类目 /// public int level { get; set; } /// /// 子级类目id /// public IEnumerable children { get; set; } /// /// 父级类目Id /// public int? father { get; set; } /// /// 所需证件 /// public QualifyExter_list qualify { get; set; } public int scene { get; set; } /// /// 0或者1, 0表示不用特殊处理 1表示创建该类目的门店小程序时,需要添加相关证件 /// public int sensitive_type { get; set; } } public class QualifyValue { /// /// 证件名 /// public string name { get; set; } } public class QualifyInner_list { public IEnumerable inner_list { get; set; } } public class QualifyExter_list { public IEnumerable exter_list { get; set; } } }