添加项目文件。

This commit is contained in:
JianWeie
2021-12-20 21:27:32 +08:00
parent 747486f5cb
commit 82d825b7a5
3514 changed files with 887941 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 品牌表
/// </summary>
[SugarTable("CoreCmsBrand",TableDescription = "品牌表")]
public partial class CoreCmsBrand
{
/// <summary>
/// 品牌表
/// </summary>
public CoreCmsBrand()
{
}
/// <summary>
/// 品牌ID
/// </summary>
[Display(Name = "品牌ID")]
[SugarColumn(ColumnDescription = "品牌ID", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 品牌名称
/// </summary>
[Display(Name = "品牌名称")]
[SugarColumn(ColumnDescription = "品牌名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 品牌LOGO
/// </summary>
[Display(Name = "品牌LOGO")]
[SugarColumn(ColumnDescription = "品牌LOGO", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String logoImageUrl { get; set; }
/// <summary>
/// 品牌排序
/// </summary>
[Display(Name = "品牌排序")]
[SugarColumn(ColumnDescription = "品牌排序", IsNullable = true)]
public System.Int32? sort { get; set; }
/// <summary>
/// 是否显示
/// </summary>
[Display(Name = "是否显示")]
[SugarColumn(ColumnDescription = "是否显示")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isShow { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
}
}

View File

@@ -0,0 +1,247 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/16 1:14:14
* Description: 暂无
***********************************************************************/
using System;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品表
/// </summary>
public partial class CoreCmsGoods
{
/// <summary>
/// 商品ID
/// </summary>
[Display(Name = "商品ID")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public int id { get; set; }
/// <summary>
/// 商品条码
/// </summary>
[Display(Name = "商品条码")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(30, ErrorMessage = "{0}不能超过{1}字")]
public string bn { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[Display(Name = "商品名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(200, ErrorMessage = "{0}不能超过{1}字")]
public string name { get; set; }
/// <summary>
/// 商品简介
/// </summary>
[Display(Name = "商品简介")]
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
public string brief { get; set; }
/// <summary>
/// 缩略图
/// </summary>
[Display(Name = "缩略图")]
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
public string image { get; set; }
/// <summary>
/// 图集
/// </summary>
[Display(Name = "图集")]
public string images { get; set; }
/// <summary>
/// 视频
/// </summary>
[Display(Name = "视频")]
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
public string video { get; set; }
/// <summary>
/// 佣金分配方式
/// </summary>
[Display(Name = "佣金分配方式")]
[Required(ErrorMessage = "请输入{0}")]
public int productsDistributionType { get; set; }
/// <summary>
/// 商品分类
/// </summary>
[Display(Name = "商品分类")]
[Required(ErrorMessage = "请输入{0}")]
public int goodsCategoryId { get; set; }
/// <summary>
/// 商品类别
/// </summary>
[Display(Name = "商品类别")]
[Required(ErrorMessage = "请输入{0}")]
public int goodsTypeId { get; set; }
/// <summary>
/// sku序列
/// </summary>
[Display(Name = "sku序列")]
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
public string goodsSkuIds { get; set; }
/// <summary>
/// 参数序列
/// </summary>
[Display(Name = "参数序列")]
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
public string goodsParamsIds { get; set; }
/// <summary>
/// 品牌
/// </summary>
[Display(Name = "品牌")]
[Required(ErrorMessage = "请输入{0}")]
public int brandId { get; set; }
/// <summary>
/// 是否虚拟商品
/// </summary>
[Display(Name = "是否虚拟商品")]
[Required(ErrorMessage = "请输入{0}")]
public bool isNomalVirtual { get; set; }
/// <summary>
/// 是否上架
/// </summary>
[Display(Name = "是否上架")]
[Required(ErrorMessage = "请输入{0}")]
public bool isMarketable { get; set; }
/// <summary>
/// 商品单位
/// </summary>
[Display(Name = "商品单位")]
[StringLength(20, ErrorMessage = "{0}不能超过{1}字")]
public string unit { get; set; }
/// <summary>
/// 商品详情
/// </summary>
[Display(Name = "商品详情")]
public string intro { get; set; }
/// <summary>
/// 商品规格序列号存储
/// </summary>
[Display(Name = "商品规格序列号存储")]
public string spesDesc { get; set; }
/// <summary>
/// 参数序列化
/// </summary>
[Display(Name = "参数序列化")]
public string parameters { get; set; }
/// <summary>
/// 评论次数
/// </summary>
[Display(Name = "评论次数")]
[Required(ErrorMessage = "请输入{0}")]
public int commentsCount { get; set; }
/// <summary>
/// 浏览次数
/// </summary>
[Display(Name = "浏览次数")]
[Required(ErrorMessage = "请输入{0}")]
public int viewCount { get; set; }
/// <summary>
/// 购买次数
/// </summary>
[Display(Name = "购买次数")]
[Required(ErrorMessage = "请输入{0}")]
public int buyCount { get; set; }
/// <summary>
/// 上架时间
/// </summary>
[Display(Name = "上架时间")]
public DateTime? uptime { get; set; }
/// <summary>
/// 下架时间
/// </summary>
[Display(Name = "下架时间")]
public DateTime? downtime { get; set; }
/// <summary>
/// 商品排序
/// </summary>
[Display(Name = "商品排序")]
[Required(ErrorMessage = "请输入{0}")]
public int sort { get; set; }
/// <summary>
/// 标签id逗号分隔
/// </summary>
[Display(Name = "标签id逗号分隔")]
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
public string labelIds { get; set; }
/// <summary>
/// 自定义规格名称
/// </summary>
[Display(Name = "自定义规格名称")]
public string newSpec { get; set; }
/// <summary>
/// 开启规则
/// </summary>
[Display(Name = "开启规则")]
[Required(ErrorMessage = "请输入{0}")]
public int openSpec { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
public DateTime? createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
public DateTime? updateTime { get; set; }
/// <summary>
/// 是否推荐
/// </summary>
[Display(Name = "是否推荐")]
[Required(ErrorMessage = "请输入{0}")]
public bool isRecommend { get; set; }
/// <summary>
/// 是否热门
/// </summary>
[Display(Name = "是否热门")]
[Required(ErrorMessage = "请输入{0}")]
public bool isHot { get; set; }
/// <summary>
/// 是否删除
/// </summary>
[Display(Name = "是否删除")]
[Required(ErrorMessage = "请输入{0}")]
public bool isDel { get; set; }
}
}

View File

@@ -0,0 +1,72 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品浏览记录表
/// </summary>
[SugarTable("CoreCmsGoodsBrowsing",TableDescription = "商品浏览记录表")]
public partial class CoreCmsGoodsBrowsing
{
/// <summary>
/// 商品浏览记录表
/// </summary>
public CoreCmsGoodsBrowsing()
{
}
/// <summary>
/// ID
/// </summary>
[Display(Name = "ID")]
[SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 商品id 关联goods.id
/// </summary>
[Display(Name = "商品id 关联goods.id")]
[SugarColumn(ColumnDescription = "商品id 关联goods.id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 goodsId { get; set; }
/// <summary>
/// 用户id
/// </summary>
[Display(Name = "用户id")]
[SugarColumn(ColumnDescription = "用户id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[Display(Name = "商品名称")]
[SugarColumn(ColumnDescription = "商品名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String goodsName { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
/// <summary>
/// 删除标志
/// </summary>
[Display(Name = "删除标志")]
[SugarColumn(ColumnDescription = "删除标志")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isdel { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品浏览记录
/// </summary>
public partial class CoreCmsGoodsBrowsing
{
/// <summary>
/// 商品图片
/// </summary>
[Display(Name = "商品图片")]
[SugarColumn(IsIgnore = true)]
public string goodImage { get; set; }
/// <summary>
/// 是否收藏
/// </summary>
[Display(Name = "是否收藏")]
[SugarColumn(IsIgnore = true)]
public bool isCollection { get; set; }
}
}

View File

@@ -0,0 +1,85 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品分类
/// </summary>
[SugarTable("CoreCmsGoodsCategory",TableDescription = "商品分类")]
public partial class CoreCmsGoodsCategory
{
/// <summary>
/// 商品分类
/// </summary>
public CoreCmsGoodsCategory()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 上级分类id
/// </summary>
[Display(Name = "上级分类id")]
[SugarColumn(ColumnDescription = "上级分类id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 parentId { get; set; }
/// <summary>
/// 分类名称
/// </summary>
[Display(Name = "分类名称")]
[SugarColumn(ColumnDescription = "分类名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 类型ID 关联 goods_type.id
/// </summary>
[Display(Name = "类型ID 关联 goods_type.id")]
[SugarColumn(ColumnDescription = "类型ID 关联 goods_type.id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 typeId { get; set; }
/// <summary>
/// 分类排序
/// </summary>
[Display(Name = "分类排序")]
[SugarColumn(ColumnDescription = "分类排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
/// <summary>
/// 分类图片ID
/// </summary>
[Display(Name = "分类图片ID")]
[SugarColumn(ColumnDescription = "分类图片ID", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String imageUrl { get; set; }
/// <summary>
/// 是否显示
/// </summary>
[Display(Name = "是否显示")]
[SugarColumn(ColumnDescription = "是否显示")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isShow { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
}
}

View File

@@ -0,0 +1,48 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品分类扩展表
/// </summary>
[SugarTable("CoreCmsGoodsCategoryExtend",TableDescription = "商品分类扩展表")]
public partial class CoreCmsGoodsCategoryExtend
{
/// <summary>
/// 商品分类扩展表
/// </summary>
public CoreCmsGoodsCategoryExtend()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 商品id
/// </summary>
[Display(Name = "商品id")]
[SugarColumn(ColumnDescription = "商品id", IsNullable = true)]
public System.Int32? goodsId { get; set; }
/// <summary>
/// 商品分类id
/// </summary>
[Display(Name = "商品分类id")]
[SugarColumn(ColumnDescription = "商品分类id", IsNullable = true)]
public System.Int32? goodsCategroyId { get; set; }
}
}

View File

@@ -0,0 +1,28 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品分类
/// </summary>
public partial class CoreCmsGoodsCategory
{
/// <summary>
/// 类别名称
/// </summary>
[Display(Name = "类别名称")]
[SugarColumn(IsIgnore = true)]
public string typeName { get; set; }
}
}

View File

@@ -0,0 +1,65 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品收藏表
/// </summary>
[SugarTable("CoreCmsGoodsCollection",TableDescription = "商品收藏表")]
public partial class CoreCmsGoodsCollection
{
/// <summary>
/// 商品收藏表
/// </summary>
public CoreCmsGoodsCollection()
{
}
/// <summary>
/// ID
/// </summary>
[Display(Name = "ID")]
[SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 商品id 关联goods.id
/// </summary>
[Display(Name = "商品id 关联goods.id")]
[SugarColumn(ColumnDescription = "商品id 关联goods.id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 goodsId { get; set; }
/// <summary>
/// 用户id
/// </summary>
[Display(Name = "用户id")]
[SugarColumn(ColumnDescription = "用户id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[Display(Name = "商品名称")]
[SugarColumn(ColumnDescription = "商品名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String goodsName { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}

View File

@@ -0,0 +1,28 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品收藏
/// </summary>
public partial class CoreCmsGoodsCollection
{
/// <summary>
/// 商品信息
/// </summary>
[Display(Name = "商品信息")]
[SugarColumn(IsIgnore = true)]
public CoreCmsGoods goods { get; set; }
}
}

View File

@@ -0,0 +1,110 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品评价表
/// </summary>
[SugarTable("CoreCmsGoodsComment",TableDescription = "商品评价表")]
public partial class CoreCmsGoodsComment
{
/// <summary>
/// 商品评价表
/// </summary>
public CoreCmsGoodsComment()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 父级评价ID
/// </summary>
[Display(Name = "父级评价ID")]
[SugarColumn(ColumnDescription = "父级评价ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 commentId { get; set; }
/// <summary>
/// 评价1-5星
/// </summary>
[Display(Name = "评价1-5星")]
[SugarColumn(ColumnDescription = "评价1-5星")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 score { get; set; }
/// <summary>
/// 评价用户ID
/// </summary>
[Display(Name = "评价用户ID")]
[SugarColumn(ColumnDescription = "评价用户ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
/// <summary>
/// 商品ID
/// </summary>
[Display(Name = "商品ID")]
[SugarColumn(ColumnDescription = "商品ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 goodsId { get; set; }
/// <summary>
/// 评价订单ID
/// </summary>
[Display(Name = "评价订单ID")]
[SugarColumn(ColumnDescription = "评价订单ID")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String orderId { get; set; }
/// <summary>
/// 货品规格序列号存储
/// </summary>
[Display(Name = "货品规格序列号存储")]
[SugarColumn(ColumnDescription = "货品规格序列号存储", IsNullable = true)]
public System.String addon { get; set; }
/// <summary>
/// 评价图片逗号分隔最多五张
/// </summary>
[Display(Name = "评价图片逗号分隔最多五张")]
[SugarColumn(ColumnDescription = "评价图片逗号分隔最多五张", IsNullable = true)]
public System.String images { get; set; }
/// <summary>
/// 评价内容
/// </summary>
[Display(Name = "评价内容")]
[SugarColumn(ColumnDescription = "评价内容", IsNullable = true)]
public System.String contentBody { get; set; }
/// <summary>
/// 商家回复
/// </summary>
[Display(Name = "商家回复")]
[SugarColumn(ColumnDescription = "商家回复", IsNullable = true)]
public System.String sellerContent { get; set; }
/// <summary>
/// 前台显示
/// </summary>
[Display(Name = "前台显示")]
[SugarColumn(ColumnDescription = "前台显示")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDisplay { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}

View File

@@ -0,0 +1,56 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 评论
/// </summary>
public partial class CoreCmsGoodsComment
{
/// <summary>
/// 图集数组
/// </summary>
[Display(Name = "图集数组")]
[SugarColumn(IsIgnore = true)]
public string[] imagesArr { get; set; }
/// <summary>
/// 用户头像
/// </summary>
[Display(Name = "用户头像")]
[SugarColumn(IsIgnore = true)]
public string avatarImage { get; set; }
/// <summary>
/// 用户昵称
/// </summary>
[Display(Name = "用户昵称")]
[SugarColumn(IsIgnore = true)]
public string nickName { get; set; }
/// <summary>
/// 用户手机
/// </summary>
[Display(Name = "用户手机")]
[SugarColumn(IsIgnore = true)]
public string mobile { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[Display(Name = "商品名称")]
[SugarColumn(IsIgnore = true)]
public string goodName { get; set; }
}
}

View File

@@ -0,0 +1,57 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品会员价表
/// </summary>
[SugarTable("CoreCmsGoodsGrade",TableDescription = "商品会员价表")]
public partial class CoreCmsGoodsGrade
{
/// <summary>
/// 商品会员价表
/// </summary>
public CoreCmsGoodsGrade()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 商品id
/// </summary>
[Display(Name = "商品id")]
[SugarColumn(ColumnDescription = "商品id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 goodsId { get; set; }
/// <summary>
/// 会员等级id
/// </summary>
[Display(Name = "会员等级id")]
[SugarColumn(ColumnDescription = "会员等级id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 gradeId { get; set; }
/// <summary>
/// 会员价
/// </summary>
[Display(Name = "会员价")]
[SugarColumn(ColumnDescription = "会员价")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal gradePrice { get; set; }
}
}

View File

@@ -0,0 +1,28 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品分类
/// </summary>
public partial class CoreCmsGoodsGrade
{
/// <summary>
/// 名称
/// </summary>
[Display(Name = "名称")]
[SugarColumn(IsIgnore = true)]
public string gradeName { get; set; }
}
}

View File

@@ -0,0 +1,51 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品图片关联表
/// </summary>
[SugarTable("CoreCmsGoodsImages",TableDescription = "商品图片关联表")]
public partial class CoreCmsGoodsImages
{
/// <summary>
/// 商品图片关联表
/// </summary>
public CoreCmsGoodsImages()
{
}
/// <summary>
/// 商品ID
/// </summary>
[Display(Name = "商品ID")]
[SugarColumn(ColumnDescription = "商品ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 goodsId { get; set; }
/// <summary>
/// 图片ID
/// </summary>
[Display(Name = "图片ID")]
[SugarColumn(ColumnDescription = "图片ID")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String imageId { get; set; }
/// <summary>
/// 图片排序
/// </summary>
[Display(Name = "图片排序")]
[SugarColumn(ColumnDescription = "图片排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
}
}

View File

@@ -0,0 +1,68 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品参数表
/// </summary>
[SugarTable("CoreCmsGoodsParams",TableDescription = "商品参数表")]
public partial class CoreCmsGoodsParams
{
/// <summary>
/// 商品参数表
/// </summary>
public CoreCmsGoodsParams()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 参数名称
/// </summary>
[Display(Name = "参数名称")]
[SugarColumn(ColumnDescription = "参数名称", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 参数值
/// </summary>
[Display(Name = "参数值")]
[SugarColumn(ColumnDescription = "参数值", IsNullable = true)]
public System.String value { get; set; }
/// <summary>
/// 参数类型
/// </summary>
[Display(Name = "参数类型")]
[SugarColumn(ColumnDescription = "参数类型", IsNullable = true)]
[StringLength(10, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String type { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,161 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品类型扩展
/// </summary>
public partial class CoreCmsGoods
{
/// <summary>
/// 货品编码
/// </summary>
[Display(Name = "货品编码")]
[SugarColumn(IsIgnore = true)]
public string sn { get; set; }
/// <summary>
/// 销售价
/// </summary>
[Display(Name = "销售价")]
[SugarColumn(IsIgnore = true)]
public decimal price { get; set; } = 0;
/// <summary>
/// 成本价
/// </summary>
[Display(Name = "成本价")]
[SugarColumn(IsIgnore = true)]
public decimal costprice { get; set; } = 0;
/// <summary>
/// 市场价
/// </summary>
[Display(Name = "市场价")]
[SugarColumn(IsIgnore = true)]
public decimal mktprice { get; set; } = 0;
/// <summary>
/// 库存
/// </summary>
[Display(Name = "库存")]
[SugarColumn(IsIgnore = true)]
public int stock { get; set; } = 0;
/// <summary>
/// 冻结库存
/// </summary>
[Display(Name = "冻结库存")]
[SugarColumn(IsIgnore = true)]
public int freezeStock { get; set; } = 0;
/// <summary>
/// 重量
/// </summary>
[Display(Name = "重量")]
[SugarColumn(IsIgnore = true)]
public decimal weight { get; set; } = 0;
/// <summary>
/// 图集
/// </summary>
[SugarColumn(IsIgnore = true)]
public string[] album { get; set; }
/// <summary>
/// 品牌数据
/// </summary>
[SugarColumn(IsIgnore = true)]
public CoreCmsBrand brand { get; set; }
/// <summary>
/// 关联参数
/// </summary>
[SugarColumn(IsIgnore = true)]
public CoreCmsProducts product { get; set; } = new();
/// <summary>
/// 是否收藏
/// </summary>
[SugarColumn(IsIgnore = true)]
public bool isFav { get; set; } = false;
/// <summary>
/// 关联拼团规则
/// </summary>
[SugarColumn(IsIgnore = true)]
public CoreCmsPinTuanRule pinTuanRule { get; set; } = null;
/// <summary>
/// 拼团价格
/// </summary>
[SugarColumn(IsIgnore = true)]
public decimal pinTuanPrice { get; set; } = 0;
/// <summary>
/// 拼团记录
/// </summary>
[SugarColumn(IsIgnore = true)]
public List<CoreCmsPinTuanRecord> pinTuanRecord { get; set; } = new();
/// <summary>
/// 拼团记录数量
/// </summary>
[SugarColumn(IsIgnore = true)]
public int pinTuanRecordNums { get; set; } = 0;
/// <summary>
/// 拼团总单数
/// </summary>
[SugarColumn(IsIgnore = true)]
public int buyPinTuanCount { get; set; } = 0;
/// <summary>
/// 团购秒杀促销总单数
/// </summary>
[SugarColumn(IsIgnore = true)]
public int buyPromotionCount { get; set; } = 0;
/// <summary>
/// 标签列表
/// </summary>
[SugarColumn(IsIgnore = true)]
public List<CoreCmsLabel> labels { get; set; } = new();
/// <summary>
/// 所属团购秒杀
/// </summary>
[SugarColumn(IsIgnore = true)]
public int groupId { get; set; }
[SugarColumn(IsIgnore = true)] public int groupType { get; set; }
[SugarColumn(IsIgnore = true)] public bool groupStatus { get; set; }
[SugarColumn(IsIgnore = true)] public DateTime groupTime { get; set; }
[SugarColumn(IsIgnore = true)] public DateTime groupStartTime { get; set; }
[SugarColumn(IsIgnore = true)] public DateTime groupEndTime { get; set; }
[SugarColumn(IsIgnore = true)] public int groupTimestamp { get; set; }
}
}

View File

@@ -0,0 +1,51 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品类型属性表
/// </summary>
[SugarTable("CoreCmsGoodsTypeSpec",TableDescription = "商品类型属性表")]
public partial class CoreCmsGoodsTypeSpec
{
/// <summary>
/// 商品类型属性表
/// </summary>
public CoreCmsGoodsTypeSpec()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 属性名称
/// </summary>
[Display(Name = "属性名称")]
[SugarColumn(ColumnDescription = "属性名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
/// <summary>
/// 属性排序
/// </summary>
[Display(Name = "属性排序")]
[SugarColumn(ColumnDescription = "属性排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
}
}

View File

@@ -0,0 +1,27 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using System.Collections.Generic;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品类型属性表
/// </summary>
public partial class CoreCmsGoodsTypeSpec
{
/// <summary>
/// 子类
/// </summary>
[SugarColumn(IsIgnore = true)]
public List<CoreCmsGoodsTypeSpecValue> specValues { get; set; } = new();
}
}

View File

@@ -0,0 +1,58 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 商品类型属性值表
/// </summary>
[SugarTable("CoreCmsGoodsTypeSpecValue",TableDescription = "商品类型属性值表")]
public partial class CoreCmsGoodsTypeSpecValue
{
/// <summary>
/// 商品类型属性值表
/// </summary>
public CoreCmsGoodsTypeSpecValue()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 属性ID 关联goods_type_spec.id
/// </summary>
[Display(Name = "属性ID 关联goods_type_spec.id")]
[SugarColumn(ColumnDescription = "属性ID 关联goods_type_spec.id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 specId { get; set; }
/// <summary>
/// 属性值
/// </summary>
[Display(Name = "属性值")]
[SugarColumn(ColumnDescription = "属性值")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String value { get; set; }
/// <summary>
/// 排序
/// </summary>
[Display(Name = "排序")]
[SugarColumn(ColumnDescription = "排序")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 sort { get; set; }
}
}

View File

@@ -0,0 +1,132 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 货品表
/// </summary>
[SugarTable("CoreCmsProducts",TableDescription = "货品表")]
public partial class CoreCmsProducts
{
/// <summary>
/// 货品表
/// </summary>
public CoreCmsProducts()
{
}
/// <summary>
/// 货品序列
/// </summary>
[Display(Name = "货品序列")]
[SugarColumn(ColumnDescription = "货品序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 商品序列
/// </summary>
[Display(Name = "商品序列")]
[SugarColumn(ColumnDescription = "商品序列")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 goodsId { get; set; }
/// <summary>
/// 商品条码
/// </summary>
[Display(Name = "商品条码")]
[SugarColumn(ColumnDescription = "商品条码", IsNullable = true)]
[StringLength(128, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String barcode { get; set; }
/// <summary>
/// 货品编码
/// </summary>
[Display(Name = "货品编码")]
[SugarColumn(ColumnDescription = "货品编码", IsNullable = true)]
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String sn { get; set; }
/// <summary>
/// 货品价格
/// </summary>
[Display(Name = "货品价格")]
[SugarColumn(ColumnDescription = "货品价格")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal price { get; set; }
/// <summary>
/// 货品成本价
/// </summary>
[Display(Name = "货品成本价")]
[SugarColumn(ColumnDescription = "货品成本价")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal costprice { get; set; }
/// <summary>
/// 货品市场价
/// </summary>
[Display(Name = "货品市场价")]
[SugarColumn(ColumnDescription = "货品市场价")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal mktprice { get; set; }
/// <summary>
/// 是否上架
/// </summary>
[Display(Name = "是否上架")]
[SugarColumn(ColumnDescription = "是否上架")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean marketable { get; set; }
/// <summary>
/// 重量(千克)
/// </summary>
[Display(Name = "重量(千克)")]
[SugarColumn(ColumnDescription = "重量(千克)")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal weight { get; set; }
/// <summary>
/// 库存
/// </summary>
[Display(Name = "库存")]
[SugarColumn(ColumnDescription = "库存")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 stock { get; set; }
/// <summary>
/// 冻结库存
/// </summary>
[Display(Name = "冻结库存")]
[SugarColumn(ColumnDescription = "冻结库存")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 freezeStock { get; set; }
/// <summary>
/// 规格值
/// </summary>
[Display(Name = "规格值")]
[SugarColumn(ColumnDescription = "规格值", IsNullable = true)]
public System.String spesDesc { get; set; }
/// <summary>
/// 是否默认货品
/// </summary>
[Display(Name = "是否默认货品")]
[SugarColumn(ColumnDescription = "是否默认货品")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDefalut { get; set; }
/// <summary>
/// 规格图片
/// </summary>
[Display(Name = "规格图片")]
[SugarColumn(ColumnDescription = "规格图片", IsNullable = true)]
public System.String images { get; set; }
/// <summary>
/// 是否删除
/// </summary>
[Display(Name = "是否删除")]
[SugarColumn(ColumnDescription = "是否删除")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDel { get; set; }
}
}

View File

@@ -0,0 +1,85 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 货品三级佣金表
/// </summary>
[SugarTable("CoreCmsProductsDistribution",TableDescription = "货品三级佣金表")]
public partial class CoreCmsProductsDistribution
{
/// <summary>
/// 货品三级佣金表
/// </summary>
public CoreCmsProductsDistribution()
{
}
/// <summary>
/// 序号
/// </summary>
[Display(Name = "序号")]
[SugarColumn(ColumnDescription = "序号", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 货品序列
/// </summary>
[Display(Name = "货品序列")]
[SugarColumn(ColumnDescription = "货品序列")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 productsId { get; set; }
/// <summary>
/// 货品货号
/// </summary>
[Display(Name = "货品货号")]
[SugarColumn(ColumnDescription = "货品货号")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String productsSN { get; set; }
/// <summary>
/// 一级佣金
/// </summary>
[Display(Name = "一级佣金")]
[SugarColumn(ColumnDescription = "一级佣金")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal levelOne { get; set; }
/// <summary>
/// 二级佣金
/// </summary>
[Display(Name = "二级佣金")]
[SugarColumn(ColumnDescription = "二级佣金")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal levelTwo { get; set; }
/// <summary>
/// 三级佣金
/// </summary>
[Display(Name = "三级佣金")]
[SugarColumn(ColumnDescription = "三级佣金")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal levelThree { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,145 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* 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;
}
}