Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras-Csanyi committed May 11, 2024
1 parent 47f6390 commit e424eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BusinessLogic.Contracts/DocumentResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class DocumentResult
public string? Description { get; set; }
public Uri? Uri { get; set; }

public ICollection<DocumentStructureNodeResult> StructureNodes { get; set; } = new List<DocumentStructureNodeResult>();
public DocumentStructureNodeResult StructureNode { get; set; }

Check warning on line 10 in BusinessLogic.Contracts/DocumentResult.cs

View workflow job for this annotation

GitHub Actions / EG.Commons

Non-nullable property 'StructureNode' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
}
4 changes: 3 additions & 1 deletion BusinessLogic.Contracts/DocumentStructureNodeResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ namespace EncyclopediaGalactica.BusinessLogic.Contracts;
public class DocumentStructureNodeResult
{
public long Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public long DocumentId { get; set; }
public long ParentId { get; set; }
public ICollection<DocumentStructureNodeResult> StructureNodeResults { get; set; } = new List<DocumentStructureNodeResult>();
public ICollection<DocumentStructureNodeResult> StructureNodes { get; set; } = new List<DocumentStructureNodeResult>();
}

0 comments on commit e424eed

Please sign in to comment.