/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 用户积分记录表
///
[SugarTable("CoreCmsUserPointLog",TableDescription = "用户积分记录表")]
public partial class CoreCmsUserPointLog
{
///
/// 用户积分记录表
///
public CoreCmsUserPointLog()
{
}
///
/// ID
///
[Display(Name = "ID")]
[SugarColumn(ColumnDescription = "ID", 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 userId { get; set; }
///
/// 类型
///
[Display(Name = "类型")]
[SugarColumn(ColumnDescription = "类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 type { get; set; }
///
/// 积分数量
///
[Display(Name = "积分数量")]
[SugarColumn(ColumnDescription = "积分数量")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 num { get; set; }
///
/// 积分余额
///
[Display(Name = "积分余额")]
[SugarColumn(ColumnDescription = "积分余额")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 balance { get; set; }
///
/// 备注
///
[Display(Name = "备注")]
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String remarks { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}