/***********************************************************************
|
* 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; }
|
}
|
}
|