//------------------------------------------------------------------------------ // // This code was generated by a CodeSmith Template. // // DO NOT MODIFY contents of this file. Changes to this // file will be lost if the code is regenerated. // Author:Yubao Li // //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// 系统消息表 /// [Table("SysMessage")] public partial class SysMessage : Entity { public SysMessage() { this.TypeName= string.Empty; this.TypeId= string.Empty; this.FromId= string.Empty; this.ToId= string.Empty; this.FromName= string.Empty; this.ToName= string.Empty; this.FromStatus= 0; this.ToStatus= 0; this.Href= string.Empty; this.Title= string.Empty; this.Content= string.Empty; this.CreateTime= DateTime.Now; this.CreateId= string.Empty; } /// /// 分类名称 /// [Description("分类名称")] public string TypeName { get; set; } /// /// 分类ID /// [Description("分类ID")] public string TypeId { get; set; } /// /// 消息源头 /// [Description("消息源头")] public string FromId { get; set; } /// /// 到达 /// [Description("到达")] public string ToId { get; set; } /// /// 消息源头名称 /// [Description("消息源头名称")] public string FromName { get; set; } /// /// 消息到达名称 /// [Description("消息到达名称")] public string ToName { get; set; } /// /// -1:已删除;0:默认 /// [Description("-1:已删除;0:默认")] public int FromStatus { get; set; } /// /// -1:已删除;0:默认未读;1:已读 /// [Description("-1:已删除;0:默认未读;1:已读")] public int ToStatus { get; set; } /// /// 点击消息跳转的页面等 /// [Description("点击消息跳转的页面等")] public string Href { get; set; } /// /// 消息标题 /// [Description("消息标题")] public string Title { get; set; } /// /// 消息内容 /// [Description("消息内容")] public string Content { get; set; } /// /// 创建时间 /// [Description("创建时间")] public System.DateTime CreateTime { get; set; } /// /// 创建人ID /// [Description("创建人ID")] public string CreateId { get; set; } } }