31 lines
1.3 KiB
C#
31 lines
1.3 KiB
C#
namespace IM.Commons.IntegrationEvents
|
|
{
|
|
public class GroupInvitationCreateEvent : BaseEvent
|
|
{
|
|
public Guid InvitationId { get; private set; }
|
|
public Guid UserId { get; private set; }
|
|
public string UserNickName { get; private set; }
|
|
public string? UserAvatar { get; private set; }
|
|
public Guid GroupId { get; private set; }
|
|
public string GroupName { get; private set; }
|
|
public string GroupAvatar { get; private set; }
|
|
public Guid OperatorId { get; private set; }
|
|
public string OperatorName { get; private set; }
|
|
public string OperatorAvatar { get; private set; }
|
|
|
|
public GroupInvitationCreateEvent(Guid invitationId, Guid userId, string userNickName, string? userAvatar, Guid groupId, string groupName, string groupAvatar, Guid operatorId, string operatorName, string operatorAvatar)
|
|
{
|
|
InvitationId = invitationId;
|
|
UserId = userId;
|
|
UserNickName = userNickName;
|
|
UserAvatar = userAvatar;
|
|
GroupId = groupId;
|
|
GroupName = groupName;
|
|
GroupAvatar = groupAvatar;
|
|
OperatorId = operatorId;
|
|
OperatorName = operatorName;
|
|
OperatorAvatar = operatorAvatar;
|
|
}
|
|
}
|
|
}
|