using System; using SqlSugar; using System.ComponentModel; using Myshipping.Core.Entity; namespace Myshipping.Core.Entity { /// /// 消息 /// [SugarTable("djy_message")] [Description("消息")] public class DjyMessage : PrimaryKeyEntity { /// /// 前一条消息 /// public long? PreviousId { get; set; } /// /// 关联ID /// public long RelativeId { get; set; } /// /// 关联代码 /// public string RelativeCode { get; set; } /// /// 消息类型 /// public string TypeCode { get; set; } /// /// 消息类型名称 /// public string TypeName { get; set; } /// /// 系统模块 /// public string Module { get; set; } /// /// 消息内容 /// public string Content { get; set; } /// /// 已读标志 /// public bool IsRead { get; set; } /// /// 读取时间 /// public DateTime? ReadTime { get; set; } /// /// 读取人 /// public string ReadUser { get; set; } /// /// 处理状态 /// public string ProcStatus { get; set; } /// /// 处理结果 /// public string ProcResult { get; set; } /// /// 处理时间 /// public DateTime? ProcTime { get; set; } /// /// 处理人 /// public string ProcUser { get; set; } /// /// 附加数据 /// public string ExtData { get; set; } /// /// 创建时间 /// public DateTime CreatedTime { get; set; } /// /// 修改时间 /// public DateTime? UpdatedTime { get; set; } /// /// 发送人ID /// public long? FromId { get; set; } /// /// 发送人 /// public string FromName { get; set; } /// /// 接收人ID /// public long? ToId { get; set; } /// /// 接收人 /// public string ToName { get; set; } /// /// 删除标志 /// public bool IsDeleted { get; set; } /// /// 租户ID /// public long TenantId { get; set; } /// /// 租户名称 /// public string TenantName { get; set; } } }