Testing new compiler features

This commit is contained in:
Daniel
2020-04-30 17:00:54 +02:00
parent e3670b5337
commit 8a55c2e68b
3 changed files with 11 additions and 13 deletions

View File

@@ -4,13 +4,10 @@ namespace sap.capire.bookshop;
entity Orders : cuid, managed {
OrderNo : String @title:'Order Number'; //> readable key
Items : Composition of many OrderItems on Items.parent = $self;
Items : Composition of many {
key pos : Integer;
book : Association to Books;
amount : Integer;
};
currency : Currency;
}
entity OrderItems : cuid {
parent : Association to Orders;
book : Association to Books;
amount : Integer;
netAmount : Decimal(9,2);
}