/***********************************************************************
|
* Project: baifenBinfa
|
* ProjectName: 百分兵法管理系统
|
* Web: http://chuanyin.com
|
* Author:
|
* Email: 34161541@qq.com
|
* CreateTime: 2024-03-01 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; }
|
}
|
}
|