Files
tnb.server/message/Tnb.Message.Entitys/Entity/MessageEntity.cs
2023-03-13 15:00:34 +08:00

68 lines
1.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.Common.Contracts;
using SqlSugar;
namespace JNPF.Message.Entitys;
/// <summary>
/// 消息实例
/// 版 本V3.2
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2021-06-01.
/// </summary>
[SugarTable("BASE_MESSAGE")]
public class MessageEntity : CLDEntityBase
{
/// <summary>
/// 类别1-通知公告2-系统消息、3-私信消息.
/// </summary>
[SugarColumn(ColumnName = "F_TYPE")]
public int? Type { get; set; }
/// <summary>
/// 标题.
/// </summary>
[SugarColumn(ColumnName = "F_TITLE")]
public string Title { get; set; } = string.Empty;
/// <summary>
/// 正文.
/// </summary>
[SugarColumn(ColumnName = "F_BODYTEXT")]
public string BodyText { get; set; }
/// <summary>
/// 优先.
/// </summary>
[SugarColumn(ColumnName = "F_PRIORITYLEVEL")]
public int? PriorityLevel { get; set; }
/// <summary>
/// 收件用户.
/// </summary>
[SugarColumn(ColumnName = "F_TOUSERIDS")]
public string ToUserIds { get; set; }
/// <summary>
/// 是否阅读.
/// </summary>
[SugarColumn(ColumnName = "F_ISREAD")]
public int? IsRead { get; set; }
/// <summary>
/// 描述.
/// </summary>
[SugarColumn(ColumnName = "F_DESCRIPTION")]
public string Description { get; set; }
/// <summary>
/// 排序码.
/// </summary>
[SugarColumn(ColumnName = "F_SORTCODE")]
public long? SortCode { get; set; }
/// <summary>
/// 附件.
/// </summary>
[SugarColumn(ColumnName = "F_FILES")]
public string Files { get; set; }
}