Infrastructure for whiteboard membership entity

This commit is contained in:
Veljko Tosic
2026-02-09 20:43:26 +01:00
parent 86782715f4
commit d1d39b8fa0
4 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System.ComponentModel.DataAnnotations;
namespace AipsCore.Infrastructure.Persistence.WhiteboardMembership;
public class WhiteboardMembership
{
[Key]
public Guid Id { get; set; }
public Guid WhiteboardId { get; set; }
public Whiteboard.Whiteboard? Whiteboard { get; set; } = null!;
public Guid UserId { get; set; }
public User.User? User { get; set; } = null!;
public bool IsBanned { get; set; }
public bool EditingEnabled { get; set; }
public bool CanJoin { get; set; }
public DateTime LastInteractedAt { get; set; }
}