平安校园
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

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