添加项目文件。

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

View File

@@ -0,0 +1,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; }
}
}

View 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; }
}
}

View 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; }
}
}

View File

@@ -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; }
}
}

View File

@@ -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; }
}
}

View File

@@ -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; }
}
}

View File

@@ -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; }
}
}