/*********************************************************************** * 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 { /// /// 货品 /// public partial class CoreCmsProducts { /// /// 商品编码 /// [Display(Name = "商品编码")] [SugarColumn(IsIgnore = true)] public string bn { get; set; } /// /// 商品名称 /// [Display(Name = "商品名称")] [SugarColumn(IsIgnore = true)] public string name { get; set; } /// /// 是否上架 /// [Display(Name = "是否上架")] [SugarColumn(IsIgnore = true)] public bool isMarketable { get; set; } /// /// 商品单位 /// [Display(Name = "商品单位")] [SugarColumn(IsIgnore = true)] public string unit { get; set; } /// /// 原始总库存 /// [Display(Name = "原始总库存")] [SugarColumn(IsIgnore = true)] public int totalStock { get; set; } = 0; /// /// 会员价格体系 /// [Display(Name = "会员价格体系")] [SugarColumn(IsIgnore = true)] public List gradePrice { get; set; } = new(); /// /// 关联会员级别 /// [Display(Name = "会员价格")] [SugarColumn(IsIgnore = true)] public object gradeInfo { get; set; } /// /// 初始化匹配sku /// [Display(Name = "初始化匹配sku")] [SugarColumn(IsIgnore = true)] public Dictionary> defaultSpecificationDescription { get; set; } = new(); /// /// 商品总价格,商品单价乘以数量 /// [Display(Name = "商品总价格,商品单价乘以数量")] [SugarColumn(IsIgnore = true)] public decimal amount { get; set; } = 0; /// /// 促销列表 /// [Display(Name = "促销列表")] [SugarColumn(IsIgnore = true)] public Dictionary promotionList { get; set; } = new(); /// /// 促销金额 /// [Display(Name = "促销金额")] [SugarColumn(IsIgnore = true)] public decimal promotionAmount { get; set; } = 0; /// /// 拼团购买数量 /// [Display(Name = "拼团购买数量")] [SugarColumn(IsIgnore = true)] public int buyPinTuanCount { get; set; } = 0; /// /// 促销购买件数 /// [Display(Name = "促销购买件数")] [SugarColumn(IsIgnore = true)] public int buyPromotionCount { get; set; } = 0; /// /// 是否参与拼团规则 /// [Display(Name = "是否参与拼团规则")] [SugarColumn(IsIgnore = true)] public CoreCmsPinTuanRule pinTuanRule { get; set; } /// /// 一级佣金 /// [Display(Name = "一级佣金")] [SugarColumn(IsIgnore = true)] public decimal levelOne { get; set; } = 0; /// /// 二级佣金 /// [Display(Name = "二级佣金")] [SugarColumn(IsIgnore = true)] public decimal levelTwo { get; set; } = 0; /// /// 三级佣金 /// [Display(Name = "三级佣金")] [SugarColumn(IsIgnore = true)] public decimal levelThree { get; set; } = 0; /// /// 商品分类 /// [Display(Name = "商品分类")] [SugarColumn(IsIgnore = true)] public string Category { get; set; } /// /// 商品分类ID /// [Display(Name = "商品分类ID")] [SugarColumn(IsIgnore = true)] public int? CategoryID { get; set; } } }