实现消息记录功能,包括增删改查和标记已读,优化消息列表展示和未读消息计数
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 22s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s

This commit is contained in:
孙诚
2025-12-29 14:18:09 +08:00
parent e613c88770
commit 13bf23a48c
12 changed files with 664 additions and 35 deletions

22
Entity/MessageRecord.cs Normal file
View File

@@ -0,0 +1,22 @@
namespace Entity;
/// <summary>
/// 消息实体
/// </summary>
public class MessageRecord : BaseEntity
{
/// <summary>
/// 消息标题
/// </summary>
public string Title { get; set; } = string.Empty;
/// <summary>
/// 消息内容
/// </summary>
public string Content { get; set; } = string.Empty;
/// <summary>
/// 是否已读
/// </summary>
public bool IsRead { get; set; } = false;
}