You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
6 months ago
|
// 大名科技(天津)有限公司版权所有 电话:18020030720 QQ:515096995
|
||
|
//
|
||
|
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
|
||
|
|
||
|
namespace Admin.NET.Core;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 系统通知公告用户表
|
||
|
/// </summary>
|
||
|
[SugarTable(null, "系统通知公告用户表")]
|
||
|
[SysTable]
|
||
|
public class SysNoticeUser : EntityBaseId
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 通知公告Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "通知公告Id")]
|
||
|
public long NoticeId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知公告
|
||
|
/// </summary>
|
||
|
[Navigate(NavigateType.OneToOne, nameof(NoticeId))]
|
||
|
public SysNotice SysNotice { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "用户Id")]
|
||
|
public long UserId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 阅读时间
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "阅读时间")]
|
||
|
public DateTime? ReadTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 状态(0未读 1已读)
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "状态(0未读 1已读)")]
|
||
|
public NoticeUserStatusEnum ReadStatus { get; set; } = NoticeUserStatusEnum.UNREAD;
|
||
|
}
|