using OASystem.Domain.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Entities.System { /// /// 系统消息 表 /// [SugarTable("Sys_Message")] public class Sys_Message :EntityBase { /// /// 类型 /// 0 /// 1 公告消息 /// 2 团组流程管控消息 /// 3 团组业务操作消息 /// 4 费用审核消息 /// 5 签证进度更新消息 /// 6 任务进度更新消息 /// [SugarColumn(IsNullable = true,ColumnDataType = "int")] public MessgeTypeEnum Type { get; set; } /// /// 发布者用户Id /// [SugarColumn(IsNullable = true,ColumnDataType = "int")] public int IssuerId { get; set; } /// /// 团组Id,可为0 /// [SugarColumn(IsNullable = true,ColumnDataType = "int")] public int DiId { 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; } } }