更新项目配置,新增设备同步模块,优化WebSocket和Swagger配置,增强SCADA系统的免登录接口,支持数据字典项和登录日志的免登录查询与记录。调整Java编译设置,确保更好的开发体验。
This commit is contained in:
41
yy-admin-master/YY.Admin.Core/Entity/SysNoticeUser.cs
Normal file
41
yy-admin-master/YY.Admin.Core/Entity/SysNoticeUser.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
|
||||
|
||||
namespace YY.Admin.Core;
|
||||
|
||||
/// <summary>
|
||||
/// 系统通知公告用户表
|
||||
/// </summary>
|
||||
[SugarTable("sys_notice_user", "系统通知公告用户表")]
|
||||
[SysTable]
|
||||
public partial 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;
|
||||
}
|
||||
Reference in New Issue
Block a user