zhaojs
2023-09-27 74098f1401afe40f961d1d167bb18dd0a71c4d59
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
using System;
using System.Collections.Generic;
using System.Text;
 
namespace AlibabaSDK.Domain
{
    public class AlibabaCategoryGetDomain
    {
        /// <summary>
        /// 类目ID
        /// </summary>
        public long categoryID { get; set; }
        /// <summary>
        /// 类目名称
        /// </summary>
        public string name { get; set; }
 
        public bool isLeaf { get; set; }
        /// <summary>
        /// 父类目ID数组,1688只返回一个父id    
        /// </summary>
        public List<long> parentIDs { get; set; }
 
        public List<long> childIDs { get; set; }
 
        /// <summary>
        /// 最小起订量
        /// </summary>
        public long minOrderQuantity { get; set; }
 
        /// <summary>
        /// 类目的类型,1为1688大市场类目,2为1688工业品专业化类目,3为1688主流商品类目
        /// </summary>
        public string categoryType { get; set; }
 
        /// <summary>
        /// 类目是否支持加工定制
        /// </summary>
        public bool isSupportProcessing { get; set; }
 
        public List<ChildCategorys> childCategorys { get; set; }
 
        public List<FeatureInfos> featureInfos { get; set; }
    }
 
    public class ChildCategorys
    {
        /// <summary>
        /// 子类目ID
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 子类目名称
        /// </summary>
        public string name { get; set; }
 
        /// <summary>
        /// 是否叶子类目(只有叶子类目才能发布商品)
        /// </summary>
        public bool isLeaf { get; set; }
 
        /// <summary>
        /// 类目的类型:1表示cbu类目,2表示gallop类目
        /// </summary>
        public string categoryType { get; set; }
    }
 
    public class FeatureInfos
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string key { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 是否继承到子元素上
        /// </summary>
        public bool hierarchy { get; set; }
    }
 
 
}