移动系统liao
2025-02-17 557c2711a3e103ebc3d0492344eca9730d5e92b2
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email:                               
 *         CreateTime: 202403/02   
 *        Description: 暂无
 ***********************************************************************/
 
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using CoreCms.Net.Model.FromBody;
using CoreCms.Net.Model.ViewModels.DTO;
using SqlSugar;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    ///     货品
    /// </summary>
    public partial class CoreCmsProducts
    {
 
   
        /// <summary>
        ///     商品编码
        /// </summary>
        [Display(Name = "商品编码")]
        [SugarColumn(IsIgnore = true)]
        public string bn { get; set; }
 
        /// <summary>
        ///     商品名称
        /// </summary>
        [Display(Name = "商品名称")]
        [SugarColumn(IsIgnore = true)]
        public string name { get; set; }
 
        /// <summary>
        ///     是否上架
        /// </summary>
        [Display(Name = "是否上架")]
        [SugarColumn(IsIgnore = true)]
        public bool isMarketable { get; set; }
 
 
        /// <summary>
        ///     商品单位
        /// </summary>
        [Display(Name = "商品单位")]
        [SugarColumn(IsIgnore = true)]
        public string unit { get; set; }
 
        /// <summary>
        ///     原始总库存
        /// </summary>
        [Display(Name = "原始总库存")]
        [SugarColumn(IsIgnore = true)]
        public int totalStock { get; set; } = 0;
 
        /// <summary>
        ///     会员价格体系
        /// </summary>
        [Display(Name = "会员价格体系")]
        [SugarColumn(IsIgnore = true)]
        public List<CoreCmsGoodsGrade> gradePrice { get; set; } = new();
 
        /// <summary>
        ///     关联会员级别
        /// </summary>
        [Display(Name = "会员价格")]
        [SugarColumn(IsIgnore = true)]
        public object gradeInfo { get; set; }
 
        /// <summary>
        ///     初始化匹配sku
        /// </summary>
        [Display(Name = "初始化匹配sku")]
        [SugarColumn(IsIgnore = true)]
        public Dictionary<string, Dictionary<string, DefaultSpesDesc>> defaultSpecificationDescription { get; set; } =
            new();
 
        /// <summary>
        ///     商品总价格,商品单价乘以数量
        /// </summary>
        [Display(Name = "商品总价格,商品单价乘以数量")]
        [SugarColumn(IsIgnore = true)]
        public decimal amount { get; set; } = 0;
 
        /// <summary>
        ///     促销列表
        /// </summary>
        [Display(Name = "促销列表")]
        [SugarColumn(IsIgnore = true)]
        public Dictionary<int, WxNameTypeDto> promotionList { get; set; } = new();
 
        /// <summary>
        ///     促销金额
        /// </summary>
        [Display(Name = "促销金额")]
        [SugarColumn(IsIgnore = true)]
        public decimal promotionAmount { get; set; } = 0;
 
        /// <summary>
        ///     拼团购买数量
        /// </summary>
        [Display(Name = "拼团购买数量")]
        [SugarColumn(IsIgnore = true)]
        public int buyPinTuanCount { get; set; } = 0;
 
        /// <summary>
        ///     促销购买件数
        /// </summary>
        [Display(Name = "促销购买件数")]
        [SugarColumn(IsIgnore = true)]
        public int buyPromotionCount { get; set; } = 0;
 
        /// <summary>
        ///     是否参与拼团规则
        /// </summary>
        [Display(Name = "是否参与拼团规则")]
        [SugarColumn(IsIgnore = true)]
        public CoreCmsPinTuanRule pinTuanRule { get; set; }
 
        /// <summary>
        ///     一级佣金
        /// </summary>
        [Display(Name = "一级佣金")]
        [SugarColumn(IsIgnore = true)]
        public decimal levelOne { get; set; } = 0;
 
        /// <summary>
        ///     二级佣金
        /// </summary>
        [Display(Name = "二级佣金")]
        [SugarColumn(IsIgnore = true)]
        public decimal levelTwo { get; set; } = 0;
 
        /// <summary>
        ///     三级佣金
        /// </summary>
        [Display(Name = "三级佣金")]
        [SugarColumn(IsIgnore = true)]
        public decimal levelThree { get; set; } = 0;
 
        /// <summary>
        ///    商品分类
        /// </summary>
        [Display(Name = "商品分类")]
        [SugarColumn(IsIgnore = true)]
        public string Category { get; set; }
 
        /// <summary>
        ///    商品分类ID
        /// </summary>
        [Display(Name = "商品分类ID")]
        [SugarColumn(IsIgnore = true)]
        public int?  CategoryID { get; set; }
    }
}