Skip to content

Commit

Permalink
undo books.cds
Browse files Browse the repository at this point in the history
  • Loading branch information
agoerler committed Dec 19, 2024
1 parent ab7447c commit 8281877
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions db/books.cds
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace my.bookshop;

using {
Currency,
sap,
managed,
cuid
} from '@sap/cds/common';
Expand Down Expand Up @@ -47,10 +48,8 @@ annotate Authors with
/**
* Hierarchically organized Code List for Genres
*/
entity Genres {
entity Genres : sap.common.CodeList {
key ID : Integer;
name : localized String(255);
descr : localized String(1000);
parent : Association to Genres;
children : Composition of many Genres
on children.parent = $self;
Expand Down

0 comments on commit 8281877

Please sign in to comment.