changes
This commit is contained in:
16
DTOs/MNode.cs
Normal file
16
DTOs/MNode.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace public_valetax.DTOs
|
||||
{
|
||||
public class MNode
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public long Id { get; set; }
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("children")]
|
||||
public ICollection<MNode> Children { get; set; } = [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user