平安校园
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.
 
 
 
 
 
 

35 lines
967 B

  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. }