little modifications to users
This commit is contained in:
@ -52,7 +52,7 @@ namespace UserService.DatabaseLayer.DataModels
|
||||
public Node? Parent { get; set; } //Parent
|
||||
public int? ParentId { get; set; }
|
||||
|
||||
public override string ToString() => $"[{GetType().Name}] {Id:D5} {CommonName}";
|
||||
public override string ToString() => CommonName;
|
||||
|
||||
public int Level => Parent?.Level + 1 ?? 0;
|
||||
|
||||
|
Reference in New Issue
Block a user