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 string GroupName { get; private set; } public string? GroupAvatar { get; private set; } public GroupMemberJoinedEvent(Guid id, Guid userId, Guid groupId, string groupNickName, string? avatar, string role, string groupName, string? groupAvatar) { Id = id; UserId = userId; GroupId = groupId; GroupNickName = groupNickName; Avatar = avatar; Role = role; GroupName = groupName; GroupAvatar = groupAvatar; } } }