添加项目文件。
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using MessageService.Domain.Enums;
|
||||
|
||||
namespace MessageService.WebApi.Application.Dtos
|
||||
{
|
||||
public class ConversationResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对方ID(群聊为群聊ID,单聊为单聊ID)
|
||||
/// </summary>
|
||||
public Guid TargetId { get; set; }
|
||||
public string TargetAvatar { get; set; }
|
||||
public string TargetName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后一条未读消息ID
|
||||
/// </summary>
|
||||
public long? LastReadSequenceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 未读消息数
|
||||
/// </summary>
|
||||
public int UnreadCount { get; set; }
|
||||
|
||||
public ChatType ChatType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 最后一条最新消息
|
||||
/// </summary>
|
||||
public string LastMessage { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user