平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
962 B

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 站内信
  5. ///</summary>
  6. [SugarTable("sys_message", TableDescription = "站内信")]
  7. [Tenant(SqlSugarConst.DB_DEFAULT)]
  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. }