using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Entities.System { /// /// 系统消息 表 /// public class Sys_Message :EntityBase { /// /// 类型 /// 0 用户登录消息 /// 1 系统消息 /// 2 业务消息 /// [SugarColumn(IsNullable = true,ColumnDataType = "int")] public int Type { get; set; } /// /// 发布者用户Id /// [SugarColumn(IsNullable = true,ColumnDataType = "int")] public int IssuerId { get; set; } /// /// 消息标题 /// [SugarColumn(IsNullable = true,ColumnDataType = "varchar(100)")] public string Title { get; set; } /// /// 消息内容 /// [SugarColumn(IsNullable = true,ColumnDataType = "varchar(500)")] public string Content { get; set; } /// /// 发布时间 /// [SugarColumn(IsNullable = true , ColumnDataType = "datetime")] public DateTime ReleaseTime { get; set; } } }