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