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