mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-05-14 01:17:20 +08:00
添加项目文件。
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user