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 286d291 commit 77748bcCopy full SHA for 77748bc
db/books.cds
@@ -26,6 +26,19 @@ entity Books : cuid, managed {
26
covers : Composition of many Attachments;
27
}
28
29
+annotate Attachments with @UI: {
30
+ LineItem : [
31
+ {Value: content},
32
+ {Value: fileName},
33
+ {Value: status},
34
+ {Value: createdAt},
35
+ {Value: createdBy},
36
+ {Value: note}
37
+ ]
38
+} {
39
+ modifiedAt @(odata.etag: null);
40
+}
41
+
42
entity Authors : cuid, managed {
43
@assert.format : '^\p{Lu}.*' // assert that name starts with a capital letter
44
name : String(111);
@@ -35,8 +48,6 @@ entity Authors : cuid, managed {
48
placeOfDeath : String;
49
books : Association to many Books
50
on books.author = $self;
-} {
- modifiedAt @(odata.etag: null);
51
52
53
// annotations for Data Privacy
0 commit comments