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 e2ca93e commit 01f299dCopy full SHA for 01f299d
db/orders.cds
@@ -20,6 +20,8 @@ entity Orders : cuid, managed {
20
entity OrderItems : cuid {
21
parent : Association to Orders;
22
book : Association to Books @mandatory @assert.target;
23
+ @mandatory
24
+ @assert.range: [(0), _]
25
quantity : Integer;
26
amount : Decimal(9, 2);
27
}
0 commit comments