Introduced bookstore composite app

This commit is contained in:
Daniel
2021-10-19 15:27:56 +02:00
committed by Daniel Hutzel
parent 366b0f8f9a
commit 680a6ae68f
19 changed files with 97 additions and 61 deletions

8
bookstore/db/schema.cds Normal file
View File

@@ -0,0 +1,8 @@
using { sap.capire.bookshop } from '@capire/bookshop';
// Forward-declare calculated fields to be filled in database-specific ways
// TODO find a better way to have 'default' fields that still can be overwritten.
extend bookshop.Authors with {
virtual age: Integer;
virtual lifetime: String;
}