default
This commit is contained in:
@@ -35,8 +35,8 @@ entity Authors : managed {
|
||||
|
||||
entity Orders : cuid, managed {
|
||||
OrderNo : String @title : 'Order Number'; //> readable key
|
||||
status : Status;
|
||||
Items : Composition of many OrderItems
|
||||
status : Status default 'processing';
|
||||
Items : Composition of many OrderItems
|
||||
on Items.parent = $self;
|
||||
total : Decimal(9, 2)@readonly;
|
||||
currency : Currency;
|
||||
|
||||
Reference in New Issue
Block a user