添加项目文件。

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