From 6317d26496d3b85271d06051375f3769bdc831be Mon Sep 17 00:00:00 2001 From: Veljko Tosic Date: Tue, 10 Feb 2026 13:36:43 +0100 Subject: [PATCH] Added navigation properties --- dotnet/AipsCore/Infrastructure/Persistence/User/User.cs | 6 ++++++ .../Infrastructure/Persistence/Whiteboard/Whiteboard.cs | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/dotnet/AipsCore/Infrastructure/Persistence/User/User.cs b/dotnet/AipsCore/Infrastructure/Persistence/User/User.cs index 1e5c9d0..3d6f3a2 100644 --- a/dotnet/AipsCore/Infrastructure/Persistence/User/User.cs +++ b/dotnet/AipsCore/Infrastructure/Persistence/User/User.cs @@ -19,4 +19,10 @@ public class User public DateTime CreatedAt { get; set; } public DateTime? DeletedAt { get; set; } + + public ICollection Shapes { get; set; } = new List(); + + public ICollection Whiteboards { get; set; } = new List(); + + public ICollection Memberships { get; set; } = new List(); } \ No newline at end of file diff --git a/dotnet/AipsCore/Infrastructure/Persistence/Whiteboard/Whiteboard.cs b/dotnet/AipsCore/Infrastructure/Persistence/Whiteboard/Whiteboard.cs index d44b0fd..f0f0f5b 100644 --- a/dotnet/AipsCore/Infrastructure/Persistence/Whiteboard/Whiteboard.cs +++ b/dotnet/AipsCore/Infrastructure/Persistence/Whiteboard/Whiteboard.cs @@ -32,4 +32,8 @@ public class Whiteboard public WhiteboardJoinPolicy JoinPolicy { get; set; } public WhiteboardState State { get; set; } + + public ICollection Shapes { get; set; } = new List(); + + public ICollection Memberships { get; set; } = new List(); } \ No newline at end of file