MCPcopy Create free account
hub / github.com/GmpABR/NexusFlow / BoardInvite

Class BoardInvite

backend/Models/BoardInvite.cs:5–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace Backend.Models;
4
5public class BoardInvite
6{
7 public int Id { get; set; }
8
9 [Required]
10 public string Token { get; set; } = string.Empty;
11
12 [Required]
13 public string Role { get; set; } = "Member"; // "Member" | "Viewer"
14
15 public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
16 public DateTime? ExpiresAt { get; set; }
17 public bool IsActive { get; set; } = true;
18
19 // Foreign Keys
20 public int BoardId { get; set; }
21 public Board Board { get; set; } = null!;
22
23 public int CreatorId { get; set; }
24 public User Creator { get; set; } = null!;
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected