Moved from int id to guid
This commit is contained in:
@ -7,12 +7,12 @@ namespace UserService.Infrastructure.DataModels
|
||||
{
|
||||
public abstract class Node : ICloneable
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
[Required] public string CommonName { get; set; } = null!;
|
||||
public string? Description { get; set; }
|
||||
public ICollection<Node> Children { get; set; } = new List<Node>();
|
||||
public Node? Parent { get; set; } //Parent
|
||||
public int? ParentId { get; set; }
|
||||
public Guid? ParentId { get; set; }
|
||||
|
||||
public override string ToString() => CommonName;
|
||||
|
||||
|
Reference in New Issue
Block a user