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.
1 parent ab7447c commit 8281877Copy full SHA for 8281877
db/books.cds
@@ -2,6 +2,7 @@ namespace my.bookshop;
2
3
using {
4
Currency,
5
+ sap,
6
managed,
7
cuid
8
} from '@sap/cds/common';
@@ -47,10 +48,8 @@ annotate Authors with
47
48
/**
49
* Hierarchically organized Code List for Genres
50
*/
-entity Genres {
51
+entity Genres : sap.common.CodeList {
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