Files
IM_NEW/GroupService.WebApi/Application/Dtos/GroupInvitationResponse.cs
T
2026-05-09 17:06:30 +08:00

38 lines
1.2 KiB
C#

using GroupService.Domain.Enums;
namespace GroupService.WebApi.Application.Dtos
{
public class GroupInvitationResponse
{
public Guid Id { get; private set; }
/// <summary>
/// 群聊编号
/// </summary>
public Guid GroupId { get; private set; }
public string GroupAvatar { get; private set; }
public string GroupName { get; private set; }
/// <summary>
/// 被邀请用户
/// </summary>
public Guid UserId { get; private set; }
public string? UserAvatar { get; private set; }
public string UserNickName { get; private set; }
/// <summary>
/// 邀请用户
/// </summary>
public Guid OperatorId { get; private set; }
public string OperatorName { get; private set; }
public string? OperatorAvatar { get; private set; }
/// <summary>
/// 当前状态(0:待被邀请人同意
/// 1:被邀请人已同意)
/// </summary>
public GroupInvitationState State { get; private set; }
public DateTimeOffset Created { get; private set; }
public DateTimeOffset Updated { get; private set; }
}
}