/***********************************************************************
* 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
{
///
/// 商品评价表
///
[SugarTable("CoreCmsGoodsComment",TableDescription = "商品评价表")]
public partial class CoreCmsGoodsComment
{
///
/// 商品评价表
///
public CoreCmsGoodsComment()
{
}
///
/// 序列
///
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 父级评价ID
///
[Display(Name = "父级评价ID")]
[SugarColumn(ColumnDescription = "父级评价ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 commentId { get; set; }
///
/// 评价1-5星
///
[Display(Name = "评价1-5星")]
[SugarColumn(ColumnDescription = "评价1-5星")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 score { get; set; }
///
/// 评价用户ID
///
[Display(Name = "评价用户ID")]
[SugarColumn(ColumnDescription = "评价用户ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
///
/// 商品ID
///
[Display(Name = "商品ID")]
[SugarColumn(ColumnDescription = "商品ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 goodsId { get; set; }
///
/// 评价订单ID
///
[Display(Name = "评价订单ID")]
[SugarColumn(ColumnDescription = "评价订单ID")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String orderId { get; set; }
///
/// 货品规格序列号存储
///
[Display(Name = "货品规格序列号存储")]
[SugarColumn(ColumnDescription = "货品规格序列号存储", IsNullable = true)]
public System.String addon { get; set; }
///
/// 评价图片逗号分隔最多五张
///
[Display(Name = "评价图片逗号分隔最多五张")]
[SugarColumn(ColumnDescription = "评价图片逗号分隔最多五张", IsNullable = true)]
public System.String images { get; set; }
///
/// 评价内容
///
[Display(Name = "评价内容")]
[SugarColumn(ColumnDescription = "评价内容", IsNullable = true)]
public System.String contentBody { get; set; }
///
/// 商家回复
///
[Display(Name = "商家回复")]
[SugarColumn(ColumnDescription = "商家回复", IsNullable = true)]
public System.String sellerContent { get; set; }
///
/// 前台显示
///
[Display(Name = "前台显示")]
[SugarColumn(ColumnDescription = "前台显示")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isDisplay { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}