We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e77f4f4 + bde2090 commit ab7447cCopy full SHA for ab7447c
db/books.cds
@@ -2,7 +2,6 @@ namespace my.bookshop;
2
3
using {
4
Currency,
5
- sap,
6
managed,
7
cuid
8
} from '@sap/cds/common';
@@ -48,8 +47,10 @@ annotate Authors with
48
47
/**
49
* Hierarchically organized Code List for Genres
50
*/
51
-entity Genres : sap.common.CodeList {
+entity Genres {
52
key ID : Integer;
+ name : localized String(255);
53
+ descr : localized String(1000);
54
parent : Association to Genres;
55
children : Composition of many Genres
56
on children.parent = $self;
0 commit comments