/*********************************************************************** * 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("CoreCmsMessage",TableDescription = "消息发送表")] public partial class CoreCmsMessage { /// /// 消息发送表 /// public CoreCmsMessage() { } /// /// 序列 /// [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 userId { get; set; } /// /// 消息编码 /// [Display(Name = "消息编码")] [SugarColumn(ColumnDescription = "消息编码")] [Required(ErrorMessage = "请输入{0}")] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String code { get; set; } /// /// 参数 /// [Display(Name = "参数")] [SugarColumn(ColumnDescription = "参数", IsNullable = true)] public System.String parameters { get; set; } /// /// 内容 /// [Display(Name = "内容")] [SugarColumn(ColumnDescription = "内容", IsNullable = true)] public System.String contentBody { get; set; } /// /// 是否查看 /// [Display(Name = "是否查看")] [SugarColumn(ColumnDescription = "是否查看")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean status { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] [SugarColumn(ColumnDescription = "创建时间")] [Required(ErrorMessage = "请输入{0}")] public System.DateTime createTime { get; set; } /// /// 更新时间 /// [Display(Name = "更新时间")] [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)] public System.DateTime? updateTime { get; set; } } }