平安校园
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SysMessage.cs 967 B

4 个月前
4 个月前
4 个月前
4 个月前
12345678910111213141516171819202122232425262728293031323334
  1. namespace SafeCampus.System;
  2. /// <summary>
  3. /// 站内信
  4. ///</summary>
  5. [SugarTable("sys_message", TableDescription = "站内信")]
  6. [Tenant(SqlSugarConst.DB_DEFAULT)]
  7. [IgnoreInitTable]
  8. public class SysMessage : BaseEntity
  9. {
  10. /// <summary>
  11. /// 分类
  12. ///</summary>
  13. [SugarColumn(ColumnName = "Category", ColumnDescription = "分类", Length = 200)]
  14. public virtual string Category { get; set; }
  15. /// <summary>
  16. /// 主题
  17. ///</summary>
  18. [SugarColumn(ColumnName = "Subject", ColumnDescription = "主题")]
  19. public virtual string Subject { get; set; }
  20. /// <summary>
  21. /// 正文
  22. ///</summary>
  23. [SugarColumn(ColumnName = "Content", ColumnDescription = "正文", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  24. public virtual string Content { get; set; }
  25. /// <summary>
  26. /// 是否已读
  27. /// </summary>
  28. [SugarColumn(IsIgnore = true)]
  29. public bool Read { get; set; } = true;
  30. }