fix
This commit is contained in:
22
Application/Dto/Message/MessageDto.cs
Normal file
22
Application/Dto/Message/MessageDto.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Application.Dto.Message;
|
||||
|
||||
/// <summary>
|
||||
/// 消息记录响应
|
||||
/// </summary>
|
||||
public record MessageRecordResponse
|
||||
{
|
||||
public long Id { get; init; }
|
||||
public string Title { get; init; } = string.Empty;
|
||||
public string Content { get; init; } = string.Empty;
|
||||
public bool IsRead { get; init; }
|
||||
public DateTime CreateTime { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 消息分页结果
|
||||
/// </summary>
|
||||
public record MessagePagedResult
|
||||
{
|
||||
public MessageRecordResponse[] Data { get; init; } = [];
|
||||
public int Total { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user