add children as composition
This commit is contained in:
@@ -37,6 +37,7 @@ entity Contents {
|
||||
name : String;
|
||||
page : Integer;
|
||||
parent : Association to Contents;
|
||||
children : Composition of many Contents on children.parent = $self;
|
||||
book : Association to Books;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user