//
namespace SafeCampus.System;
///
/// 站内信
///
[SugarTable("sys_message", TableDescription = "站内信")]
[Tenant(SqlSugarConst.DB_DEFAULT)]
public class SysMessage : BaseEntity
{
///
/// 分类
///
[SugarColumn(ColumnName = "Category", ColumnDescription = "分类", Length = 200)]
public virtual string Category { get; set; }
///
/// 主题
///
[SugarColumn(ColumnName = "Subject", ColumnDescription = "主题")]
public virtual string Subject { get; set; }
///
/// 正文
///
[SugarColumn(ColumnName = "Content", ColumnDescription = "正文", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public virtual string Content { get; set; }
///
/// 是否已读
///
[SugarColumn(IsIgnore = true)]
public bool Read { get; set; } = true;
}