SysNotice.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using SqlSugar;
  2. namespace ZR.Model.System
  3. {
  4. /// <summary>
  5. /// 通知公告表,数据实体对象
  6. ///
  7. /// @author zr
  8. /// @date 2021-12-15
  9. /// </summary>
  10. [SugarTable("sys_notice")]
  11. [Tenant(0)]
  12. public class SysNotice : SysBase
  13. {
  14. /// <summary>
  15. /// 描述 : 公告ID
  16. /// 空值 : true
  17. /// </summary>
  18. [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "notice_id")]
  19. public int NoticeId { get; set; }
  20. /// <summary>
  21. /// 描述 : 公告标题
  22. /// 空值 : true
  23. /// </summary>
  24. [SugarColumn(ColumnName = "notice_title")]
  25. public string NoticeTitle { get; set; }
  26. /// <summary>
  27. /// 描述 : 公告类型 (1通知 2公告)
  28. /// 空值 : true
  29. /// </summary>
  30. [SugarColumn(ColumnName = "notice_type")]
  31. public string NoticeType { get; set; }
  32. /// <summary>
  33. /// 描述 : 公告内容
  34. /// 空值 : true
  35. /// </summary>
  36. [SugarColumn(ColumnName = "notice_content")]
  37. public string NoticeContent { get; set; }
  38. /// <summary>
  39. /// 描述 : 公告状态 (0正常 1关闭)
  40. /// 空值 : true
  41. /// </summary>
  42. public string Status { get; set; }
  43. }
  44. }