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