mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:13:26 +08:00
添加项目文件。
This commit is contained in:
78
CoreCms.Net.Model/Entities/Advert/CoreCmsAdvertPosition.cs
Normal file
78
CoreCms.Net.Model/Entities/Advert/CoreCmsAdvertPosition.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsAdvertPosition",TableDescription = "广告位置表")]
|
||||
public partial class CoreCmsAdvertPosition
|
||||
{
|
||||
/// <summary>
|
||||
/// 广告位置表
|
||||
/// </summary>
|
||||
public CoreCmsAdvertPosition()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(120, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 位置编码
|
||||
/// </summary>
|
||||
[Display(Name = "位置编码")]
|
||||
[SugarColumn(ColumnDescription = "位置编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { 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; }
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[Display(Name = "是否启用")]
|
||||
[SugarColumn(ColumnDescription = "是否启用")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isEnable { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
}
|
||||
}
|
||||
107
CoreCms.Net.Model/Entities/Advert/CoreCmsAdvertisement.cs
Normal file
107
CoreCms.Net.Model/Entities/Advert/CoreCmsAdvertisement.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsAdvertisement", TableDescription = "广告表")]
|
||||
public partial class CoreCmsAdvertisement
|
||||
{
|
||||
/// <summary>
|
||||
/// 广告表
|
||||
/// </summary>
|
||||
public CoreCmsAdvertisement()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 positionId { get; set; }
|
||||
/// <summary>
|
||||
/// 广告名称
|
||||
/// </summary>
|
||||
[Display(Name = "广告名称")]
|
||||
[SugarColumn(ColumnDescription = "广告名称")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 广告图片id
|
||||
/// </summary>
|
||||
[Display(Name = "广告图片id")]
|
||||
[SugarColumn(ColumnDescription = "广告图片id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String imageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 属性值
|
||||
/// </summary>
|
||||
[Display(Name = "属性值")]
|
||||
[SugarColumn(ColumnDescription = "属性值")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String val { get; set; }
|
||||
/// <summary>
|
||||
/// 属性值说明
|
||||
/// </summary>
|
||||
[Display(Name = "属性值说明")]
|
||||
[SugarColumn(ColumnDescription = "属性值说明", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String valDes { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { 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; }
|
||||
/// <summary>
|
||||
/// 广告位置编码
|
||||
/// </summary>
|
||||
[Display(Name = "广告位置编码")]
|
||||
[SugarColumn(ColumnDescription = "广告位置编码", IsNullable = true)]
|
||||
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
[Display(Name = "类型")]
|
||||
[SugarColumn(ColumnDescription = "类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
}
|
||||
}
|
||||
139
CoreCms.Net.Model/Entities/Agent/CoreCmsAgent.cs
Normal file
139
CoreCms.Net.Model/Entities/Agent/CoreCmsAgent.cs
Normal file
@@ -0,0 +1,139 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsAgent",TableDescription = "代理商表")]
|
||||
public partial class CoreCmsAgent
|
||||
{
|
||||
/// <summary>
|
||||
/// 代理商表
|
||||
/// </summary>
|
||||
public CoreCmsAgent()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 代理商名称
|
||||
/// </summary>
|
||||
[Display(Name = "代理商名称")]
|
||||
[SugarColumn(ColumnDescription = "代理商名称", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 代理商等级
|
||||
/// </summary>
|
||||
[Display(Name = "代理商等级")]
|
||||
[SugarColumn(ColumnDescription = "代理商等级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 gradeId { get; set; }
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
/// </summary>
|
||||
[Display(Name = "手机号")]
|
||||
[SugarColumn(ColumnDescription = "手机号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 微信号
|
||||
/// </summary>
|
||||
[Display(Name = "微信号")]
|
||||
[SugarColumn(ColumnDescription = "微信号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String weixin { get; set; }
|
||||
/// <summary>
|
||||
/// qq号
|
||||
/// </summary>
|
||||
[Display(Name = "qq号")]
|
||||
[SugarColumn(ColumnDescription = "qq号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String qq { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺名称
|
||||
/// </summary>
|
||||
[Display(Name = "店铺名称")]
|
||||
[SugarColumn(ColumnDescription = "店铺名称", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeName { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺Logo
|
||||
/// </summary>
|
||||
[Display(Name = "店铺Logo")]
|
||||
[SugarColumn(ColumnDescription = "店铺Logo", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeLogo { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺Banner
|
||||
/// </summary>
|
||||
[Display(Name = "店铺Banner")]
|
||||
[SugarColumn(ColumnDescription = "店铺Banner", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeBanner { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺简介
|
||||
/// </summary>
|
||||
[Display(Name = "店铺简介")]
|
||||
[SugarColumn(ColumnDescription = "店铺简介", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeDesc { get; set; }
|
||||
/// <summary>
|
||||
/// 审核状态
|
||||
/// </summary>
|
||||
[Display(Name = "审核状态")]
|
||||
[SugarColumn(ColumnDescription = "审核状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 verifyStatus { 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; }
|
||||
/// <summary>
|
||||
/// 审核时间
|
||||
/// </summary>
|
||||
[Display(Name = "审核时间")]
|
||||
[SugarColumn(ColumnDescription = "审核时间", IsNullable = true)]
|
||||
public System.DateTime? verifyTime { get; set; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDelete { get; set; }
|
||||
}
|
||||
}
|
||||
76
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentGoods.cs
Normal file
76
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentGoods.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsAgentGoods",TableDescription = "代理商品池")]
|
||||
public partial class CoreCmsAgentGoods
|
||||
{
|
||||
/// <summary>
|
||||
/// 代理商品池
|
||||
/// </summary>
|
||||
public CoreCmsAgentGoods()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 goodId { get; set; }
|
||||
/// <summary>
|
||||
/// 商品编辑时间
|
||||
/// </summary>
|
||||
[Display(Name = "商品编辑时间")]
|
||||
[SugarColumn(ColumnDescription = "商品编辑时间", IsNullable = true)]
|
||||
public System.DateTime? goodRefreshTime { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sortId { get; set; }
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[Display(Name = "是否启用")]
|
||||
[SugarColumn(ColumnDescription = "是否启用")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isEnable { 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; }
|
||||
}
|
||||
}
|
||||
47
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentGoodsPartial.cs
Normal file
47
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentGoodsPartial.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
/***********************************************************************
|
||||
* 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.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 代理商品池
|
||||
/// </summary>
|
||||
public partial class CoreCmsAgentGoods
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
[SqlSugar.SugarColumn(IsIgnore = true)]
|
||||
public string goodName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品缩略图
|
||||
/// </summary>
|
||||
[Display(Name = "商品缩略图")]
|
||||
[SqlSugar.SugarColumn(IsIgnore = true)]
|
||||
public string goodImage { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品最后更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "商品最后更新时间")]
|
||||
[SqlSugar.SugarColumn(IsIgnore = true)]
|
||||
public DateTime? goodUpdateTime { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
85
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentGrade.cs
Normal file
85
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentGrade.cs
Normal 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("CoreCmsAgentGrade",TableDescription = "代理商等级设置表")]
|
||||
public partial class CoreCmsAgentGrade
|
||||
{
|
||||
/// <summary>
|
||||
/// 代理商等级设置表
|
||||
/// </summary>
|
||||
public CoreCmsAgentGrade()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 = "是否默认等级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDefault { get; set; }
|
||||
/// <summary>
|
||||
/// 是否自动升级
|
||||
/// </summary>
|
||||
[Display(Name = "是否自动升级")]
|
||||
[SugarColumn(ColumnDescription = "是否自动升级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isAutoUpGrade { get; set; }
|
||||
/// <summary>
|
||||
/// 价格加成方式
|
||||
/// </summary>
|
||||
[Display(Name = "价格加成方式")]
|
||||
[SugarColumn(ColumnDescription = "价格加成方式")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 defaultSalesPriceType { get; set; }
|
||||
/// <summary>
|
||||
/// 价格加成值
|
||||
/// </summary>
|
||||
[Display(Name = "价格加成值")]
|
||||
[SugarColumn(ColumnDescription = "价格加成值")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 defaultSalesPriceNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 等级排序
|
||||
/// </summary>
|
||||
[Display(Name = "等级排序")]
|
||||
[SugarColumn(ColumnDescription = "等级排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sortId { get; set; }
|
||||
/// <summary>
|
||||
/// 等级说明
|
||||
/// </summary>
|
||||
[Display(Name = "等级说明")]
|
||||
[SugarColumn(ColumnDescription = "等级说明", IsNullable = true)]
|
||||
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String description { get; set; }
|
||||
}
|
||||
}
|
||||
91
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentOrder.cs
Normal file
91
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentOrder.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsAgentOrder",TableDescription = "代理商订单记录表")]
|
||||
public partial class CoreCmsAgentOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 代理商订单记录表
|
||||
/// </summary>
|
||||
public CoreCmsAgentOrder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 下单用户id
|
||||
/// </summary>
|
||||
[Display(Name = "下单用户id")]
|
||||
[SugarColumn(ColumnDescription = "下单用户id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 buyUserId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
[Display(Name = "订单编号")]
|
||||
[SugarColumn(ColumnDescription = "订单编号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 结算金额
|
||||
/// </summary>
|
||||
[Display(Name = "结算金额")]
|
||||
[SugarColumn(ColumnDescription = "结算金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal amount { get; set; }
|
||||
/// <summary>
|
||||
/// 是否结算
|
||||
/// </summary>
|
||||
[Display(Name = "是否结算")]
|
||||
[SugarColumn(ColumnDescription = "是否结算")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 isSettlement { 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; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDelete { get; set; }
|
||||
}
|
||||
}
|
||||
37
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentOrderPartial.cs
Normal file
37
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentOrderPartial.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商订单记录表
|
||||
/// </summary>
|
||||
public partial class CoreCmsAgentOrder
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 购买人昵称
|
||||
/// </summary>
|
||||
[Display(Name = "购买人昵称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String buyUserNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分销商
|
||||
/// </summary>
|
||||
[Display(Name = "分销商")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String distributorName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
131
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentPartial.cs
Normal file
131
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentPartial.cs
Normal file
@@ -0,0 +1,131 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 代理商表
|
||||
/// </summary>
|
||||
public partial class CoreCmsAgent
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 总金额
|
||||
/// </summary>
|
||||
[Display(Name = "总金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal TotalSettlementAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 已结算金额
|
||||
/// </summary>
|
||||
[Display(Name = "已结算金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal SettlementAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 冻结金额
|
||||
/// </summary>
|
||||
[Display(Name = "冻结金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal FreezeAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 本月订单数
|
||||
/// </summary>
|
||||
[Display(Name = "本月订单数")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int CurrentMonthOrder { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日收益
|
||||
/// </summary>
|
||||
[Display(Name = "今日收益")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal TodayFreezeAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日订单
|
||||
/// </summary>
|
||||
[Display(Name = "今日订单")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TodayOrder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日会员
|
||||
/// </summary>
|
||||
[Display(Name = "今日会员")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TodayUser { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
///上架商品数量
|
||||
/// </summary>
|
||||
[Display(Name = "上架商品数量")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TotalGoods { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
///所属等级名称
|
||||
/// </summary>
|
||||
[Display(Name = "所属等级名称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string GradeName { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
///是否需要申请
|
||||
/// </summary>
|
||||
[Display(Name = "是否需要申请")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool NeedApply { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
///条件说明
|
||||
/// </summary>
|
||||
[Display(Name = "条件说明")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string ConditionMsg { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
///升级条件状态
|
||||
/// </summary>
|
||||
[Display(Name = "升级条件状态")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool ConditionStatus { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
///升级条件进度
|
||||
/// </summary>
|
||||
[Display(Name = "升级条件进度")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int ConditionProgress { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///店铺查询交互数据
|
||||
/// </summary>
|
||||
[Display(Name = "店铺查询交互数据")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string Store { get; set; } = "";
|
||||
|
||||
}
|
||||
}
|
||||
105
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentProducts.cs
Normal file
105
CoreCms.Net.Model/Entities/Agent/CoreCmsAgentProducts.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsAgentProducts",TableDescription = "代理货品池")]
|
||||
public partial class CoreCmsAgentProducts
|
||||
{
|
||||
/// <summary>
|
||||
/// 代理货品池
|
||||
/// </summary>
|
||||
public CoreCmsAgentProducts()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 agentGoodsId { get; set; }
|
||||
/// <summary>
|
||||
/// 商品序列
|
||||
/// </summary>
|
||||
[Display(Name = "商品序列")]
|
||||
[SugarColumn(ColumnDescription = "商品序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 goodId { get; set; }
|
||||
/// <summary>
|
||||
/// 货品序列
|
||||
/// </summary>
|
||||
[Display(Name = "货品序列")]
|
||||
[SugarColumn(ColumnDescription = "货品序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 productId { get; set; }
|
||||
/// <summary>
|
||||
/// 货品成本价格
|
||||
/// </summary>
|
||||
[Display(Name = "货品成本价格")]
|
||||
[SugarColumn(ColumnDescription = "货品成本价格")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal productCostPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 货品销售价格
|
||||
/// </summary>
|
||||
[Display(Name = "货品销售价格")]
|
||||
[SugarColumn(ColumnDescription = "货品销售价格")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal productPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 代理商等级
|
||||
/// </summary>
|
||||
[Display(Name = "代理商等级")]
|
||||
[SugarColumn(ColumnDescription = "代理商等级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 agentGradeId { get; set; }
|
||||
/// <summary>
|
||||
/// 代理价格
|
||||
/// </summary>
|
||||
[Display(Name = "代理价格")]
|
||||
[SugarColumn(ColumnDescription = "代理价格")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal agentGradePrice { 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; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDel { get; set; }
|
||||
}
|
||||
}
|
||||
101
CoreCms.Net.Model/Entities/Api/CoreCmsApiAccessToken.cs
Normal file
101
CoreCms.Net.Model/Entities/Api/CoreCmsApiAccessToken.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsApiAccessToken",TableDescription = "第三方授权记录表")]
|
||||
public partial class CoreCmsApiAccessToken
|
||||
{
|
||||
/// <summary>
|
||||
/// 第三方授权记录表
|
||||
/// </summary>
|
||||
public CoreCmsApiAccessToken()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 第三方应用编码
|
||||
/// </summary>
|
||||
[Display(Name = "第三方应用编码")]
|
||||
[SugarColumn(ColumnDescription = "第三方应用编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 易联云终端号
|
||||
/// </summary>
|
||||
[Display(Name = "易联云终端号")]
|
||||
[SugarColumn(ColumnDescription = "易联云终端号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String machineCode { get; set; }
|
||||
/// <summary>
|
||||
/// 访问令牌,API调用时需要,令牌可以重复使用无失效时间,请开发者全局保存
|
||||
/// </summary>
|
||||
[Display(Name = "访问令牌,API调用时需要,令牌可以重复使用无失效时间,请开发者全局保存")]
|
||||
[SugarColumn(ColumnDescription = "访问令牌,API调用时需要,令牌可以重复使用无失效时间,请开发者全局保存")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String accessToken { get; set; }
|
||||
/// <summary>
|
||||
/// 更新access_token所需,有效时间35天
|
||||
/// </summary>
|
||||
[Display(Name = "更新access_token所需,有效时间35天")]
|
||||
[SugarColumn(ColumnDescription = "更新access_token所需,有效时间35天", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String refreshToken { get; set; }
|
||||
/// <summary>
|
||||
/// 令牌的有效时间,单位秒 (30天),注:该模式下可忽略此参数
|
||||
/// </summary>
|
||||
[Display(Name = "令牌的有效时间,单位秒 (30天),注:该模式下可忽略此参数")]
|
||||
[SugarColumn(ColumnDescription = "令牌的有效时间,单位秒 (30天),注:该模式下可忽略此参数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 expiresIn { get; set; }
|
||||
/// <summary>
|
||||
/// 有效期截止时间
|
||||
/// </summary>
|
||||
[Display(Name = "有效期截止时间")]
|
||||
[SugarColumn(ColumnDescription = "有效期截止时间", IsNullable = true)]
|
||||
public System.DateTime? expiressEndTime { get; set; }
|
||||
/// <summary>
|
||||
/// 其他参数
|
||||
/// </summary>
|
||||
[Display(Name = "其他参数")]
|
||||
[SugarColumn(ColumnDescription = "其他参数", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
}
|
||||
}
|
||||
111
CoreCms.Net.Model/Entities/Article/CoreCmsArticle.cs
Normal file
111
CoreCms.Net.Model/Entities/Article/CoreCmsArticle.cs
Normal file
@@ -0,0 +1,111 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsArticle",TableDescription = "文章表")]
|
||||
public partial class CoreCmsArticle
|
||||
{
|
||||
/// <summary>
|
||||
/// 文章表
|
||||
/// </summary>
|
||||
public CoreCmsArticle()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String title { get; set; }
|
||||
/// <summary>
|
||||
/// 简介
|
||||
/// </summary>
|
||||
[Display(Name = "简介")]
|
||||
[SugarColumn(ColumnDescription = "简介", IsNullable = true)]
|
||||
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String brief { get; set; }
|
||||
/// <summary>
|
||||
/// 封面图
|
||||
/// </summary>
|
||||
[Display(Name = "封面图")]
|
||||
[SugarColumn(ColumnDescription = "封面图", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String coverImage { get; set; }
|
||||
/// <summary>
|
||||
/// 文章内容
|
||||
/// </summary>
|
||||
[Display(Name = "文章内容")]
|
||||
[SugarColumn(ColumnDescription = "文章内容")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.String contentBody { get; set; }
|
||||
/// <summary>
|
||||
/// 分类id
|
||||
/// </summary>
|
||||
[Display(Name = "分类id")]
|
||||
[SugarColumn(ColumnDescription = "分类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>
|
||||
/// 是否发布
|
||||
/// </summary>
|
||||
[Display(Name = "是否发布")]
|
||||
[SugarColumn(ColumnDescription = "是否发布")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isPub { get; set; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除", IsNullable = true)]
|
||||
public System.Boolean? isDel { get; set; }
|
||||
/// <summary>
|
||||
/// 访问量
|
||||
/// </summary>
|
||||
[Display(Name = "访问量")]
|
||||
[SugarColumn(ColumnDescription = "访问量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 pv { 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; }
|
||||
}
|
||||
}
|
||||
46
CoreCms.Net.Model/Entities/Article/CoreCmsArticlePartial.cs
Normal file
46
CoreCms.Net.Model/Entities/Article/CoreCmsArticlePartial.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
/***********************************************************************
|
||||
* 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;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 文章表
|
||||
/// </summary>
|
||||
public partial class CoreCmsArticle
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 文章分类
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public CoreCmsArticleType articleType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 上一篇
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public CoreCmsArticle upArticle { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 下一篇
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public CoreCmsArticle downArticle { get; set; }
|
||||
}
|
||||
}
|
||||
58
CoreCms.Net.Model/Entities/Article/CoreCmsArticleType.cs
Normal file
58
CoreCms.Net.Model/Entities/Article/CoreCmsArticleType.cs
Normal 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("CoreCmsArticleType",TableDescription = "文章分类表")]
|
||||
public partial class CoreCmsArticleType
|
||||
{
|
||||
/// <summary>
|
||||
/// 文章分类表
|
||||
/// </summary>
|
||||
public CoreCmsArticleType()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { 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}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
}
|
||||
}
|
||||
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersales.cs
Normal file
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersales.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillAftersales",TableDescription = "退货单表")]
|
||||
public partial class CoreCmsBillAftersales
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单表
|
||||
/// </summary>
|
||||
public CoreCmsBillAftersales()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 售后单id
|
||||
/// </summary>
|
||||
[Display(Name = "售后单id")]
|
||||
[SugarColumn(ColumnDescription = "售后单id", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单ID
|
||||
/// </summary>
|
||||
[Display(Name = "订单ID")]
|
||||
[SugarColumn(ColumnDescription = "订单ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { 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}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 退款金额
|
||||
/// </summary>
|
||||
[Display(Name = "退款金额")]
|
||||
[SugarColumn(ColumnDescription = "退款金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal refundAmount { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 退款原因
|
||||
/// </summary>
|
||||
[Display(Name = "退款原因")]
|
||||
[SugarColumn(ColumnDescription = "退款原因")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String reason { get; set; }
|
||||
/// <summary>
|
||||
/// 卖家备注,如果审核失败了,会显示到前端
|
||||
/// </summary>
|
||||
[Display(Name = "卖家备注,如果审核失败了,会显示到前端")]
|
||||
[SugarColumn(ColumnDescription = "卖家备注,如果审核失败了,会显示到前端", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mark { 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillAftersalesImages",TableDescription = "商品图片关联表")]
|
||||
public partial class CoreCmsBillAftersalesImages
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品图片关联表
|
||||
/// </summary>
|
||||
public CoreCmsBillAftersalesImages()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 售后单id
|
||||
/// </summary>
|
||||
[Display(Name = "售后单id")]
|
||||
[SugarColumn(ColumnDescription = "售后单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 图片地址
|
||||
/// </summary>
|
||||
[Display(Name = "图片地址")]
|
||||
[SugarColumn(ColumnDescription = "图片地址")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String imageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sortId { get; set; }
|
||||
}
|
||||
}
|
||||
120
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersalesItem.cs
Normal file
120
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersalesItem.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillAftersalesItem",TableDescription = "售后单明细表")]
|
||||
public partial class CoreCmsBillAftersalesItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 售后单明细表
|
||||
/// </summary>
|
||||
public CoreCmsBillAftersalesItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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}")]
|
||||
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单明细ID 关联order_items.id
|
||||
/// </summary>
|
||||
[Display(Name = "订单明细ID 关联order_items.id")]
|
||||
[SugarColumn(ColumnDescription = "订单明细ID 关联order_items.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 orderItemsId { 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 关联products.id
|
||||
/// </summary>
|
||||
[Display(Name = "货品ID 关联products.id")]
|
||||
[SugarColumn(ColumnDescription = "货品ID 关联products.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 productId { 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 = "商品编码", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String bn { get; set; }
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
[SugarColumn(ColumnDescription = "商品名称", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[Display(Name = "图片")]
|
||||
[SugarColumn(ColumnDescription = "图片")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String imageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[Display(Name = "数量")]
|
||||
[SugarColumn(ColumnDescription = "数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 nums { get; set; }
|
||||
/// <summary>
|
||||
/// 货品明细序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "货品明细序列号存储")]
|
||||
[SugarColumn(ColumnDescription = "货品明细序列号存储", IsNullable = true)]
|
||||
public System.String addon { 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
/***********************************************************************
|
||||
* 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;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillAftersales
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品子集
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillAftersalesItem> items { get; set; } = new List<CoreCmsBillAftersalesItem>();
|
||||
|
||||
/// <summary>
|
||||
/// 图片子集
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillAftersalesImages> images { get; set; } = new List<CoreCmsBillAftersalesImages>();
|
||||
/// <summary>
|
||||
/// 退款单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsBillRefund billRefund { get; set; }
|
||||
/// <summary>
|
||||
/// 退货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsBillReship billReship { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public string userNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联订单数据
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsOrder order { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
163
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDelivery.cs
Normal file
163
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDelivery.cs
Normal file
@@ -0,0 +1,163 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/7/12 0:34:54
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillDelivery
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单序列
|
||||
/// </summary>
|
||||
[Display(Name = "发货单序列")]
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string deliveryId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
[Display(Name = "订单号")]
|
||||
[StringLength(500, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string orderId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 物流公司编码
|
||||
/// </summary>
|
||||
[Display(Name = "物流公司编码")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string logiCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 物流单号
|
||||
/// </summary>
|
||||
[Display(Name = "物流单号")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string logiNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 快递物流信息
|
||||
/// </summary>
|
||||
[Display(Name = "快递物流信息")]
|
||||
public string logiInformation { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 快递是否不更新
|
||||
/// </summary>
|
||||
[Display(Name = "快递是否不更新")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public bool logiStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货地区ID
|
||||
/// </summary>
|
||||
[Display(Name = "收货地区ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public int shipAreaId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货详细地址
|
||||
/// </summary>
|
||||
[Display(Name = "收货详细地址")]
|
||||
[StringLength(200, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string shipAddress { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货人姓名
|
||||
/// </summary>
|
||||
[Display(Name = "收货人姓名")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string shipName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货电话
|
||||
/// </summary>
|
||||
[Display(Name = "收货电话")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string shipMobile { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public int status { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "备注")]
|
||||
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string memo { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 确认收货时间
|
||||
/// </summary>
|
||||
[Display(Name = "确认收货时间")]
|
||||
public DateTime? confirmTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public DateTime createTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
public DateTime? updateTime { get; set; }
|
||||
}
|
||||
}
|
||||
164
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDeliveryItem.cs
Normal file
164
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDeliveryItem.cs
Normal file
@@ -0,0 +1,164 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/7/12 0:52:34
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单详情表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillDeliveryItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public CoreCmsBillDeliveryItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
[Display(Name = "订单编号")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String orderId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发货单号 关联bill_delivery.id
|
||||
/// </summary>
|
||||
[Display(Name = "发货单号 关联bill_delivery.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String deliveryId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品ID 关联goods.id
|
||||
/// </summary>
|
||||
[Display(Name = "商品ID 关联goods.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 goodsId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 货品ID 关联products.id
|
||||
/// </summary>
|
||||
[Display(Name = "货品ID 关联products.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 productId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 货品编码
|
||||
/// </summary>
|
||||
[Display(Name = "货品编码")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:30,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String sn { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品编码
|
||||
/// </summary>
|
||||
[Display(Name = "商品编码")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:30,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String bn { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String name { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发货数量
|
||||
/// </summary>
|
||||
[Display(Name = "发货数量")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 nums { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 重量
|
||||
/// </summary>
|
||||
[Display(Name = "重量")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal weight { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 货品明细序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "货品明细序列号存储")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.String addon { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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 SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillDelivery
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 物流名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String logiName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 所属区域三级全名
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String shipAreaIdName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
106
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLading.cs
Normal file
106
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLading.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillLading",TableDescription = "提货单表")]
|
||||
public partial class CoreCmsBillLading
|
||||
{
|
||||
/// <summary>
|
||||
/// 提货单表
|
||||
/// </summary>
|
||||
public CoreCmsBillLading()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 提货单号
|
||||
/// </summary>
|
||||
[Display(Name = "提货单号")]
|
||||
[SugarColumn(ColumnDescription = "提货单号", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String id { get; set; }
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
[Display(Name = "订单号")]
|
||||
[SugarColumn(ColumnDescription = "订单号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 提货门店ID
|
||||
/// </summary>
|
||||
[Display(Name = "提货门店ID")]
|
||||
[SugarColumn(ColumnDescription = "提货门店ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 storeId { get; set; }
|
||||
/// <summary>
|
||||
/// 提货人姓名
|
||||
/// </summary>
|
||||
[Display(Name = "提货人姓名")]
|
||||
[SugarColumn(ColumnDescription = "提货人姓名", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 提货手机号
|
||||
/// </summary>
|
||||
[Display(Name = "提货手机号")]
|
||||
[SugarColumn(ColumnDescription = "提货手机号", IsNullable = true)]
|
||||
[StringLength(15, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 处理店员ID
|
||||
/// </summary>
|
||||
[Display(Name = "处理店员ID")]
|
||||
[SugarColumn(ColumnDescription = "处理店员ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 clerkId { get; set; }
|
||||
/// <summary>
|
||||
/// 提货时间
|
||||
/// </summary>
|
||||
[Display(Name = "提货时间")]
|
||||
[SugarColumn(ColumnDescription = "提货时间", IsNullable = true)]
|
||||
public System.DateTime? pickUpTime { get; set; }
|
||||
/// <summary>
|
||||
/// 是否提货
|
||||
/// </summary>
|
||||
[Display(Name = "是否提货")]
|
||||
[SugarColumn(ColumnDescription = "是否提货")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean status { 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; }
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
[Display(Name = "删除时间")]
|
||||
[SugarColumn(ColumnDescription = "删除时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDel { get; set; }
|
||||
}
|
||||
}
|
||||
52
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLadingPartial.cs
Normal file
52
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLadingPartial.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
/***********************************************************************
|
||||
* 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;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 提货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillLading
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 关联门店名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String storeName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String statusName { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 店员昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String clerkIdName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 关联订单项目
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsOrderItem> orderItems { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
129
CoreCms.Net.Model/Entities/Bill/CoreCmsBillPayments.cs
Normal file
129
CoreCms.Net.Model/Entities/Bill/CoreCmsBillPayments.cs
Normal file
@@ -0,0 +1,129 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/7/10 23:15:12
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillPayments
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public CoreCmsBillPayments()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 支付单号
|
||||
/// </summary>
|
||||
[Display(Name = "支付单号")]
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 20, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String paymentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源编号
|
||||
/// </summary>
|
||||
[Display(Name = "资源编号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 20, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String sourceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付金额
|
||||
/// </summary>
|
||||
[Display(Name = "支付金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Decimal money { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单据类型
|
||||
/// </summary>
|
||||
[Display(Name = "单据类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付状态
|
||||
/// </summary>
|
||||
[Display(Name = "支付状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付类型编码 关联payments.code
|
||||
/// </summary>
|
||||
[Display(Name = "支付类型编码 关联payments.code")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String paymentCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付单生成IP
|
||||
/// </summary>
|
||||
[Display(Name = "支付单生成IP")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String ip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付的时候需要的参数,存的是json格式的一维数组
|
||||
/// </summary>
|
||||
[Display(Name = "支付的时候需要的参数,存的是json格式的一维数组")]
|
||||
[StringLength(maximumLength: 200, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String parameters { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付回调后的状态描述
|
||||
/// </summary>
|
||||
[Display(Name = "支付回调后的状态描述")]
|
||||
[StringLength(maximumLength: 255, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String payedMsg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第三方平台交易流水号
|
||||
/// </summary>
|
||||
[Display(Name = "第三方平台交易流水号")]
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String tradeNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.DateTime createTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
|
||||
public System.DateTime? updateTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
/***********************************************************************
|
||||
* 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;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillPayments
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 支付代码描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String paymentCodeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付标题
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String payTitle { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String userNickName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
114
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefund.cs
Normal file
114
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefund.cs
Normal file
@@ -0,0 +1,114 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillRefund",TableDescription = "退款单表")]
|
||||
public partial class CoreCmsBillRefund
|
||||
{
|
||||
/// <summary>
|
||||
/// 退款单表
|
||||
/// </summary>
|
||||
public CoreCmsBillRefund()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 退款单ID
|
||||
/// </summary>
|
||||
[Display(Name = "退款单ID")]
|
||||
[SugarColumn(ColumnDescription = "退款单ID", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String refundId { get; set; }
|
||||
/// <summary>
|
||||
/// 售后单id
|
||||
/// </summary>
|
||||
[Display(Name = "售后单id")]
|
||||
[SugarColumn(ColumnDescription = "售后单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 退款金额
|
||||
/// </summary>
|
||||
[Display(Name = "退款金额")]
|
||||
[SugarColumn(ColumnDescription = "退款金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal money { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
[SugarColumn(ColumnDescription = "用户ID 关联user.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 资源id,根据type不同而关联不同的表
|
||||
/// </summary>
|
||||
[Display(Name = "资源id,根据type不同而关联不同的表")]
|
||||
[SugarColumn(ColumnDescription = "资源id,根据type不同而关联不同的表")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String sourceId { get; set; }
|
||||
/// <summary>
|
||||
/// 资源类型1=订单,2充值单
|
||||
/// </summary>
|
||||
[Display(Name = "资源类型1=订单,2充值单")]
|
||||
[SugarColumn(ColumnDescription = "资源类型1=订单,2充值单")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 退款支付类型编码 默认原路返回 关联支付单表支付编码
|
||||
/// </summary>
|
||||
[Display(Name = "退款支付类型编码 默认原路返回 关联支付单表支付编码")]
|
||||
[SugarColumn(ColumnDescription = "退款支付类型编码 默认原路返回 关联支付单表支付编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String paymentCode { get; set; }
|
||||
/// <summary>
|
||||
/// 第三方平台交易流水号
|
||||
/// </summary>
|
||||
[Display(Name = "第三方平台交易流水号")]
|
||||
[SugarColumn(ColumnDescription = "第三方平台交易流水号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String tradeNo { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 退款失败原因
|
||||
/// </summary>
|
||||
[Display(Name = "退款失败原因")]
|
||||
[SugarColumn(ColumnDescription = "退款失败原因", IsNullable = true)]
|
||||
public System.String memo { 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; }
|
||||
}
|
||||
}
|
||||
39
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefundPartial.cs
Normal file
39
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefundPartial.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 退款单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillRefund
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付代码描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string paymentCodeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReship.cs
Normal file
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReship.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillReship",TableDescription = "退货单表")]
|
||||
public partial class CoreCmsBillReship
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单表
|
||||
/// </summary>
|
||||
public CoreCmsBillReship()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 退货单号
|
||||
/// </summary>
|
||||
[Display(Name = "退货单号")]
|
||||
[SugarColumn(ColumnDescription = "退货单号", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String reshipId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单序列
|
||||
/// </summary>
|
||||
[Display(Name = "订单序列")]
|
||||
[SugarColumn(ColumnDescription = "订单序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 售后单序列
|
||||
/// </summary>
|
||||
[Display(Name = "售后单序列")]
|
||||
[SugarColumn(ColumnDescription = "售后单序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
[SugarColumn(ColumnDescription = "用户ID 关联user.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 物流公司编码
|
||||
/// </summary>
|
||||
[Display(Name = "物流公司编码")]
|
||||
[SugarColumn(ColumnDescription = "物流公司编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String logiCode { get; set; }
|
||||
/// <summary>
|
||||
/// 物流单号
|
||||
/// </summary>
|
||||
[Display(Name = "物流单号")]
|
||||
[SugarColumn(ColumnDescription = "物流单号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String logiNo { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "备注")]
|
||||
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String memo { 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; }
|
||||
}
|
||||
}
|
||||
119
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipItem.cs
Normal file
119
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipItem.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillReshipItem",TableDescription = "退货单明细表")]
|
||||
public partial class CoreCmsBillReshipItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单明细表
|
||||
/// </summary>
|
||||
public CoreCmsBillReshipItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String reshipId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单明细ID 关联order_items.id
|
||||
/// </summary>
|
||||
[Display(Name = "订单明细ID 关联order_items.id")]
|
||||
[SugarColumn(ColumnDescription = "订单明细ID 关联order_items.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 orderItemsId { 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 关联products.id
|
||||
/// </summary>
|
||||
[Display(Name = "货品ID 关联products.id")]
|
||||
[SugarColumn(ColumnDescription = "货品ID 关联products.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 productId { 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 = "商品编码", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String bn { get; set; }
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
[SugarColumn(ColumnDescription = "商品名称", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[Display(Name = "图片")]
|
||||
[SugarColumn(ColumnDescription = "图片", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String imageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[Display(Name = "数量")]
|
||||
[SugarColumn(ColumnDescription = "数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 nums { get; set; }
|
||||
/// <summary>
|
||||
/// 货品明细序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "货品明细序列号存储")]
|
||||
[SugarColumn(ColumnDescription = "货品明细序列号存储", IsNullable = true)]
|
||||
public System.String addon { 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; }
|
||||
}
|
||||
}
|
||||
48
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipPartial.cs
Normal file
48
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipPartial.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsBillReship
|
||||
{
|
||||
/// <summary>
|
||||
/// 物流名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string logiName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 退货明细
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillReshipItem> items { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
74
CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs
Normal file
74
CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs
Normal file
@@ -0,0 +1,74 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsCart",TableDescription = "购物车表")]
|
||||
public partial class CoreCmsCart
|
||||
{
|
||||
/// <summary>
|
||||
/// 购物车表
|
||||
/// </summary>
|
||||
public CoreCmsCart()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 货品序列
|
||||
/// </summary>
|
||||
[Display(Name = "货品序列")]
|
||||
[SugarColumn(ColumnDescription = "货品序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 productId { get; set; }
|
||||
/// <summary>
|
||||
/// 货品数量
|
||||
/// </summary>
|
||||
[Display(Name = "货品数量")]
|
||||
[SugarColumn(ColumnDescription = "货品数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 nums { get; set; }
|
||||
/// <summary>
|
||||
/// 购物车类型
|
||||
/// </summary>
|
||||
[Display(Name = "购物车类型")]
|
||||
[SugarColumn(ColumnDescription = "购物车类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 关联对象序列
|
||||
/// </summary>
|
||||
[Display(Name = "关联对象序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public int objectId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
50
CoreCms.Net.Model/Entities/Com/CoreCmsLabel.cs
Normal file
50
CoreCms.Net.Model/Entities/Com/CoreCmsLabel.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsLabel",TableDescription = "标签表")]
|
||||
public partial class CoreCmsLabel
|
||||
{
|
||||
/// <summary>
|
||||
/// 标签表
|
||||
/// </summary>
|
||||
public CoreCmsLabel()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 标签样式
|
||||
/// </summary>
|
||||
[Display(Name = "标签样式")]
|
||||
[SugarColumn(ColumnDescription = "标签样式", IsNullable = true)]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String style { get; set; }
|
||||
}
|
||||
}
|
||||
139
CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
Normal file
139
CoreCms.Net.Model/Entities/Distribution/CoreCmsDistribution.cs
Normal file
@@ -0,0 +1,139 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistribution",TableDescription = "分销商表")]
|
||||
public partial class CoreCmsDistribution
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商表
|
||||
/// </summary>
|
||||
public CoreCmsDistribution()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 分销商名称
|
||||
/// </summary>
|
||||
[Display(Name = "分销商名称")]
|
||||
[SugarColumn(ColumnDescription = "分销商名称", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 分销等级
|
||||
/// </summary>
|
||||
[Display(Name = "分销等级")]
|
||||
[SugarColumn(ColumnDescription = "分销等级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 gradeId { get; set; }
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
/// </summary>
|
||||
[Display(Name = "手机号")]
|
||||
[SugarColumn(ColumnDescription = "手机号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 微信号
|
||||
/// </summary>
|
||||
[Display(Name = "微信号")]
|
||||
[SugarColumn(ColumnDescription = "微信号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String weixin { get; set; }
|
||||
/// <summary>
|
||||
/// qq号
|
||||
/// </summary>
|
||||
[Display(Name = "qq号")]
|
||||
[SugarColumn(ColumnDescription = "qq号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String qq { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺名称
|
||||
/// </summary>
|
||||
[Display(Name = "店铺名称")]
|
||||
[SugarColumn(ColumnDescription = "店铺名称", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeName { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺Logo
|
||||
/// </summary>
|
||||
[Display(Name = "店铺Logo")]
|
||||
[SugarColumn(ColumnDescription = "店铺Logo", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeLogo { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺Banner
|
||||
/// </summary>
|
||||
[Display(Name = "店铺Banner")]
|
||||
[SugarColumn(ColumnDescription = "店铺Banner", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeBanner { get; set; }
|
||||
/// <summary>
|
||||
/// 店铺简介
|
||||
/// </summary>
|
||||
[Display(Name = "店铺简介")]
|
||||
[SugarColumn(ColumnDescription = "店铺简介", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String storeDesc { get; set; }
|
||||
/// <summary>
|
||||
/// 审核状态
|
||||
/// </summary>
|
||||
[Display(Name = "审核状态")]
|
||||
[SugarColumn(ColumnDescription = "审核状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 verifyStatus { 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; }
|
||||
/// <summary>
|
||||
/// 审核时间
|
||||
/// </summary>
|
||||
[Display(Name = "审核时间")]
|
||||
[SugarColumn(ColumnDescription = "审核时间", IsNullable = true)]
|
||||
public System.DateTime? verifyTime { get; set; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDelete { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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("CoreCmsDistributionCondition",TableDescription = "分销商等级升级条件")]
|
||||
public partial class CoreCmsDistributionCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商等级升级条件
|
||||
/// </summary>
|
||||
public CoreCmsDistributionCondition()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 gradeId { get; set; }
|
||||
/// <summary>
|
||||
/// 升级条件编码
|
||||
/// </summary>
|
||||
[Display(Name = "升级条件编码")]
|
||||
[SugarColumn(ColumnDescription = "升级条件编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 其它参数
|
||||
/// </summary>
|
||||
[Display(Name = "其它参数")]
|
||||
[SugarColumn(ColumnDescription = "其它参数", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String parameters { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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 CoreCmsDistributionCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// Code转码
|
||||
/// </summary>
|
||||
[Display(Name = "Code转码")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistributionGrade",TableDescription = "分销商等级设置表")]
|
||||
public partial class CoreCmsDistributionGrade
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商等级设置表
|
||||
/// </summary>
|
||||
public CoreCmsDistributionGrade()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 = "是否默认等级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDefault { get; set; }
|
||||
/// <summary>
|
||||
/// 是否自动升级
|
||||
/// </summary>
|
||||
[Display(Name = "是否自动升级")]
|
||||
[SugarColumn(ColumnDescription = "是否自动升级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isAutoUpGrade { get; set; }
|
||||
/// <summary>
|
||||
/// 等级排序
|
||||
/// </summary>
|
||||
[Display(Name = "等级排序")]
|
||||
[SugarColumn(ColumnDescription = "等级排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sortId { get; set; }
|
||||
/// <summary>
|
||||
/// 等级说明
|
||||
/// </summary>
|
||||
[Display(Name = "等级说明")]
|
||||
[SugarColumn(ColumnDescription = "等级说明", IsNullable = true)]
|
||||
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String description { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistributionOrder",TableDescription = "分销商订单记录表")]
|
||||
public partial class CoreCmsDistributionOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 分销商订单记录表
|
||||
/// </summary>
|
||||
public CoreCmsDistributionOrder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 下单用户id
|
||||
/// </summary>
|
||||
[Display(Name = "下单用户id")]
|
||||
[SugarColumn(ColumnDescription = "下单用户id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 buyUserId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
[Display(Name = "订单编号")]
|
||||
[SugarColumn(ColumnDescription = "订单编号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 结算金额
|
||||
/// </summary>
|
||||
[Display(Name = "结算金额")]
|
||||
[SugarColumn(ColumnDescription = "结算金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal amount { get; set; }
|
||||
/// <summary>
|
||||
/// 是否结算
|
||||
/// </summary>
|
||||
[Display(Name = "是否结算")]
|
||||
[SugarColumn(ColumnDescription = "是否结算")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 isSettlement { get; set; }
|
||||
/// <summary>
|
||||
/// 层级
|
||||
/// </summary>
|
||||
[Display(Name = "层级")]
|
||||
[SugarColumn(ColumnDescription = "层级")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 level { 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; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDelete { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsDistributionOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 购买人昵称
|
||||
/// </summary>
|
||||
[Display(Name = "购买人昵称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string buyUserNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分销商
|
||||
/// </summary>
|
||||
[Display(Name = "分销商")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string distributorName { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsDistribution
|
||||
{
|
||||
/// <summary>
|
||||
/// 总金额
|
||||
/// </summary>
|
||||
[Display(Name = "总金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal TotalSettlementAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 已结算金额
|
||||
/// </summary>
|
||||
[Display(Name = "已结算金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal SettlementAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 冻结金额
|
||||
/// </summary>
|
||||
[Display(Name = "冻结金额")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal FreezeAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 本月订单数
|
||||
/// </summary>
|
||||
[Display(Name = "本月订单数")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int CurrentMonthOrder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日收益
|
||||
/// </summary>
|
||||
[Display(Name = "今日收益")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal TodayFreezeAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日订单
|
||||
/// </summary>
|
||||
[Display(Name = "今日订单")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TodayOrder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日会员
|
||||
/// </summary>
|
||||
[Display(Name = "今日会员")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TodayUser { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 上架商品数量
|
||||
/// </summary>
|
||||
[Display(Name = "上架商品数量")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int TotalGoods { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 所属等级名称
|
||||
/// </summary>
|
||||
[Display(Name = "所属等级名称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string GradeName { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 是否需要申请
|
||||
/// </summary>
|
||||
[Display(Name = "是否需要申请")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool NeedApply { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 条件说明
|
||||
/// </summary>
|
||||
[Display(Name = "条件说明")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string ConditionMsg { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 升级条件状态
|
||||
/// </summary>
|
||||
[Display(Name = "升级条件状态")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool ConditionStatus { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 升级条件进度
|
||||
/// </summary>
|
||||
[Display(Name = "升级条件进度")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int ConditionProgress { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 店铺查询交互数据
|
||||
/// </summary>
|
||||
[Display(Name = "店铺查询交互数据")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string Store { get; set; } = "";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsDistributionResult",TableDescription = "等级佣金表")]
|
||||
public partial class CoreCmsDistributionResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 等级佣金表
|
||||
/// </summary>
|
||||
public CoreCmsDistributionResult()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 gradeId { get; set; }
|
||||
/// <summary>
|
||||
/// 佣金编码
|
||||
/// </summary>
|
||||
[Display(Name = "佣金编码")]
|
||||
[SugarColumn(ColumnDescription = "佣金编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 佣金设置序列化参数
|
||||
/// </summary>
|
||||
[Display(Name = "佣金设置序列化参数")]
|
||||
[SugarColumn(ColumnDescription = "佣金设置序列化参数", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
}
|
||||
}
|
||||
38
CoreCms.Net.Model/Entities/Expression/ParameterRebinder.cs
Normal file
38
CoreCms.Net.Model/Entities/Expression/ParameterRebinder.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
/***********************************************************************
|
||||
* 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.Linq.Expressions;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities.Expression
|
||||
{
|
||||
public class ParameterRebinder : ExpressionVisitor
|
||||
{
|
||||
private readonly Dictionary<ParameterExpression, ParameterExpression> map;
|
||||
|
||||
public ParameterRebinder(Dictionary<ParameterExpression, ParameterExpression> map)
|
||||
{
|
||||
this.map = map ?? new Dictionary<ParameterExpression, ParameterExpression>();
|
||||
}
|
||||
|
||||
public static System.Linq.Expressions.Expression ReplaceParameters(
|
||||
Dictionary<ParameterExpression, ParameterExpression> map, System.Linq.Expressions.Expression exp)
|
||||
{
|
||||
return new ParameterRebinder(map).Visit(exp);
|
||||
}
|
||||
|
||||
protected override System.Linq.Expressions.Expression VisitParameter(ParameterExpression p)
|
||||
{
|
||||
ParameterExpression replacement;
|
||||
if (map.TryGetValue(p, out replacement)) p = replacement;
|
||||
return base.VisitParameter(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
63
CoreCms.Net.Model/Entities/Expression/PredicateBuilder.cs
Normal file
63
CoreCms.Net.Model/Entities/Expression/PredicateBuilder.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
/***********************************************************************
|
||||
* 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.Linq;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities.Expression
|
||||
{
|
||||
public static class PredicateBuilder
|
||||
{
|
||||
public static Expression<Func<T, bool>> True<T>()
|
||||
{
|
||||
return f => true;
|
||||
}
|
||||
|
||||
public static Expression<Func<T, bool>> False<T>()
|
||||
{
|
||||
return f => false;
|
||||
}
|
||||
|
||||
public static Expression<T> Compose<T>(this Expression<T> first, Expression<T> second,
|
||||
Func<System.Linq.Expressions.Expression, System.Linq.Expressions.Expression,
|
||||
System.Linq.Expressions.Expression> merge)
|
||||
{
|
||||
// build parameter map (from parameters of second to parameters of first)
|
||||
var map = first.Parameters.Select((f, i) => new {f, s = second.Parameters[i]})
|
||||
.ToDictionary(p => p.s, p => p.f);
|
||||
|
||||
// replace parameters in the second lambda expression with parameters from the first
|
||||
var secondBody = ParameterRebinder.ReplaceParameters(map, second.Body);
|
||||
|
||||
// apply composition of lambda expression bodies to parameters from the first expression
|
||||
return System.Linq.Expressions.Expression.Lambda<T>(merge(first.Body, secondBody), first.Parameters);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 扩展啦
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
/// <param name="first"></param>
|
||||
/// <param name="second"></param>
|
||||
/// <returns></returns>
|
||||
public static Expression<Func<T, bool>> And<T>(this Expression<Func<T, bool>> first,
|
||||
Expression<Func<T, bool>> second)
|
||||
{
|
||||
return first.Compose(second, System.Linq.Expressions.Expression.AndAlso);
|
||||
}
|
||||
|
||||
public static Expression<Func<T, bool>> Or<T>(this Expression<Func<T, bool>> first,
|
||||
Expression<Func<T, bool>> second)
|
||||
{
|
||||
return first.Compose(second, System.Linq.Expressions.Expression.OrElse);
|
||||
}
|
||||
}
|
||||
}
|
||||
114
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoice.cs
Normal file
114
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoice.cs
Normal file
@@ -0,0 +1,114 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsInvoice",TableDescription = "发票表")]
|
||||
public partial class CoreCmsInvoice
|
||||
{
|
||||
/// <summary>
|
||||
/// 发票表
|
||||
/// </summary>
|
||||
public CoreCmsInvoice()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 category { get; set; }
|
||||
/// <summary>
|
||||
/// 资源ID
|
||||
/// </summary>
|
||||
[Display(Name = "资源ID")]
|
||||
[SugarColumn(ColumnDescription = "资源ID", IsNullable = true)]
|
||||
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String sourceId { 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}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 发票抬头
|
||||
/// </summary>
|
||||
[Display(Name = "发票抬头")]
|
||||
[SugarColumn(ColumnDescription = "发票抬头")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String title { get; set; }
|
||||
/// <summary>
|
||||
/// 发票税号
|
||||
/// </summary>
|
||||
[Display(Name = "发票税号")]
|
||||
[SugarColumn(ColumnDescription = "发票税号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String taxNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 发票金额
|
||||
/// </summary>
|
||||
[Display(Name = "发票金额")]
|
||||
[SugarColumn(ColumnDescription = "发票金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal amount { get; set; }
|
||||
/// <summary>
|
||||
/// 开票状态
|
||||
/// </summary>
|
||||
[Display(Name = "开票状态")]
|
||||
[SugarColumn(ColumnDescription = "开票状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 开票备注
|
||||
/// </summary>
|
||||
[Display(Name = "开票备注")]
|
||||
[SugarColumn(ColumnDescription = "开票备注", IsNullable = true)]
|
||||
[StringLength(2000, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String remarks { 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 发票表格
|
||||
/// </summary>
|
||||
public partial class CoreCmsInvoice
|
||||
{
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string categoryName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 类型名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string typeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
59
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoiceRecord.cs
Normal file
59
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoiceRecord.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsInvoiceRecord",TableDescription = "发票信息记录")]
|
||||
public partial class CoreCmsInvoiceRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 发票信息记录
|
||||
/// </summary>
|
||||
public CoreCmsInvoiceRecord()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(80, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 发票税号
|
||||
/// </summary>
|
||||
[Display(Name = "发票税号")]
|
||||
[SugarColumn(ColumnDescription = "发票税号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 被使用次数
|
||||
/// </summary>
|
||||
[Display(Name = "被使用次数")]
|
||||
[SugarColumn(ColumnDescription = "被使用次数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 frequency { get; set; }
|
||||
}
|
||||
}
|
||||
84
CoreCms.Net.Model/Entities/Financial/CoreCmsPayments.cs
Normal file
84
CoreCms.Net.Model/Entities/Financial/CoreCmsPayments.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPayments",TableDescription = "支付方式表")]
|
||||
public partial class CoreCmsPayments
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付方式表
|
||||
/// </summary>
|
||||
public CoreCmsPayments()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 是否线上支付
|
||||
/// </summary>
|
||||
[Display(Name = "是否线上支付")]
|
||||
[SugarColumn(ColumnDescription = "是否线上支付")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isOnline { get; set; }
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[Display(Name = "参数")]
|
||||
[SugarColumn(ColumnDescription = "参数", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
/// <summary>
|
||||
/// 方式描述
|
||||
/// </summary>
|
||||
[Display(Name = "方式描述")]
|
||||
[SugarColumn(ColumnDescription = "方式描述", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String memo { get; set; }
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[Display(Name = "是否启用")]
|
||||
[SugarColumn(ColumnDescription = "是否启用")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isEnable { get; set; }
|
||||
}
|
||||
}
|
||||
160
CoreCms.Net.Model/Entities/Form/CoreCmsForm.cs
Normal file
160
CoreCms.Net.Model/Entities/Form/CoreCmsForm.cs
Normal file
@@ -0,0 +1,160 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsForm",TableDescription = "表单")]
|
||||
public partial class CoreCmsForm
|
||||
{
|
||||
/// <summary>
|
||||
/// 表单
|
||||
/// </summary>
|
||||
public CoreCmsForm()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 表单类型
|
||||
/// </summary>
|
||||
[Display(Name = "表单类型")]
|
||||
[SugarColumn(ColumnDescription = "表单类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 表单排序
|
||||
/// </summary>
|
||||
[Display(Name = "表单排序")]
|
||||
[SugarColumn(ColumnDescription = "表单排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
/// <summary>
|
||||
/// 图集
|
||||
/// </summary>
|
||||
[Display(Name = "图集")]
|
||||
[SugarColumn(ColumnDescription = "图集", IsNullable = true)]
|
||||
public System.String images { get; set; }
|
||||
/// <summary>
|
||||
/// 视频地址
|
||||
/// </summary>
|
||||
[Display(Name = "视频地址")]
|
||||
[SugarColumn(ColumnDescription = "视频地址", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String videoPath { get; set; }
|
||||
/// <summary>
|
||||
/// 表单描述
|
||||
/// </summary>
|
||||
[Display(Name = "表单描述")]
|
||||
[SugarColumn(ColumnDescription = "表单描述", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String description { get; set; }
|
||||
/// <summary>
|
||||
/// 表头类型
|
||||
/// </summary>
|
||||
[Display(Name = "表头类型")]
|
||||
[SugarColumn(ColumnDescription = "表头类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 headType { get; set; }
|
||||
/// <summary>
|
||||
/// 表单头值
|
||||
/// </summary>
|
||||
[Display(Name = "表单头值")]
|
||||
[SugarColumn(ColumnDescription = "表单头值", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String headTypeValue { get; set; }
|
||||
/// <summary>
|
||||
/// 表单视频
|
||||
/// </summary>
|
||||
[Display(Name = "表单视频")]
|
||||
[SugarColumn(ColumnDescription = "表单视频", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String headTypeVideo { get; set; }
|
||||
/// <summary>
|
||||
/// 表单提交按钮名称
|
||||
/// </summary>
|
||||
[Display(Name = "表单提交按钮名称")]
|
||||
[SugarColumn(ColumnDescription = "表单提交按钮名称", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String buttonName { get; set; }
|
||||
/// <summary>
|
||||
/// 表单按钮颜色
|
||||
/// </summary>
|
||||
[Display(Name = "表单按钮颜色")]
|
||||
[SugarColumn(ColumnDescription = "表单按钮颜色", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String buttonColor { get; set; }
|
||||
/// <summary>
|
||||
/// 是否需要登录
|
||||
/// </summary>
|
||||
[Display(Name = "是否需要登录")]
|
||||
[SugarColumn(ColumnDescription = "是否需要登录")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isLogin { get; set; }
|
||||
/// <summary>
|
||||
/// 可提交次数
|
||||
/// </summary>
|
||||
[Display(Name = "可提交次数")]
|
||||
[SugarColumn(ColumnDescription = "可提交次数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 times { get; set; }
|
||||
/// <summary>
|
||||
/// 二维码图片地址
|
||||
/// </summary>
|
||||
[Display(Name = "二维码图片地址")]
|
||||
[SugarColumn(ColumnDescription = "二维码图片地址", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String qrcode { get; set; }
|
||||
/// <summary>
|
||||
/// 提交后提示语
|
||||
/// </summary>
|
||||
[Display(Name = "提交后提示语")]
|
||||
[SugarColumn(ColumnDescription = "提交后提示语", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String returnMsg { get; set; }
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[Display(Name = "结束时间")]
|
||||
[SugarColumn(ColumnDescription = "结束时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime endDateTime { 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; }
|
||||
}
|
||||
}
|
||||
92
CoreCms.Net.Model/Entities/Form/CoreCmsFormItem.cs
Normal file
92
CoreCms.Net.Model/Entities/Form/CoreCmsFormItem.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsFormItem",TableDescription = "表单项表")]
|
||||
public partial class CoreCmsFormItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 表单项表
|
||||
/// </summary>
|
||||
public CoreCmsFormItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String type { get; set; }
|
||||
/// <summary>
|
||||
/// 验证类型
|
||||
/// </summary>
|
||||
[Display(Name = "验证类型")]
|
||||
[SugarColumn(ColumnDescription = "验证类型", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String validationType { get; set; }
|
||||
/// <summary>
|
||||
/// 表单值
|
||||
/// </summary>
|
||||
[Display(Name = "表单值")]
|
||||
[SugarColumn(ColumnDescription = "表单值", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String value { get; set; }
|
||||
/// <summary>
|
||||
/// 默认值
|
||||
/// </summary>
|
||||
[Display(Name = "默认值")]
|
||||
[SugarColumn(ColumnDescription = "默认值", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String defaultValue { get; set; }
|
||||
/// <summary>
|
||||
/// 表单id
|
||||
/// </summary>
|
||||
[Display(Name = "表单id")]
|
||||
[SugarColumn(ColumnDescription = "表单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 formId { get; set; }
|
||||
/// <summary>
|
||||
/// 是否必填
|
||||
/// </summary>
|
||||
[Display(Name = "是否必填")]
|
||||
[SugarColumn(ColumnDescription = "是否必填")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean required { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
}
|
||||
}
|
||||
61
CoreCms.Net.Model/Entities/Form/CoreCmsFormItemPartial.cs
Normal file
61
CoreCms.Net.Model/Entities/Form/CoreCmsFormItemPartial.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
/***********************************************************************
|
||||
* 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 SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 表单项表
|
||||
/// </summary>
|
||||
public partial class CoreCmsFormItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品
|
||||
/// </summary>
|
||||
[Display(Name = "商品")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsGoods good { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品购物车数量
|
||||
/// </summary>
|
||||
[Display(Name = "商品购物车数量")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int cartCount { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 复选内容
|
||||
/// </summary>
|
||||
[Display(Name = "复选内容")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<TempCheckbox> checkboxValue { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 单选内容
|
||||
/// </summary>
|
||||
[Display(Name = "单选内容")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<string> radioValue { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 表单checkbox选中集合实体
|
||||
/// </summary>
|
||||
public class TempCheckbox
|
||||
{
|
||||
public bool @checked { get; set; }
|
||||
public string value { get; set; }
|
||||
}
|
||||
}
|
||||
29
CoreCms.Net.Model/Entities/Form/CoreCmsFormPartial.cs
Normal file
29
CoreCms.Net.Model/Entities/Form/CoreCmsFormPartial.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
/***********************************************************************
|
||||
* 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 SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 表单
|
||||
/// </summary>
|
||||
public partial class CoreCmsForm
|
||||
{
|
||||
/// <summary>
|
||||
/// 表单字段
|
||||
/// </summary>
|
||||
[Display(Name = "表单字段")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsFormItem> Items { get; set; }
|
||||
}
|
||||
}
|
||||
105
CoreCms.Net.Model/Entities/Form/CoreCmsFormSubmit.cs
Normal file
105
CoreCms.Net.Model/Entities/Form/CoreCmsFormSubmit.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsFormSubmit",TableDescription = "用户对表的提交记录")]
|
||||
public partial class CoreCmsFormSubmit
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户对表的提交记录
|
||||
/// </summary>
|
||||
public CoreCmsFormSubmit()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 formId { get; set; }
|
||||
/// <summary>
|
||||
/// 表单名称
|
||||
/// </summary>
|
||||
[Display(Name = "表单名称")]
|
||||
[SugarColumn(ColumnDescription = "表单名称", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String formName { 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}")]
|
||||
public System.Decimal money { get; set; }
|
||||
/// <summary>
|
||||
/// 是否支付
|
||||
/// </summary>
|
||||
[Display(Name = "是否支付")]
|
||||
[SugarColumn(ColumnDescription = "是否支付")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean payStatus { get; set; }
|
||||
/// <summary>
|
||||
/// 是否处理
|
||||
/// </summary>
|
||||
[Display(Name = "是否处理")]
|
||||
[SugarColumn(ColumnDescription = "是否处理")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean status { get; set; }
|
||||
/// <summary>
|
||||
/// 表单反馈
|
||||
/// </summary>
|
||||
[Display(Name = "表单反馈")]
|
||||
[SugarColumn(ColumnDescription = "表单反馈", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String feedback { get; set; }
|
||||
/// <summary>
|
||||
/// 提交人ip
|
||||
/// </summary>
|
||||
[Display(Name = "提交人ip")]
|
||||
[SugarColumn(ColumnDescription = "提交人ip", IsNullable = true)]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String ip { 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; }
|
||||
}
|
||||
}
|
||||
70
CoreCms.Net.Model/Entities/Form/CoreCmsFormSubmitDetail.cs
Normal file
70
CoreCms.Net.Model/Entities/Form/CoreCmsFormSubmitDetail.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsFormSubmitDetail",TableDescription = "提交表单保存大文本值表")]
|
||||
public partial class CoreCmsFormSubmitDetail
|
||||
{
|
||||
/// <summary>
|
||||
/// 提交表单保存大文本值表
|
||||
/// </summary>
|
||||
public CoreCmsFormSubmitDetail()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 submitId { get; set; }
|
||||
/// <summary>
|
||||
/// 表单id
|
||||
/// </summary>
|
||||
[Display(Name = "表单id")]
|
||||
[SugarColumn(ColumnDescription = "表单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 formId { get; set; }
|
||||
/// <summary>
|
||||
/// 表单项id
|
||||
/// </summary>
|
||||
[Display(Name = "表单项id")]
|
||||
[SugarColumn(ColumnDescription = "表单项id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 formItemId { get; set; }
|
||||
/// <summary>
|
||||
/// 表单项名称
|
||||
/// </summary>
|
||||
[Display(Name = "表单项名称")]
|
||||
[SugarColumn(ColumnDescription = "表单项名称", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String formItemName { get; set; }
|
||||
/// <summary>
|
||||
/// 表单项值
|
||||
/// </summary>
|
||||
[Display(Name = "表单项值")]
|
||||
[SugarColumn(ColumnDescription = "表单项值", IsNullable = true)]
|
||||
public System.String formItemValue { get; set; }
|
||||
}
|
||||
}
|
||||
35
CoreCms.Net.Model/Entities/Form/CoreCmsFormSubmitPartial.cs
Normal file
35
CoreCms.Net.Model/Entities/Form/CoreCmsFormSubmitPartial.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsFormSubmit
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[Display(Name = "微信昵称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户头像
|
||||
/// </summary>
|
||||
[Display(Name = "用户头像")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string avatarImage { get; set; }
|
||||
}
|
||||
}
|
||||
69
CoreCms.Net.Model/Entities/Good/CoreCmsBrand.cs
Normal file
69
CoreCms.Net.Model/Entities/Good/CoreCmsBrand.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
247
CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
Normal file
247
CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
72
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsBrowsing.cs
Normal file
72
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsBrowsing.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
85
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsCategory.cs
Normal file
85
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsCategory.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
65
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsCollection.cs
Normal file
65
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsCollection.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
110
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsComment.cs
Normal file
110
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsComment.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
57
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsGrade.cs
Normal file
57
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsGrade.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
28
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsGradePartial.cs
Normal file
28
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsGradePartial.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
51
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsImages.cs
Normal file
51
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsImages.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
68
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsParams.cs
Normal file
68
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsParams.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
161
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
Normal file
161
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
51
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsTypeSpec.cs
Normal file
51
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsTypeSpec.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
58
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsTypeSpecValue.cs
Normal file
58
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsTypeSpecValue.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
132
CoreCms.Net.Model/Entities/Good/CoreCmsProducts.cs
Normal file
132
CoreCms.Net.Model/Entities/Good/CoreCmsProducts.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
145
CoreCms.Net.Model/Entities/Good/CoreCmsProductsPartial.cs
Normal file
145
CoreCms.Net.Model/Entities/Good/CoreCmsProductsPartial.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
83
CoreCms.Net.Model/Entities/Message/CoreCmsMessage.cs
Normal file
83
CoreCms.Net.Model/Entities/Message/CoreCmsMessage.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsMessage",TableDescription = "消息发送表")]
|
||||
public partial class CoreCmsMessage
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息发送表
|
||||
/// </summary>
|
||||
public CoreCmsMessage()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 消息编码
|
||||
/// </summary>
|
||||
[Display(Name = "消息编码")]
|
||||
[SugarColumn(ColumnDescription = "消息编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[Display(Name = "参数")]
|
||||
[SugarColumn(ColumnDescription = "参数", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 内容
|
||||
/// </summary>
|
||||
[Display(Name = "内容")]
|
||||
[SugarColumn(ColumnDescription = "内容", IsNullable = true)]
|
||||
public System.String contentBody { get; set; }
|
||||
/// <summary>
|
||||
/// 是否查看
|
||||
/// </summary>
|
||||
[Display(Name = "是否查看")]
|
||||
[SugarColumn(ColumnDescription = "是否查看")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean status { 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; }
|
||||
}
|
||||
}
|
||||
72
CoreCms.Net.Model/Entities/Message/CoreCmsMessageCenter.cs
Normal file
72
CoreCms.Net.Model/Entities/Message/CoreCmsMessageCenter.cs
Normal 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("CoreCmsMessageCenter",TableDescription = "消息配置表")]
|
||||
public partial class CoreCmsMessageCenter
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息配置表
|
||||
/// </summary>
|
||||
public CoreCmsMessageCenter()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
[Display(Name = "描述")]
|
||||
[SugarColumn(ColumnDescription = "描述", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String description { get; set; }
|
||||
/// <summary>
|
||||
/// 启用短信
|
||||
/// </summary>
|
||||
[Display(Name = "启用短信")]
|
||||
[SugarColumn(ColumnDescription = "启用短信")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isSms { get; set; }
|
||||
/// <summary>
|
||||
/// 启用站内消息
|
||||
/// </summary>
|
||||
[Display(Name = "启用站内消息")]
|
||||
[SugarColumn(ColumnDescription = "启用站内消息")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isMessage { get; set; }
|
||||
/// <summary>
|
||||
/// 启用微信模板消息
|
||||
/// </summary>
|
||||
[Display(Name = "启用微信模板消息")]
|
||||
[SugarColumn(ColumnDescription = "启用微信模板消息")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isWxTempletMessage { get; set; }
|
||||
}
|
||||
}
|
||||
89
CoreCms.Net.Model/Entities/Message/CoreCmsSms.cs
Normal file
89
CoreCms.Net.Model/Entities/Message/CoreCmsSms.cs
Normal file
@@ -0,0 +1,89 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:59
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 短信发送日志
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsSms",TableDescription = "短信发送日志")]
|
||||
public partial class CoreCmsSms
|
||||
{
|
||||
/// <summary>
|
||||
/// 短信发送日志
|
||||
/// </summary>
|
||||
public CoreCmsSms()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(15, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 发送编码
|
||||
/// </summary>
|
||||
[Display(Name = "发送编码")]
|
||||
[SugarColumn(ColumnDescription = "发送编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(60, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[Display(Name = "参数")]
|
||||
[SugarColumn(ColumnDescription = "参数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 内容
|
||||
/// </summary>
|
||||
[Display(Name = "内容")]
|
||||
[SugarColumn(ColumnDescription = "内容")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String contentBody { get; set; }
|
||||
/// <summary>
|
||||
/// ip
|
||||
/// </summary>
|
||||
[Display(Name = "ip")]
|
||||
[SugarColumn(ColumnDescription = "ip")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String ip { get; set; }
|
||||
/// <summary>
|
||||
/// 是否使用
|
||||
/// </summary>
|
||||
[Display(Name = "是否使用")]
|
||||
[SugarColumn(ColumnDescription = "是否使用")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isUsed { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
}
|
||||
}
|
||||
523
CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs
Normal file
523
CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs
Normal file
@@ -0,0 +1,523 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/10/18 11:51:30
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public CoreCmsOrder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
[Display(Name = "订单号")]
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String orderId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品总价
|
||||
/// </summary>
|
||||
[Display(Name = "商品总价")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal goodsAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 已支付的金额
|
||||
/// </summary>
|
||||
[Display(Name = "已支付的金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal payedAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单实际销售总额
|
||||
/// </summary>
|
||||
[Display(Name = "订单实际销售总额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal orderAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付状态
|
||||
/// </summary>
|
||||
[Display(Name = "支付状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 payStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发货状态
|
||||
/// </summary>
|
||||
[Display(Name = "发货状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 shipStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单状态
|
||||
/// </summary>
|
||||
[Display(Name = "订单状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 status { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型
|
||||
/// </summary>
|
||||
[Display(Name = "订单类型")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 orderType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货方式
|
||||
/// </summary>
|
||||
[Display(Name = "收货方式")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 receiptType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付方式代码
|
||||
/// </summary>
|
||||
[Display(Name = "支付方式代码")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String paymentCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付时间
|
||||
/// </summary>
|
||||
[Display(Name = "支付时间")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.DateTime? paymentTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 配送方式ID 关联ship.id
|
||||
/// </summary>
|
||||
[Display(Name = "配送方式ID 关联ship.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 logisticsId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 配送方式名称
|
||||
/// </summary>
|
||||
[Display(Name = "配送方式名称")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String logisticsName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 配送费用
|
||||
/// </summary>
|
||||
[Display(Name = "配送费用")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal costFreight { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 userId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 店铺ID 关联seller.id
|
||||
/// </summary>
|
||||
[Display(Name = "店铺ID 关联seller.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 sellerId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 售后状态
|
||||
/// </summary>
|
||||
[Display(Name = "售后状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 confirmStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 确认收货时间
|
||||
/// </summary>
|
||||
[Display(Name = "确认收货时间")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.DateTime? confirmTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自提门店ID,0就是不门店自提
|
||||
/// </summary>
|
||||
[Display(Name = "自提门店ID,0就是不门店自提")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 storeId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货地区ID
|
||||
/// </summary>
|
||||
[Display(Name = "收货地区ID")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 shipAreaId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货详细地址
|
||||
/// </summary>
|
||||
[Display(Name = "收货详细地址")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String shipAddress { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货人姓名
|
||||
/// </summary>
|
||||
[Display(Name = "收货人姓名")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String shipName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货电话
|
||||
/// </summary>
|
||||
[Display(Name = "收货电话")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String shipMobile { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品总重量
|
||||
/// </summary>
|
||||
[Display(Name = "商品总重量")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal weight { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 开发票
|
||||
/// </summary>
|
||||
[Display(Name = "开发票")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 taxType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 税号
|
||||
/// </summary>
|
||||
[Display(Name = "税号")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String taxCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发票抬头
|
||||
/// </summary>
|
||||
[Display(Name = "发票抬头")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String taxTitle { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 使用积分
|
||||
/// </summary>
|
||||
[Display(Name = "使用积分")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 point { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 积分抵扣金额
|
||||
/// </summary>
|
||||
[Display(Name = "积分抵扣金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal pointMoney { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单优惠金额
|
||||
/// </summary>
|
||||
[Display(Name = "订单优惠金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal orderDiscountAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品优惠金额
|
||||
/// </summary>
|
||||
[Display(Name = "商品优惠金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal goodsDiscountAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券优惠额度
|
||||
/// </summary>
|
||||
[Display(Name = "优惠券优惠额度")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal couponDiscountAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券信息
|
||||
/// </summary>
|
||||
[Display(Name = "优惠券信息")]
|
||||
|
||||
public System.String coupon { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 优惠信息
|
||||
/// </summary>
|
||||
[Display(Name = "优惠信息")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String promotionList { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 买家备注
|
||||
/// </summary>
|
||||
[Display(Name = "买家备注")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String memo { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 下单IP
|
||||
/// </summary>
|
||||
[Display(Name = "下单IP")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String ip { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 卖家备注
|
||||
/// </summary>
|
||||
[Display(Name = "卖家备注")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:510,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String mark { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单来源
|
||||
/// </summary>
|
||||
[Display(Name = "订单来源")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 source { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否评论
|
||||
/// </summary>
|
||||
[Display(Name = "是否评论")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Boolean isComment { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除标志
|
||||
/// </summary>
|
||||
[Display(Name = "删除标志")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Boolean isdel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联营销类型对象序列
|
||||
/// </summary>
|
||||
[Display(Name = "关联营销类型对象序列")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 objectId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
public System.DateTime? updateTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
170
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs
Normal file
170
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs
Normal file
@@ -0,0 +1,170 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsOrderItem",TableDescription = "订单明细表")]
|
||||
public partial class CoreCmsOrderItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单明细表
|
||||
/// </summary>
|
||||
public CoreCmsOrderItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[Display(Name = "序号")]
|
||||
[SugarColumn(ColumnDescription = "序号", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 订单ID 关联order.id
|
||||
/// </summary>
|
||||
[Display(Name = "订单ID 关联order.id")]
|
||||
[SugarColumn(ColumnDescription = "订单ID 关联order.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { 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 关联products.id
|
||||
/// </summary>
|
||||
[Display(Name = "货品ID 关联products.id")]
|
||||
[SugarColumn(ColumnDescription = "货品ID 关联products.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 productId { 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 = "商品编码", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String bn { get; set; }
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
[SugarColumn(ColumnDescription = "商品名称")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { 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}")]
|
||||
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String imageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[Display(Name = "数量")]
|
||||
[SugarColumn(ColumnDescription = "数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 nums { get; set; }
|
||||
/// <summary>
|
||||
/// 总价
|
||||
/// </summary>
|
||||
[Display(Name = "总价")]
|
||||
[SugarColumn(ColumnDescription = "总价")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal amount { get; set; }
|
||||
/// <summary>
|
||||
/// 商品优惠总金额
|
||||
/// </summary>
|
||||
[Display(Name = "商品优惠总金额")]
|
||||
[SugarColumn(ColumnDescription = "商品优惠总金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal promotionAmount { get; set; }
|
||||
/// <summary>
|
||||
/// 促销信息
|
||||
/// </summary>
|
||||
[Display(Name = "促销信息")]
|
||||
[SugarColumn(ColumnDescription = "促销信息", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String promotionList { 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 sendNums { get; set; }
|
||||
/// <summary>
|
||||
/// 货品明细序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "货品明细序列号存储")]
|
||||
[SugarColumn(ColumnDescription = "货品明细序列号存储", IsNullable = true)]
|
||||
public System.String addon { 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; }
|
||||
}
|
||||
}
|
||||
41
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItemPartial.cs
Normal file
41
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItemPartial.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单明细表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrderItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货商品数量
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int reshipNums { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 已发货的退货商品
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int reshipedNums { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当前退货数量
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int atPresentReshipNums { get; set; } = 0;
|
||||
|
||||
[SugarColumn(IsIgnore = true)] public object promotionObj { get; set; }
|
||||
}
|
||||
}
|
||||
77
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLog.cs
Normal file
77
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLog.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsOrderLog",TableDescription = "订单记录表")]
|
||||
public partial class CoreCmsOrderLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单记录表
|
||||
/// </summary>
|
||||
public CoreCmsOrderLog()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
[Display(Name = "ID")]
|
||||
[SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 订单ID
|
||||
/// </summary>
|
||||
[Display(Name = "订单ID")]
|
||||
[SugarColumn(ColumnDescription = "订单ID", IsNullable = true)]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { 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}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 描述介绍
|
||||
/// </summary>
|
||||
[Display(Name = "描述介绍")]
|
||||
[SugarColumn(ColumnDescription = "描述介绍", IsNullable = true)]
|
||||
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String msg { get; set; }
|
||||
/// <summary>
|
||||
/// 请求的数据json
|
||||
/// </summary>
|
||||
[Display(Name = "请求的数据json")]
|
||||
[SugarColumn(ColumnDescription = "请求的数据json", IsNullable = true)]
|
||||
public System.String data { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
}
|
||||
}
|
||||
26
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLogPartial.cs
Normal file
26
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLogPartial.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单记录表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrderLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 类型说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string typeText { get; set; }
|
||||
}
|
||||
}
|
||||
230
CoreCms.Net.Model/Entities/Order/CoreCmsOrderPartial.cs
Normal file
230
CoreCms.Net.Model/Entities/Order/CoreCmsOrderPartial.cs
Normal file
@@ -0,0 +1,230 @@
|
||||
/***********************************************************************
|
||||
* 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 SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单详情
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsOrderItem> items { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户信息
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsUser user { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付单关系
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillPayments> paymentItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 退款单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillRefund> refundItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 提货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillLading> ladingItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 退货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillReship> returnItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillAftersales> aftersalesItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillDelivery> delivery { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 门店
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsStore store { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送方式
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsShip logistics { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取订单全局状态
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int globalStatus { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 获取订单全局状态描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string globalStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收货地区三级地址
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string shipAreaName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付方式中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string paymentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券列表
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsCoupon> couponObj { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 促销信息
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public object promotionObj { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 倒计时标准时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public DateTime? remainingTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 倒计时文字说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string remaining { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发票信息
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public object invoice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后单号
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string billAftersalesId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 已经退过款的金额
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal refunded { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 是否能发起售后
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool addAftersalesStatus { get; set; } = false;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 操作日志
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsOrderLog> orderLog { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string payStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发货状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string shipStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 来源状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string sourceText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string typeText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发票类型
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string taxTypeText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付方式说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string paymentCodeText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 确认收货状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string confirmStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作码
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string operating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后情况
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string afterSaleStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
/***********************************************************************
|
||||
* 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 SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 拼团记录
|
||||
/// </summary>
|
||||
public partial class CoreCmsPinTuanRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户头像
|
||||
/// </summary>
|
||||
[Display(Name = "用户头像")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userAvatar { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
[Display(Name = "昵称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string nickName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 参与队员信息
|
||||
/// </summary>
|
||||
[Display(Name = "参与队员信息")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<PinTuanRecordTeam> teams { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 参与数量
|
||||
/// </summary>
|
||||
[Display(Name = "参与数量")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int teamNums { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 参与人数计算
|
||||
/// </summary>
|
||||
[Display(Name = "参与人数计算")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int peopleNumber { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 剩余时间
|
||||
/// </summary>
|
||||
[Display(Name = "剩余时间")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int lastTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 剩余时间
|
||||
/// </summary>
|
||||
[Display(Name = "剩余时间")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool isOverdue { get; set; } = false;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 活动名称
|
||||
/// </summary>
|
||||
[Display(Name = "活动名称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string ruleName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string goodName { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class PinTuanRecordTeam
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户头像
|
||||
/// </summary>
|
||||
[Display(Name = "用户头像")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userAvatar { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
[Display(Name = "昵称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string nickName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 记录编号
|
||||
/// </summary>
|
||||
[Display(Name = "记录编号")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int recordId { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 拼团队伍编号
|
||||
/// </summary>
|
||||
[Display(Name = "拼团队伍编号")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int teamId { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 用户编号
|
||||
/// </summary>
|
||||
[Display(Name = "用户编号")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int userId { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsPinTuanRule
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品编码
|
||||
/// </summary>
|
||||
[Display(Name = "商品编码")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int[] goods { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 判断拼团状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int pinTuanStartStatus { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 剩余时间
|
||||
/// </summary>
|
||||
[Display(Name = "剩余时间")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int lastTime { get; set; }
|
||||
}
|
||||
}
|
||||
43
CoreCms.Net.Model/Entities/PinTuan/CoreCmsPintuanGoods.cs
Normal file
43
CoreCms.Net.Model/Entities/PinTuan/CoreCmsPintuanGoods.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPinTuanGoods",TableDescription = "拼团商品表")]
|
||||
public partial class CoreCmsPinTuanGoods
|
||||
{
|
||||
/// <summary>
|
||||
/// 拼团商品表
|
||||
/// </summary>
|
||||
public CoreCmsPinTuanGoods()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 规则表序列
|
||||
/// </summary>
|
||||
[Display(Name = "规则表序列")]
|
||||
[SugarColumn(ColumnDescription = "规则表序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 ruleId { get; set; }
|
||||
/// <summary>
|
||||
/// 商品序列
|
||||
/// </summary>
|
||||
[Display(Name = "商品序列")]
|
||||
[SugarColumn(ColumnDescription = "商品序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 goodsId { get; set; }
|
||||
}
|
||||
}
|
||||
106
CoreCms.Net.Model/Entities/PinTuan/CoreCmsPintuanRecord.cs
Normal file
106
CoreCms.Net.Model/Entities/PinTuan/CoreCmsPintuanRecord.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPinTuanRecord",TableDescription = "拼团记录表")]
|
||||
public partial class CoreCmsPinTuanRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 拼团记录表
|
||||
/// </summary>
|
||||
public CoreCmsPinTuanRecord()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 teamId { get; set; }
|
||||
/// <summary>
|
||||
/// 用户序列
|
||||
/// </summary>
|
||||
[Display(Name = "用户序列")]
|
||||
[SugarColumn(ColumnDescription = "用户序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 规则表序列
|
||||
/// </summary>
|
||||
[Display(Name = "规则表序列")]
|
||||
[SugarColumn(ColumnDescription = "规则表序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 ruleId { get; set; }
|
||||
/// <summary>
|
||||
/// 商品序列
|
||||
/// </summary>
|
||||
[Display(Name = "商品序列")]
|
||||
[SugarColumn(ColumnDescription = "商品序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 goodsId { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 订单序列
|
||||
/// </summary>
|
||||
[Display(Name = "订单序列")]
|
||||
[SugarColumn(ColumnDescription = "订单序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 拼团人数Json
|
||||
/// </summary>
|
||||
[Display(Name = "拼团人数Json")]
|
||||
[SugarColumn(ColumnDescription = "拼团人数Json", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 关闭时间
|
||||
/// </summary>
|
||||
[Display(Name = "关闭时间")]
|
||||
[SugarColumn(ColumnDescription = "关闭时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime closeTime { 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; }
|
||||
}
|
||||
}
|
||||
119
CoreCms.Net.Model/Entities/PinTuan/CoreCmsPintuanRule.cs
Normal file
119
CoreCms.Net.Model/Entities/PinTuan/CoreCmsPintuanRule.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPinTuanRule",TableDescription = "拼团规则表")]
|
||||
public partial class CoreCmsPinTuanRule
|
||||
{
|
||||
/// <summary>
|
||||
/// 拼团规则表
|
||||
/// </summary>
|
||||
public CoreCmsPinTuanRule()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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.DateTime startTime { get; set; }
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[Display(Name = "结束时间")]
|
||||
[SugarColumn(ColumnDescription = "结束时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime endTime { get; set; }
|
||||
/// <summary>
|
||||
/// 人数2-10人
|
||||
/// </summary>
|
||||
[Display(Name = "人数2-10人")]
|
||||
[SugarColumn(ColumnDescription = "人数2-10人")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 peopleNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 单位分钟
|
||||
/// </summary>
|
||||
[Display(Name = "单位分钟")]
|
||||
[SugarColumn(ColumnDescription = "单位分钟")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 significantInterval { get; set; }
|
||||
/// <summary>
|
||||
/// 优惠金额
|
||||
/// </summary>
|
||||
[Display(Name = "优惠金额")]
|
||||
[SugarColumn(ColumnDescription = "优惠金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal discountAmount { get; set; }
|
||||
/// <summary>
|
||||
/// 每人限购数量
|
||||
/// </summary>
|
||||
[Display(Name = "每人限购数量")]
|
||||
[SugarColumn(ColumnDescription = "每人限购数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 maxNums { get; set; }
|
||||
/// <summary>
|
||||
/// 每个商品活动数量
|
||||
/// </summary>
|
||||
[Display(Name = "每个商品活动数量")]
|
||||
[SugarColumn(ColumnDescription = "每个商品活动数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 maxGoodsNums { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
/// <summary>
|
||||
/// 是否开启
|
||||
/// </summary>
|
||||
[Display(Name = "是否开启")]
|
||||
[SugarColumn(ColumnDescription = "是否开启")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isStatusOpen { 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; }
|
||||
}
|
||||
}
|
||||
106
CoreCms.Net.Model/Entities/Promotion/CoreCmsCoupon.cs
Normal file
106
CoreCms.Net.Model/Entities/Promotion/CoreCmsCoupon.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsCoupon",TableDescription = "优惠券表")]
|
||||
public partial class CoreCmsCoupon
|
||||
{
|
||||
/// <summary>
|
||||
/// 优惠券表
|
||||
/// </summary>
|
||||
public CoreCmsCoupon()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String couponCode { get; set; }
|
||||
/// <summary>
|
||||
/// 优惠券id
|
||||
/// </summary>
|
||||
[Display(Name = "优惠券id")]
|
||||
[SugarColumn(ColumnDescription = "优惠券id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 promotionId { get; set; }
|
||||
/// <summary>
|
||||
/// 是否使用
|
||||
/// </summary>
|
||||
[Display(Name = "是否使用")]
|
||||
[SugarColumn(ColumnDescription = "是否使用")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isUsed { get; set; }
|
||||
/// <summary>
|
||||
/// 谁领取了
|
||||
/// </summary>
|
||||
[Display(Name = "谁领取了")]
|
||||
[SugarColumn(ColumnDescription = "谁领取了")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 被谁用了
|
||||
/// </summary>
|
||||
[Display(Name = "被谁用了")]
|
||||
[SugarColumn(ColumnDescription = "被谁用了", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String usedId { 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; }
|
||||
/// <summary>
|
||||
/// 说明
|
||||
/// </summary>
|
||||
[Display(Name = "说明")]
|
||||
[SugarColumn(ColumnDescription = "说明", IsNullable = true)]
|
||||
[StringLength(500, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String remark { get; set; }
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
[Display(Name = "开始时间")]
|
||||
[SugarColumn(ColumnDescription = "开始时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime startTime { get; set; }
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[Display(Name = "结束时间")]
|
||||
[SugarColumn(ColumnDescription = "结束时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime endTime { get; set; }
|
||||
}
|
||||
}
|
||||
59
CoreCms.Net.Model/Entities/Promotion/CoreCmsCouponPartial.cs
Normal file
59
CoreCms.Net.Model/Entities/Promotion/CoreCmsCouponPartial.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
/***********************************************************************
|
||||
* 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 SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 优惠券表
|
||||
/// </summary>
|
||||
public partial class CoreCmsCoupon
|
||||
{
|
||||
/// <summary>
|
||||
/// 优惠券名称
|
||||
/// </summary>
|
||||
[Display(Name = "优惠券名称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string couponName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 领取用户姓名
|
||||
/// </summary>
|
||||
[Display(Name = "领取用户姓名")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联优惠内容
|
||||
/// </summary>
|
||||
[Display(Name = "关联优惠内容")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsPromotion promotion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 满足明细
|
||||
/// </summary>
|
||||
[Display(Name = "满足明细")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsPromotionCondition> conditions { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 结果列表
|
||||
/// </summary>
|
||||
[Display(Name = "结果列表")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsPromotionResult> results { get; set; }
|
||||
}
|
||||
}
|
||||
141
CoreCms.Net.Model/Entities/Promotion/CoreCmsPromotion.cs
Normal file
141
CoreCms.Net.Model/Entities/Promotion/CoreCmsPromotion.cs
Normal file
@@ -0,0 +1,141 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPromotion",TableDescription = "促销表")]
|
||||
public partial class CoreCmsPromotion
|
||||
{
|
||||
/// <summary>
|
||||
/// 促销表
|
||||
/// </summary>
|
||||
public CoreCmsPromotion()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(40, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
[Display(Name = "类型")]
|
||||
[SugarColumn(ColumnDescription = "类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
/// <summary>
|
||||
/// 其它参数
|
||||
/// </summary>
|
||||
[Display(Name = "其它参数")]
|
||||
[SugarColumn(ColumnDescription = "其它参数", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 每人限购数量
|
||||
/// </summary>
|
||||
[Display(Name = "每人限购数量")]
|
||||
[SugarColumn(ColumnDescription = "每人限购数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 maxNums { get; set; }
|
||||
/// <summary>
|
||||
/// 每个商品活动数量
|
||||
/// </summary>
|
||||
[Display(Name = "每个商品活动数量")]
|
||||
[SugarColumn(ColumnDescription = "每个商品活动数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 maxGoodsNums { get; set; }
|
||||
/// <summary>
|
||||
/// 最大领取数量
|
||||
/// </summary>
|
||||
[Display(Name = "最大领取数量")]
|
||||
[SugarColumn(ColumnDescription = "最大领取数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 maxRecevieNums { get; set; }
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
[Display(Name = "开始时间")]
|
||||
[SugarColumn(ColumnDescription = "开始时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime startTime { get; set; }
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[Display(Name = "结束时间")]
|
||||
[SugarColumn(ColumnDescription = "结束时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime endTime { get; set; }
|
||||
/// <summary>
|
||||
/// 是否排他
|
||||
/// </summary>
|
||||
[Display(Name = "是否排他")]
|
||||
[SugarColumn(ColumnDescription = "是否排他")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isExclusive { get; set; }
|
||||
/// <summary>
|
||||
/// 是否自动领取
|
||||
/// </summary>
|
||||
[Display(Name = "是否自动领取")]
|
||||
[SugarColumn(ColumnDescription = "是否自动领取")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isAutoReceive { get; set; }
|
||||
/// <summary>
|
||||
/// 是否开启
|
||||
/// </summary>
|
||||
[Display(Name = "是否开启")]
|
||||
[SugarColumn(ColumnDescription = "是否开启")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isEnable { get; set; }
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
[Display(Name = "是否删除")]
|
||||
[SugarColumn(ColumnDescription = "是否删除")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDel { get; set; }
|
||||
/// <summary>
|
||||
/// 有效天数
|
||||
/// </summary>
|
||||
[Display(Name = "有效天数")]
|
||||
[SugarColumn(ColumnDescription = "有效天数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 effectiveDays { get; set; }
|
||||
/// <summary>
|
||||
/// 有效小时
|
||||
/// </summary>
|
||||
[Display(Name = "有效小时")]
|
||||
[SugarColumn(ColumnDescription = "有效小时")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 effectiveHours { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPromotionCondition",TableDescription = "促销条件表")]
|
||||
public partial class CoreCmsPromotionCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// 促销条件表
|
||||
/// </summary>
|
||||
public CoreCmsPromotionCondition()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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? promotionId { get; set; }
|
||||
/// <summary>
|
||||
/// 促销条件编码
|
||||
/// </summary>
|
||||
[Display(Name = "促销条件编码")]
|
||||
[SugarColumn(ColumnDescription = "促销条件编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 支付配置参数序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "支付配置参数序列号存储")]
|
||||
[SugarColumn(ColumnDescription = "支付配置参数序列号存储", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
/***********************************************************************
|
||||
* 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 SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 促销表
|
||||
/// </summary>
|
||||
public partial class CoreCmsPromotion
|
||||
{
|
||||
/// <summary>
|
||||
/// 已领取数量
|
||||
/// </summary>
|
||||
[Display(Name = "已领取数量")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int getNumber { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 条件
|
||||
/// </summary>
|
||||
[Display(Name = "条件")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string expression1 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
[Display(Name = "结果")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string expression2 { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 条件
|
||||
/// </summary>
|
||||
[Display(Name = "条件集合")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<string> conditions { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
[Display(Name = "结果集合")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<string> results { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 条件
|
||||
/// </summary>
|
||||
[Display(Name = "条件集合")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsPromotionCondition> promotionCondition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条件
|
||||
/// </summary>
|
||||
[Display(Name = "条件集合")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsPromotionResult> promotionResult { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPromotionRecord",TableDescription = "促销活动记录表")]
|
||||
public partial class CoreCmsPromotionRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 促销活动记录表
|
||||
/// </summary>
|
||||
public CoreCmsPromotionRecord()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 promotionId { 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}")]
|
||||
public System.Int32 productId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单id
|
||||
/// </summary>
|
||||
[Display(Name = "订单id")]
|
||||
[SugarColumn(ColumnDescription = "订单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 3团购/4秒杀
|
||||
/// </summary>
|
||||
[Display(Name = "3团购/4秒杀")]
|
||||
[SugarColumn(ColumnDescription = "3团购/4秒杀")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { 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.DateTime updateTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPromotionResult",TableDescription = "促销结果表")]
|
||||
public partial class CoreCmsPromotionResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 促销结果表
|
||||
/// </summary>
|
||||
public CoreCmsPromotionResult()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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? promotionId { get; set; }
|
||||
/// <summary>
|
||||
/// 促销条件编码
|
||||
/// </summary>
|
||||
[Display(Name = "促销条件编码")]
|
||||
[SugarColumn(ColumnDescription = "促销条件编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 支付配置参数序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "支付配置参数序列号存储")]
|
||||
[SugarColumn(ColumnDescription = "支付配置参数序列号存储", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
}
|
||||
}
|
||||
163
CoreCms.Net.Model/Entities/Service/CoreCmsServices.cs
Normal file
163
CoreCms.Net.Model/Entities/Service/CoreCmsServices.cs
Normal file
@@ -0,0 +1,163 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsServices",TableDescription = "服务项目表")]
|
||||
public partial class CoreCmsServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 服务项目表
|
||||
/// </summary>
|
||||
public CoreCmsServices()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String title { get; set; }
|
||||
/// <summary>
|
||||
/// 项目缩略图
|
||||
/// </summary>
|
||||
[Display(Name = "项目缩略图")]
|
||||
[SugarColumn(ColumnDescription = "项目缩略图")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String thumbnail { get; set; }
|
||||
/// <summary>
|
||||
/// 项目概述
|
||||
/// </summary>
|
||||
[Display(Name = "项目概述")]
|
||||
[SugarColumn(ColumnDescription = "项目概述", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String description { get; set; }
|
||||
/// <summary>
|
||||
/// 项目详细说明
|
||||
/// </summary>
|
||||
[Display(Name = "项目详细说明")]
|
||||
[SugarColumn(ColumnDescription = "项目详细说明")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.String contentBody { get; set; }
|
||||
/// <summary>
|
||||
/// 允许购买会员级别
|
||||
/// </summary>
|
||||
[Display(Name = "允许购买会员级别")]
|
||||
[SugarColumn(ColumnDescription = "允许购买会员级别")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String allowedMembership { get; set; }
|
||||
/// <summary>
|
||||
/// 可消费门店
|
||||
/// </summary>
|
||||
[Display(Name = "可消费门店")]
|
||||
[SugarColumn(ColumnDescription = "可消费门店")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String consumableStore { get; set; }
|
||||
/// <summary>
|
||||
/// 项目状态
|
||||
/// </summary>
|
||||
[Display(Name = "项目状态")]
|
||||
[SugarColumn(ColumnDescription = "项目状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 项目重复购买次数
|
||||
/// </summary>
|
||||
[Display(Name = "项目重复购买次数")]
|
||||
[SugarColumn(ColumnDescription = "项目重复购买次数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 maxBuyNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 项目可销售数量
|
||||
/// </summary>
|
||||
[Display(Name = "项目可销售数量")]
|
||||
[SugarColumn(ColumnDescription = "项目可销售数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 amount { get; set; }
|
||||
/// <summary>
|
||||
/// 项目开始时间
|
||||
/// </summary>
|
||||
[Display(Name = "项目开始时间")]
|
||||
[SugarColumn(ColumnDescription = "项目开始时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime startTime { get; set; }
|
||||
/// <summary>
|
||||
/// 项目截止时间
|
||||
/// </summary>
|
||||
[Display(Name = "项目截止时间")]
|
||||
[SugarColumn(ColumnDescription = "项目截止时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime endTime { get; set; }
|
||||
/// <summary>
|
||||
/// 核销有效期类型
|
||||
/// </summary>
|
||||
[Display(Name = "核销有效期类型")]
|
||||
[SugarColumn(ColumnDescription = "核销有效期类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 validityType { get; set; }
|
||||
/// <summary>
|
||||
/// 核销开始时间
|
||||
/// </summary>
|
||||
[Display(Name = "核销开始时间")]
|
||||
[SugarColumn(ColumnDescription = "核销开始时间", IsNullable = true)]
|
||||
public System.DateTime? validityStartTime { get; set; }
|
||||
/// <summary>
|
||||
/// 核销结束时间
|
||||
/// </summary>
|
||||
[Display(Name = "核销结束时间")]
|
||||
[SugarColumn(ColumnDescription = "核销结束时间", IsNullable = true)]
|
||||
public System.DateTime? validityEndTime { get; set; }
|
||||
/// <summary>
|
||||
/// 核销服务券数量
|
||||
/// </summary>
|
||||
[Display(Name = "核销服务券数量")]
|
||||
[SugarColumn(ColumnDescription = "核销服务券数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 ticketNumber { 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; }
|
||||
/// <summary>
|
||||
/// 售价
|
||||
/// </summary>
|
||||
[Display(Name = "售价")]
|
||||
[SugarColumn(ColumnDescription = "售价")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal money { get; set; }
|
||||
}
|
||||
}
|
||||
43
CoreCms.Net.Model/Entities/Service/CoreCmsServicesPartial.cs
Normal file
43
CoreCms.Net.Model/Entities/Service/CoreCmsServicesPartial.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/***********************************************************************
|
||||
* 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 SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 服务项目表
|
||||
/// </summary>
|
||||
public partial class CoreCmsServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 倒计时时间戳
|
||||
/// </summary>
|
||||
[Display(Name = "倒计时时间戳")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int timestamp { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 允许购买用户等级
|
||||
/// </summary>
|
||||
[Display(Name = "允许购买用户等级")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<string> allowedMemberships { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 核销门店
|
||||
/// </summary>
|
||||
[Display(Name = "核销门店")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<string> consumableStores { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:59
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 服务购买表
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsUserServicesOrder",TableDescription = "服务购买表")]
|
||||
public partial class CoreCmsUserServicesOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 服务购买表
|
||||
/// </summary>
|
||||
public CoreCmsUserServicesOrder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <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(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String serviceOrderId { get; set; }
|
||||
/// <summary>
|
||||
/// 关联用户
|
||||
/// </summary>
|
||||
[Display(Name = "关联用户")]
|
||||
[SugarColumn(ColumnDescription = "关联用户")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 关联服务
|
||||
/// </summary>
|
||||
[Display(Name = "关联服务")]
|
||||
[SugarColumn(ColumnDescription = "关联服务")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 servicesId { get; set; }
|
||||
/// <summary>
|
||||
/// 是否支付
|
||||
/// </summary>
|
||||
[Display(Name = "是否支付")]
|
||||
[SugarColumn(ColumnDescription = "是否支付")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isPay { get; set; }
|
||||
/// <summary>
|
||||
/// 支付时间
|
||||
/// </summary>
|
||||
[Display(Name = "支付时间")]
|
||||
[SugarColumn(ColumnDescription = "支付时间", IsNullable = true)]
|
||||
public System.DateTime? payTime { get; set; }
|
||||
/// <summary>
|
||||
/// 支付单号
|
||||
/// </summary>
|
||||
[Display(Name = "支付单号")]
|
||||
[SugarColumn(ColumnDescription = "支付单号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String paymentId { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { 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? servicesEndTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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 CoreCmsUserServicesOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 关联服务
|
||||
/// </summary>
|
||||
[Display(Name = "关联服务")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsServices service { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态说明
|
||||
/// </summary>
|
||||
[Display(Name = "状态说明")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusStr { get; set; }
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user