Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feature-tree-table
Browse files Browse the repository at this point in the history
  • Loading branch information
agoerler committed Dec 19, 2024
2 parents e77f4f4 + bde2090 commit ab7447c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions db/books.cds
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ namespace my.bookshop;

using {
Currency,
sap,
managed,
cuid
} from '@sap/cds/common';
Expand Down Expand Up @@ -48,8 +47,10 @@ annotate Authors with
/**
* Hierarchically organized Code List for Genres
*/
entity Genres : sap.common.CodeList {
entity Genres {
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 ab7447c

Please sign in to comment.