平安校园
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

SysMessage.cs 962 B

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