namespace Heimdall.Domain.Entities; /// /// Join entity for the many-to-many relationship between users and groups. /// public class UserGroup { public Guid UserId { get; private set; } public Guid GroupId { get; private set; } // Navigation public AppUser User { get; private set; } = null!; public Group Group { get; private set; } = null!; private UserGroup() { } // EF Core public UserGroup(Guid userId, Guid groupId) { UserId = userId; GroupId = groupId; } }