Работа с порядком правил
This commit is contained in:
@@ -15,5 +15,15 @@ public class Rule : IEntity
|
||||
|
||||
public Entity Entity { get; set; } = null!;
|
||||
|
||||
[Column(Order = 2)]
|
||||
public int Order { get; set; }
|
||||
|
||||
[Column(Order = 3)]
|
||||
public int? ParentId { get; set; } = null;
|
||||
|
||||
public Rule? Parent { get; set; } = null;
|
||||
|
||||
public ICollection<Rule> Children { get; set; } = [];
|
||||
|
||||
public string[] Breadcrumbs { get; set; } = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user