using SqlSugar; using System; using System.ComponentModel; namespace Magic.Core.Entity; /// /// 通知公告用户表 /// [SugarTable("sys_notice_user")] [Description("通知公告用户表")] public class SysNoticeUser { /// /// 通知公告Id /// [SugarColumn(ColumnDescription = "通知公告Id")] public long NoticeId { get; set; } /// /// 用户Id /// [SugarColumn(ColumnDescription = "用户Id")] public long UserId { get; set; } /// /// 阅读时间 /// [SugarColumn(ColumnDescription = "阅读时间", IsNullable = true)] public DateTime ReadTime { get; set; } /// /// 状态(字典 0未读 1已读) /// [SugarColumn(ColumnDescription = "状态(字典 0未读 1已读)")] public NoticeUserStatus ReadStatus { get; set; } }