Skip to content

Commit 8281877

Browse files
committed
undo books.cds
1 parent ab7447c commit 8281877

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

db/books.cds

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ namespace my.bookshop;
22

33
using {
44
Currency,
5+
sap,
56
managed,
67
cuid
78
} from '@sap/cds/common';
@@ -47,10 +48,8 @@ annotate Authors with
4748
/**
4849
* Hierarchically organized Code List for Genres
4950
*/
50-
entity Genres {
51+
entity Genres : sap.common.CodeList {
5152
key ID : Integer;
52-
name : localized String(255);
53-
descr : localized String(1000);
5453
parent : Association to Genres;
5554
children : Composition of many Genres
5655
on children.parent = $self;

0 commit comments

Comments
 (0)