From 1e0ac9609c8139cc83a30ddead0a6ee632d8b238 Mon Sep 17 00:00:00 2001 From: Daniel Hutzel Date: Mon, 6 Nov 2023 04:58:43 +0100 Subject: [PATCH] . --- bookshop/db/schema.cds | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/bookshop/db/schema.cds b/bookshop/db/schema.cds index f2fb626f..930f19eb 100644 --- a/bookshop/db/schema.cds +++ b/bookshop/db/schema.cds @@ -2,25 +2,25 @@ using { Currency, managed, sap } from '@sap/cds/common'; namespace sap.capire.bookshop; entity Books : managed { - key ID : Integer; - title : localized String(111) @mandatory ; - descr : localized String(1111); - author : Association to Authors @mandatory; - genre : Association to Genres; - stock : Integer; - price : Decimal; + key ID : Integer; + title : localized String(111) @mandatory; + descr : localized String(1111); + author : Association to Authors @mandatory; + genre : Association to Genres; + stock : Integer; + price : Decimal; currency : Currency; - image : LargeBinary @Core.MediaType : 'image/png'; + image : LargeBinary @Core.MediaType: 'image/png'; } entity Authors : managed { - key ID : Integer; - name : String(111) @mandatory; + key ID : Integer; + name : String(111) @mandatory; dateOfBirth : Date; dateOfDeath : Date; placeOfBirth : String; placeOfDeath : String; - books : Association to many Books on books.author = $self; + books : Association to many Books on books.author = $self; } /** Hierarchically organized Code List for Genres */