平安校园
 
 
 
 
 
 

34 lines
949 B

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