namespace IM.Commons.IntegrationEvents { public class GroupMemberJoinedEvent { public Guid Id { get; private set; } public Guid UserId { get; private set; } public Guid GroupId { get; private set; } public string GroupNickName { get; private set; } public string? Avatar { get; private set; } public string Role { get; private set; } public GroupMemberJoinedEvent(Guid id, Guid userId, Guid groupId, string groupNickName, string? avatar, string role) { Id = id; UserId = userId; GroupId = groupId; GroupNickName = groupNickName; Avatar = avatar; Role = role; } } }