add children as composition

This commit is contained in:
Dr. David A. Kunz
2025-06-26 13:36:03 +02:00
parent aeb8bca9ac
commit 34f75b52c8

View File

@@ -33,11 +33,12 @@ entity Genres : sap.common.CodeList {
/** Hierarchically organized entity for Contents */
entity Contents {
key ID : UUID;
name : String;
page : Integer;
parent : Association to Contents;
book : Association to Books;
key ID : UUID;
name : String;
page : Integer;
parent : Association to Contents;
children : Composition of many Contents on children.parent = $self;
book : Association to Books;
}
type Price : Decimal(9,2);