| 1 | using AgentForge.Models; |
| 2 | |
| 3 | namespace AgentForge.Data.Entities; |
| 4 | |
| 5 | public sealed class ForgeRepoEntity |
| 6 | { |
| 7 | public string Id { get; set; } = ""; |
| 8 | |
| 9 | public string Name { get; set; } = ""; |
| 10 | |
| 11 | public string? OrgId { get; set; } |
| 12 | |
| 13 | public ForgeOrgEntity? Org { get; set; } |
| 14 | |
| 15 | public string? GroupId { get; set; } |
| 16 | |
| 17 | public ForgeRepoGroupEntity? Group { get; set; } |
| 18 | |
| 19 | public string Description { get; set; } = ""; |
| 20 | |
| 21 | public DriveMode DriveMode { get; set; } = DriveMode.HumanDriven; |
| 22 | |
| 23 | public RepoVisibility Visibility { get; set; } = RepoVisibility.Private; |
| 24 | |
| 25 | public DateTimeOffset CreatedAt { get; set; } |
| 26 | |
| 27 | public ICollection<ForgeIssueEntity> Issues { get; set; } = []; |
| 28 | |
| 29 | public ICollection<ForgeMergeRequestEntity> MergeRequests { get; set; } = []; |
| 30 | } |
| 31 | |
View only · write via MCP/CIDE