Forge
csharp3407750f
1using AgentForge.Models;
2
3namespace AgentForge.Data.Entities;
4
5public sealed class ForgeRepoGroupEntity
6{
7 public string Id { get; set; } = "";
8
9 public string OrgId { get; set; } = "";
10
11 public ForgeOrgEntity? Org { get; set; }
12
13 public string Slug { get; set; } = "";
14
15 public string DisplayName { get; set; } = "";
16
17 public string Description { get; set; } = "";
18
19 public RepoVisibility? DefaultVisibility { get; set; }
20
21 public string? ParentGroupId { get; set; }
22
23 /// <summary>Root = empty string; mirrors <see cref="ParentGroupId"/> for WitDB uniqueness without partial indexes.</summary>
24 public string ParentGroupKey { get; set; } = "";
25
26 public ForgeRepoGroupEntity? Parent { get; set; }
27
28 public ICollection<ForgeRepoGroupEntity> Children { get; set; } = [];
29
30 public DateTimeOffset CreatedAt { get; set; }
31
32 public ICollection<ForgeRepoEntity> Repos { get; set; } = [];
33}
34
View only · write via MCP/CIDE