object page first version

This commit is contained in:
D070615
2025-06-18 15:41:46 +02:00
parent 044f513e16
commit aeb8bca9ac
6 changed files with 179 additions and 5 deletions

View File

@@ -11,6 +11,7 @@ entity Books : managed {
price : Price;
currency : Currency;
image : LargeBinary @Core.MediaType: 'image/png';
contents : Composition of many Contents on contents.book = $self;
}
entity Authors : managed {
@@ -30,6 +31,15 @@ entity Genres : sap.common.CodeList {
children : Composition of many Genres on children.parent = $self;
}
/** Hierarchically organized entity for Contents */
entity Contents {
key ID : UUID;
name : String;
page : Integer;
parent : Association to Contents;
book : Association to Books;
}
type Price : Decimal(9,2);