namespace ZR.Model.System { /// /// 通知公告表 /// /// @author zr /// @date 2021-12-15 /// [SugarTable("sys_notice", "通知公告表")] [Tenant(0)] public class SysNotice : SysBase { /// /// 公告ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "notice_id")] public int NoticeId { get; set; } /// /// 公告标题 /// [SugarColumn(ColumnName = "notice_title", ExtendedAttribute = ProteryConstant.NOTNULL)] public string NoticeTitle { get; set; } /// /// 公告类型 (1通知 2公告) /// [SugarColumn(ColumnName = "notice_type", ExtendedAttribute = ProteryConstant.NOTNULL)] public int NoticeType { get; set; } /// /// 公告内容 /// [SugarColumn(ColumnName = "notice_content", ColumnDataType = StaticConfig.CodeFirst_BigString)] public string NoticeContent { get; set; } /// /// 公告状态 (0正常 1关闭) /// [SugarColumn(DefaultValue = "0", ExtendedAttribute = ProteryConstant.NOTNULL)] public int Status { get; set; } /// /// 发布人 /// public string Publisher { get; set; } /// /// 开始时间 /// public DateTime? BeginTime { get; set; } /// /// 结束时间 /// public DateTime? EndTime { get; set; } /// /// 弹出提示 /// public int Popup { get; set; } } }